| fix: 【工具检测】【mssanitizer】ifmr算子编译发生报错 (#5096) Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !9326 merge fix-issue-5096 into master fix: 【工具检测】【mssanitizer】ifmr算子编译发生报错 (#5096) Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 - 修复摘要:ifmr算子编译发生报错 - 变更文件: - quant/ifmr/examples/test_geir_ifmr.cpp ### Diff 摘要 text quant/ifmr/examples/test_geir_ifmr.cpp | 35 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/5096 ## 测试 - 测试结论: PASS - bash build.sh --pkg --soc=ascend950 --ops=ifmr --mssanitizer -j16 passed. - bash build.sh --run_example ifmr graph --soc=ascend950 passed after the patch. - git diff --check passed. ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 ## 风险和遗留问题 - None. See merge request: cann/ops-nn!9326 | 24 天前 |
| TF plugin 算子迁移 Co-authored-by: sunchun<sunchun4@h-partners.com> # message auto-generated for no-merge-commit merge: !7619 merge nn3 into master TF plugin 算子迁移 Created-by: sunchun Commit-by: sunchun Merged-by: cann-robot Description: ## 描述 TF plugin 迁移 ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/4196 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7619 | 1 个月前 |
| 新增IFMR(Input Feature Map Reconstruction)算子 Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !2153 merge ifmr into master 新增IFMR(Input Feature Map Reconstruction)算子 Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 新增IFMR算子,该算子功能为输入特征图重建的量化方法,支持Ascend950 PR/Ascend 950DT产品形态 ## 关联的Issue [#1234](https://gitcode.com/cann/ops-nn/issues/1234) ## 测试 bash build.sh --pkg --ops=ifmr 构建编译成功 bash build.sh -u --ophost --ops=ifmr 编译运行ut用例通过 ## 文档更新 新增了quant/ifmr/README.md介绍该算子相关功能及使用方法 更新了docs/zh/op_list.md中quant/ifmr算子 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!2153 | 6 个月前 |
| fix(ifmr): 在 TilingForIfmr 中添加 SetScheduleMode(1) 以支持 SyncAll 全核同步 Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !7085 merge fix/ifmr-set-schedule-mode-batch into master fix(ifmr): 在 TilingForIfmr 中添加 SetScheduleMode(1) 以支持 SyncAll 全核同步 Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 在 arch35(Ascend950)场景下,IFMR 算子的 kernel 中使用了 SyncAll() 进行全核同步,但其 op_host tiling 代码中未调用 SetScheduleMode(BATCH_MODE)(即 SetScheduleMode(1))。 SyncAll() 要求所有参与同步的核同时启动并在同一调度批次内运行。若未设置 BatchMode,系统默认按核分批调度,会导致部分核尚未启动时已启动的核在 SyncAll() 处无限等待引发死锁/挂起,或核间归约数据依赖未就绪即被读取导致结果错误。 修复方法:在 quant/ifmr/op_host/ifmr_tiling.cpp 的 TilingForIfmr 函数中添加 context->SetScheduleMode(1),确保所有核同时启动,使 SyncAll() 全核同步正确生效。 ## 关联的Issue 关联Issue #3867 ## 测试 编译验证通过 ## 文档更新 无 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [ ] AI辅助编写 See merge request: cann/ops-nn!7085 | 2 个月前 |
| format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 2 个月前 |
| format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 2 个月前 |
| 新增IFMR(Input Feature Map Reconstruction)算子 Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !2153 merge ifmr into master 新增IFMR(Input Feature Map Reconstruction)算子 Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 新增IFMR算子,该算子功能为输入特征图重建的量化方法,支持Ascend950 PR/Ascend 950DT产品形态 ## 关联的Issue [#1234](https://gitcode.com/cann/ops-nn/issues/1234) ## 测试 bash build.sh --pkg --ops=ifmr 构建编译成功 bash build.sh -u --ophost --ops=ifmr 编译运行ut用例通过 ## 文档更新 新增了quant/ifmr/README.md介绍该算子相关功能及使用方法 更新了docs/zh/op_list.md中quant/ifmr算子 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!2153 | 6 个月前 |
| Delete redundant spaces in the .md files in the activation dirrectory Co-authored-by: zhouwenfang<zhouwenfang3@h-partners.com> # message auto-generated for no-merge-commit merge: !6045 merge master into master Delete redundant spaces in the .md files in the activation dirrectory Created-by: zhouwenfang Commit-by: zhouwenfang Merged-by: cann-robot Description: ## 描述 Delete redundant spaces in the .md files in the activation dirrectory ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/3317 ## 测试 NA ## 文档更新 *.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!6045 | 3 个月前 |