| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
迁入 MXFP8 attention prologue 算子 Co-authored-by: yangyajie<yangyajie3@huawei.com> # message auto-generated for no-merge-commit merge: !108 merge master into master 迁入 MXFP8 attention prologue 算子 Created-by: yangyajie Commit-by: yangyajie Merged-by: cann-robot Description: ### PR功能描述 / 为什么需要这个合入: 新增 MXFP8 attention prologue 融合算子,在一个 kernel 中完成 QA/KV 投影、RMSNorm、QR 动态量化、QB 投影、尾部 RoPE 和 KV cache 原地更新,支持 decode/prefill 场景。 同步迁入独立 CPU golden、FP64 精度复核与用例运行工具,新增 4 个 pytest 冒烟用例并接入 CI,补充算子说明、导航和更新日志,便于统一维护与回归验证。 ### 该PR关联的issue 暂无关联 issue。 ### 希望检视人员了解: 算子实现与源仓库保持一致,本次为仓库迁移与测试接入。 测试目录保留必要代码,验证报告及运行产物已移出代码仓库。 本次验证覆盖 4 个正向用例,未进行全量回归和性能复测;文档中的历史性能数据已注明来源。 ## 改动类型 / Change Type Bug 修复 / Bug Fix 新功能 / New Feature 性能优化 / Performance 代码重构 / Refactoring 文档更新 / Documentation 测试相关 / Test 其它 / Other ## 测试信息 / Testing 在 Ascend950PR_9599 上显式限制为 32 Cube / 64 Vector,通过仓库 CI 入口完成验证: bash scripts/ci/run_tests.sh --ops=attn_prologue --mode=npu 场景 用例 结果 ━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━ ━━━━━━ Decode B=1,S=1,T=1 PASS ───────── ───────────────────── ────── Decode B=12,S=6,T=72 PASS ───────── ───────────────────── ────── Prefill B=1,S=1024,T=1024 PASS ───────── ───────────────────── ────── Prefill B=1,S=2048,T=2048 PASS 共 4 passed,0 failed,0 skipped。完整输出对照 CPU golden,并进行 FP64 值域复核: 最大 Q 超差比例为 0.009741%,低于 0.1% 门限。 Q 非有限值、QR/KV 硬失配及未命中 cache 改写均为 0。 Python 语法、git diff --check、pytest 收集和 CI 变更映射检查通过。 单元测试通过 / UT passed 集成测试通过 / ST passed 人工验证通过 / Manual verified ## 检查清单 / Checklist 代码符合规范 / Code follows style guide 测试添加并通过 / Tests added and passed 文档已更新 / Docs updated if needed 无硬编码敏感信息 / No secrets hardcoded 提交信息符合规范 / Commit message follows convention See merge request: cann/cannbot-dsl!108 | 22 天前 | |
add ci Co-authored-by: zhu-lei0614<zhulei113@huawei.com> # message auto-generated for no-merge-commit merge: !24 merge master into master add ci Created-by: zhu-lei0614 Commit-by: zhu-lei0614 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/cannbot-dsl!24 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 22 天前 | ||
| 2 个月前 |