文件最后提交记录最后更新时间
fix(gated_delta_rule): rename global test variables to avoid ODR violation in opapi UT Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !5747 merge fix/gated-delta-rule-opapi-ut-rename into master fix(gated_delta_rule): rename global test variables to avoid ODR violation in opapi UT Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 recurrent_gated_delta_rule 与 chunk_gated_delta_rule 的 opapi UT 文件中均声明了同名全局变量 test,联合编译时触发 ODR(One Definition Rule)冲突,导致链接失败(multiple definition of test)。 ## 改动 - 将 recurrent_gated_delta_rule opapi UT 中 test 重命名为 rgdr_test - 将 chunk_gated_delta_rule opapi UT 中 test 重命名为 cgdr_test - 变量名带算子缩写前缀,避免不同算子 UT 之间命名冲突,不影响单个算子独立编译行为 ## 关联的Issue #2596 ## 测试 - bash build.sh -u --opapi --ops=recurrent_gated_delta_rule,chunk_gated_delta_rule:42 tests PASSED(chunk 20 recurrent 22) - bash build.sh -u --opapi --ops=recurrent_gated_delta_rule:22 tests PASSED(单独编译不受影响) ## 类型标签 - [x] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!574711 天前
fix(recurrent_gated_delta_rule): provide correct output shapes in tiling UT Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !5724 merge fix/recurrent-gated-delta-rule-ut-output-shape into master fix(recurrent_gated_delta_rule): provide correct output shapes in tiling UT Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 recurrent_gated_delta_rule 算子的 tiling UT 中输出 shape 为空(0维),导致 tiling 流程在 AnalyzeShapes() 阶段因维度校验失败提前退出,tilingKey 未被设置(默认-1),UT 测试失败。 ## 改动 - 将输出 out 的 shape 从空 {{{}, {}}} 改为 {{t, nv, dv}, {t, nv, dv}},与 infershape 定义一致(3维) - 将输出 finalState 的 shape 从空 {{{}, {}}} 改为 {{sBlockNum, nv, dv, dk}, {sBlockNum, nv, dv, dk}},与 infershape 定义一致(4维) - 逻辑与 infershape 代码中 InferShapeRecurrentGatedDeltaRule 的输出推导完全一致,不影响原有行为 ## 关联的Issue #2589 ## 测试 - bash build.sh -u --ophost --ops=recurrent_gated_delta_rule:2 tests PASSED(tiling infershape) - bash build.sh -u --opapi --ops=recurrent_gated_delta_rule:22 tests PASSED(opapi case0~case21) ## 类型标签 - [x] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!572412 天前
Fix RecurrentGatedDeltaRule UT Co-authored-by: lilening<lilening@huawei.com> # message auto-generated for no-merge-commit merge: !838 merge master into master Fix RecurrentGatedDeltaRule UT Created-by: lilening Commit-by: lilening Merged-by: cann-robot Description: ## 描述 修改RecurrentGatedDeltaRule算子UT ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-transformer!8384 个月前
匹配最新cann版本,上线新版本attention/ffn/moe/posembedding算子 Co-authored-by: huangchuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !538 merge master into master 匹配最新cann版本,上线新版本attention/ffn/moe/posembedding算子 Created-by: huang-chuhong Commit-by: huangchuhong Merged-by: cann-robot Description: ## 描述 transformer 同步算子最新开发,涉及attention/ffn/moe/posembedding ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/315 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-transformer!5385 个月前