Skip to content

docs(hivm): bound-guided HIVM rewrite design doc set#1

Merged
laksjdf merged 1 commit into
integrate/pr20-pr17from
docs/hivm-bound-rewrite
Jun 14, 2026
Merged

docs(hivm): bound-guided HIVM rewrite design doc set#1
laksjdf merged 1 commit into
integrate/pr20-pr17from
docs/hivm-bound-rewrite

Conversation

@laksjdf

@laksjdf laksjdf commented Jun 14, 2026

Copy link
Copy Markdown
Owner

@

内容

把「基于 bound 分析对 HIVM 自动改写」特性的三份文档汇总进 docs/hivm_bound_rewrite/,附 README 索引:

文档 作用
hivm_optimization_playbook.md 5 类性能问题 / 21 条手段逐条落到 HIVM 层(检测信号 → HIVM 变换 → before/after IR → 对模型量影响 → 落地合法性),含手段 ↔ 五轴 gap ↔ HivmOpsEditor 原语映射
hivm_bound_vs_diagnosis_status.md 解析 T_bound(Python perfbound)vs 瓶颈诊断(C++ HIVMBottleneckDiagnoser)的能力边界、重复与断裂,带 file:line 证据
feature_bound_guided_hivm_rewriter.md 特性设计 / 开发计划:把优化循环建模成梯度下降(loss=T_sched、floor=T_bound、梯度=gap 归因、更新=HivmOpsEditor 改写),含端到端验证循环、模块接口、M0–M5 里程碑与验收标准

说明

  • 纯文档变更(docs-only,+1073 行,无代码改动)。
  • doc-to-doc 引用已改为同目录相对路径。
  • base 选 integrate/pr20-pr17:文档引用的 HivmOpsEditor / HIVMBottleneckDiagnoser(PR#20/【WIP】add diagnosis shane-kshongmo/vTriton#17)只在该分支存在,故以它为基线保证 diff 仅含文档且引用的代码均在场。如需改 base 为 master 可告知。

🤖 Generated with Claude Code
@

docs(hivm): bound-guided HIVM rewrite design doc set

Gather the three HIVM bound/optimization docs into docs/hivm_bound_rewrite/
with a README index:

- hivm_optimization_playbook.md: 5 problem classes / 21 techniques mapped to
  HIVM rewrites (signal -> transform -> before/after IR -> model impact),
  with technique <-> 5-axis gap <-> HivmOpsEditor primitive mapping.
- hivm_bound_vs_diagnosis_status.md: status of analytical T_bound (Python
  perfbound) vs bottleneck diagnosis (C++ HIVMBottleneckDiagnoser), with
  file:line evidence of overlap and disconnect.
- feature_bound_guided_hivm_rewriter.md: feature design / dev plan framing the
  optimization loop as gradient descent (loss=T_sched, floor=T_bound,
  gradient=gap attribution, update=HivmOpsEditor rewrite), end-to-end
  verification loop, module interfaces, M0-M5 milestones.

Docs-only change. Cross-references updated to same-folder relative paths.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@
@laksjdf laksjdf merged commit 1429ade into integrate/pr20-pr17 Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant