Repository navigation
Perf/fold v2 throughput - #12
Merged
Merged
Conversation
…in batch=32 2999.9→227.7ms(-92%),翻倍比 3.74→1.95 线性,batch=1 亦 -16%
…定分组),linear 三点 -33/-48/-47%,mha fwd 4.59→3.63,b32 train 累计 2999.9→173(-94%);修共享索引误用全局 k 的非确定越界(tile 内局部 k),rapt_offload 抓出、18/18 绿
EthanPeng-2048
added a commit
that referenced
this pull request
Sep 30, 2026
…调 23→21 AGENTS §5 铁律 #12(L2+ 禁用 Matrix + 宿主桥 + 审计口径)、§3 审计表登记 doc_inventory 第 [4] 节、 §12 新增 M4 条;17 号总纲状态头/§3 11 项/§4.3 I/O 动词两档/§4.6 审计落点/§5 M4 行/§8 U5 已裁; doc 12 直调 21、其余 28、§2.2 补 from_matrix/to_matrix 去向并修正 P-1 遗留的 compute_precision_engine 陈旧行;引擎开发指南与引擎使用指南补宿主桥用法。 复核:doc_align_audit A/D/E/F 可行动项 0、virtual_in_engine 仍 50。
EthanPeng-2048
added a commit
that referenced
this pull request
Nov 28, 2026
- 已删机制(AOT 注册表 / scan_exprs / dry-run 登记 / PCH / NN_ENABLE_MODULES / 构建期 glslc)50+ 处改为现行口径(运行期 JIT 按结构 key 现编 + .nnk 缓存 + model_warmup;模块构建无条件),不改写成历史叙事。 - 事实性错误:README 编译器支持改「只承诺 GNU 驱动 Clang」;transA/transB 不进 key(intro/04 与 usage/03 两处同源写反);模型保存格式表停在 v5 → v8 双角色; compute 三参重载可省输出形状(同文自相矛盾);usage/04 不再背书「--device cuda 静默按 cpu 跑」;虚方法计数等硬编码数字改指 bench/doc_inventory.ps1 实测口径。 - 文档规范:NN_* 宏名 → EX_*(AGENTS §5 全文与 163 处文档引用);示例未检查即 解引用 Result 改 EX_TRY/EX_UNWRAP;过期签名(Layer::forward 带 engine、 nn::CpuEngine::create/GpuEngine::create 类体在 .so 内消费方 include 不到)改 现行工厂 API;commit hash / 修复叙事按 documentation-standard §3.4 清除。 - 铁律冲突消除(cpp-standards):§4.1「层级仅供参考,不强制限制调用方向」改严格 单向依赖;四处示例教 L2 层用 Matrix 改 Tensor+DSL(铁律 #12);两处引导 assert() 改 EX_ASSERT_ALWAYS/EX_FATAL(00 号 RV-01 清零对象)。 - docs/internal:roadmap 过期计数改「以脚本实测为准」、已修/已处置项改当前状态; 各台账状态词与已实现状态对齐。 - 验收:python scripts/doc_audit.py 全绿(A-H 各类 0 FAIL)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
11111