| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Kirin X90/9030支持FusedInferAttentionScore算子 Co-authored-by: chenlong1<chenlong1@huawei.com> # message auto-generated for no-merge-commit merge: !14324 merge master into master Kirin X90/9030支持FusedInferAttentionScore算子 Created-by: chenlong1 Commit-by: chenlong1 Merged-by: cann-robot Description: ## 描述 Kirin X90/9030支持FusedInferAttentionScore算子 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/6451 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [x] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!14324 | 1 天前 | |
fix(pre-commit): 全仓代码规范整改——公共 Co-authored-by: gitcode_lijd<lijiandong20@huawei.com> # message auto-generated for no-merge-commit merge: !13532 merge common into master fix(pre-commit): 全仓代码规范整改——公共 Created-by: gitcode_lijd Commit-by: gitcode_lijd Merged-by: cann-robot Description: 关联Issue https://gitcode.com/cann/ops-transformer/issues/5939 ## 描述 全仓代码规范整改系列——公共目录(common/、examples/、tests/、scripts/ 等)。基于仓库 pre-commit 门禁对存量代码做一次性规范收敛: - clang-format 按 .clang-format 统一格式(列宽 120、指针左对齐等),ruff 格式化 Python - 行尾空白、文件末尾换行修复,少量文档笔误修正 - 规模:280 个文件,+4708/-5785 行,纯格式化改动语义等价,无逻辑变更 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/5939(全仓整改总跟踪) ## 测试 - pre-commit 全部钩子本地通过 - CI 流水线(compile/UT)验证 See merge request: cann/ops-transformer!13532 | 20 天前 | |
fix: 修复 moe_token_permute_with_ep_grad/moe_token_unpermute_grad UT脚本 Co-authored-by: fazhenyao<fazhenyao@h-partners.com> # message auto-generated for no-merge-commit merge: !13952 merge fix-issue-5796-moe-grad-ut into master fix: 修复 moe_token_permute_with_ep_grad/moe_token_unpermute_grad UT脚本 Created-by: fazhenyao123 Commit-by: fazhenyao Merged-by: cann-robot Description: ## 描述 修复 moe_token_permute_with_ep_grad 与 moe_token_unpermute_grad 的 kernel UT:原造数脚本存在类型转换和参数处理错误,部分 UT 未加载有效输入,也未比较输出,导致无法发现精度回归。 - 重写 CPU golden 造数,严格解析布尔参数,正确保存 FP32、FP16、BF16 二进制数据,并使用非恒等排列。 - UT 加载真实输入、初始化 tiling,并校验 token/probs 两路梯度;覆盖无 probs、多 top-k、局部 token 范围和 hidden size 尾块。 - 修正 unpermute UT 的编译类型配置,新增基于独立 autograd 参考的 Python 回归测试。 目标分支:master;基线提交:a4a986c76e2f8cbe6c8b1612d81bf6c288106389。改动仅涉及 6 个测试及测试配置文件。 ## 关联的Issue Fixes #5796 https://gitcode.com/cann/ops-transformer/issues/5796 ## 测试 - Python 回归测试:4 组全部通过,包含 FP32/FP16/BF16、参数校验和输出文件处理。 - A5_ci 上使用 Ascend910B1 tikicpulib 的独立 CPU 仿真构建:最终代码 7/7 个 kernel UT 通过(permute 3 个、unpermute 4 个)。此验证使用实际 kernel 源码与 UT,未执行完整仓库构建或 NPU 硬件测试。 - 4 项负向验证:分别破坏两个算子的 token/probs golden,UT 均能检测并失败;验证后已恢复原始 golden 生成脚本。 - clang-format 18.1.8、ruff 0.14.14 检查及 git diff --check 通过。 ## 文档更新 无文档更新。 ## 类型标签 - [x] 🐛 Bug修复 - [x] 🧪 测试 See merge request: cann/ops-transformer!13952 | 11 天前 |