| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add gather_v2,scatter_nd_max,scatter_nd_min,sparse_segment_mean to Ascend960 Co-authored-by: 张鑫<zhangxin660@h-partners.com> # message auto-generated for no-merge-commit merge: !11408 merge REG_OP_Gather into master Add gather_v2,scatter_nd_max,scatter_nd_min,sparse_segment_mean to Ascend960 Created-by: z30075199 Commit-by: 张鑫 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Ascend960适配gather_v2,scatter_nd_max,scatter_nd_min,sparse_segment_mean算子 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-nn/issues/6762 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> 批跑用例ok 冒烟ok ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!11408 | 1 天前 | |
fix: normalize and escape binary configuration directory paths Co-authored-by: Ethan_Zou<tianjun.zou@foxmail.com> # message auto-generated for no-merge-commit merge: !11733 merge fix/rated-20261011-merge-config-path into master fix: normalize and escape binary configuration directory paths Created-by: Ethan_Zou Commit-by: Ethan_Zou Merged-by: cann-robot Description: ## 描述 规范化二进制配置目录再构造输出名,并通过 glob.escape 按字面匹配目录,修复末尾分隔符、重复运行及方括号构建路径产生错误合并结果的问题。配置内容及冲突处理不变;源文件按本仓 Ruff 格式整理。 ## 关联的 Issue 对应本次目录路径问题,创建后由关联 Issue 链接补全。 ## 测试 ~~~bash python3 -m unittest discover -s scripts/kernel/binary_script/tests -p test_merge_ops_config_json.py -v ~~~ 修复前:9 个场景断言失败,3 个控制场景通过。 修复后:6 个方法、12 个场景全部通过,执行 16 次真实 CLI。覆盖 4 种目录写法、重复运行、绝对路径、方括号目录及合法算子名所在的方括号父目录,并验证 op_type 冲突仍报错。 原生 pre-commit(含 Ruff 0.14.14、OAT)和 git diff --check 均通过。 仅 Host CLI 验证,未执行 NPU 或真实 CANN 构建;远端 CI 按当前源提交跟踪。 ## 文档更新 不涉及用户接口或算子文档变更。 ## 类型标签 - [x] Bug 修复 Closes https://gitcode.com/cann/ops-nn/issues/6497 See merge request: cann/ops-nn!11733 | 1 天前 |