| 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 | 27 天前 |
| 新建GatherV2算子Ascend C实现 Co-authored-by: tieyutong<tieyutong@huawei.com> # message auto-generated for no-merge-commit merge: !6390 merge upload-gather-v2-ascendc-20260623 into master 新建GatherV2算子Ascend C实现 Created-by: tieyutong Commit-by: tieyutong Merged-by: cann-robot Description: ## 描述 本 PR 新增 experimental/index/gather_v2 目录,提供 GatherV2 experimental Ascend C 算子实现与配套 UT。 主要改动: - 新增 GatherV2 experimental 目录结构,包含 op_api、op_graph、op_host、op_kernel 和 tests。 - 新增 aclnn 接口 aclnnGatherV2GetWorkspaceSize / aclnnGatherV2,完成参数校验、连续化处理和 Level0 调用。 - 新增 Level0 GatherV2 接口,当前按 Ascend C AICore launcher 路径接入。 - 新增 op_graph IR 注册,包含 x、indices、axis 输入,y 输出,以及 batch_dims、negative_index_support 属性。 - 新增 op_host dtype/format 注册、InferShape 和 Tiling 接入。 - 新增 AICore kernel 骨架及 tiling data/key 定义。 - 补齐 op_host、op_api UT。 - 更新 README,参考 experimental/index/index/README.md 的结构补齐产品支持、功能说明、参数说明、约束说明和调用说明。 ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/3497 ## 测试 | 套件 | 用例数 | 结果 | | :--- | ---: | :--- | | experimental GatherV2 op_host UT | 1 | 1/1 Pass | | experimental GatherV2 op_graph UT | 0 | 0/0 Pass | | experimental GatherV2 op_api UT | 26 | 26/26 Pass | | 合计 | 27 | 27/27 Pass | ATK 结果: | 套件 | 用例数 | 结果 | | :--- | ---: | :--- | | Accu | 30005 | 30005/30005 Pass。 | | ACCU_over_5000w / Pangu | 7 | 7/7 Pass。 | | Perf | 24 | 22/24 达到 0.6 倍要求;2/24 低于 0.6:case 248=0.2960、case 841=0.5127。平均 device 性能比 0.8577。 | | Sanitizer | 720 | 720/720 Pass。 | | Special | 155 | 152/155 Pass。失败 3/155:129、133、137,均为 ATK CPU 标杆 np.take 对空 gather 轴 + 非空 index 抛 IndexError,非 GatherV2 算子侧错误。 | | Abnormal | 2 | 2/2 Pass。 | ## 文档更新 更新了 experimental/index/gather_v2/README.md。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!6390 | 1 个月前 |
| 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 | 27 天前 |
| 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 | 27 天前 |
| 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 | 27 天前 |
| 新建GatherV2算子Ascend C实现 Co-authored-by: tieyutong<tieyutong@huawei.com> # message auto-generated for no-merge-commit merge: !6390 merge upload-gather-v2-ascendc-20260623 into master 新建GatherV2算子Ascend C实现 Created-by: tieyutong Commit-by: tieyutong Merged-by: cann-robot Description: ## 描述 本 PR 新增 experimental/index/gather_v2 目录,提供 GatherV2 experimental Ascend C 算子实现与配套 UT。 主要改动: - 新增 GatherV2 experimental 目录结构,包含 op_api、op_graph、op_host、op_kernel 和 tests。 - 新增 aclnn 接口 aclnnGatherV2GetWorkspaceSize / aclnnGatherV2,完成参数校验、连续化处理和 Level0 调用。 - 新增 Level0 GatherV2 接口,当前按 Ascend C AICore launcher 路径接入。 - 新增 op_graph IR 注册,包含 x、indices、axis 输入,y 输出,以及 batch_dims、negative_index_support 属性。 - 新增 op_host dtype/format 注册、InferShape 和 Tiling 接入。 - 新增 AICore kernel 骨架及 tiling data/key 定义。 - 补齐 op_host、op_api UT。 - 更新 README,参考 experimental/index/index/README.md 的结构补齐产品支持、功能说明、参数说明、约束说明和调用说明。 ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/3497 ## 测试 | 套件 | 用例数 | 结果 | | :--- | ---: | :--- | | experimental GatherV2 op_host UT | 1 | 1/1 Pass | | experimental GatherV2 op_graph UT | 0 | 0/0 Pass | | experimental GatherV2 op_api UT | 26 | 26/26 Pass | | 合计 | 27 | 27/27 Pass | ATK 结果: | 套件 | 用例数 | 结果 | | :--- | ---: | :--- | | Accu | 30005 | 30005/30005 Pass。 | | ACCU_over_5000w / Pangu | 7 | 7/7 Pass。 | | Perf | 24 | 22/24 达到 0.6 倍要求;2/24 低于 0.6:case 248=0.2960、case 841=0.5127。平均 device 性能比 0.8577。 | | Sanitizer | 720 | 720/720 Pass。 | | Special | 155 | 152/155 Pass。失败 3/155:129、133、137,均为 ATK CPU 标杆 np.take 对空 gather 轴 + 非空 index 抛 IndexError,非 GatherV2 算子侧错误。 | | Abnormal | 2 | 2/2 Pass。 | ## 文档更新 更新了 experimental/index/gather_v2/README.md。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!6390 | 1 个月前 |
| 新建GatherV2算子Ascend C实现 Co-authored-by: tieyutong<tieyutong@huawei.com> # message auto-generated for no-merge-commit merge: !6390 merge upload-gather-v2-ascendc-20260623 into master 新建GatherV2算子Ascend C实现 Created-by: tieyutong Commit-by: tieyutong Merged-by: cann-robot Description: ## 描述 本 PR 新增 experimental/index/gather_v2 目录,提供 GatherV2 experimental Ascend C 算子实现与配套 UT。 主要改动: - 新增 GatherV2 experimental 目录结构,包含 op_api、op_graph、op_host、op_kernel 和 tests。 - 新增 aclnn 接口 aclnnGatherV2GetWorkspaceSize / aclnnGatherV2,完成参数校验、连续化处理和 Level0 调用。 - 新增 Level0 GatherV2 接口,当前按 Ascend C AICore launcher 路径接入。 - 新增 op_graph IR 注册,包含 x、indices、axis 输入,y 输出,以及 batch_dims、negative_index_support 属性。 - 新增 op_host dtype/format 注册、InferShape 和 Tiling 接入。 - 新增 AICore kernel 骨架及 tiling data/key 定义。 - 补齐 op_host、op_api UT。 - 更新 README,参考 experimental/index/index/README.md 的结构补齐产品支持、功能说明、参数说明、约束说明和调用说明。 ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/3497 ## 测试 | 套件 | 用例数 | 结果 | | :--- | ---: | :--- | | experimental GatherV2 op_host UT | 1 | 1/1 Pass | | experimental GatherV2 op_graph UT | 0 | 0/0 Pass | | experimental GatherV2 op_api UT | 26 | 26/26 Pass | | 合计 | 27 | 27/27 Pass | ATK 结果: | 套件 | 用例数 | 结果 | | :--- | ---: | :--- | | Accu | 30005 | 30005/30005 Pass。 | | ACCU_over_5000w / Pangu | 7 | 7/7 Pass。 | | Perf | 24 | 22/24 达到 0.6 倍要求;2/24 低于 0.6:case 248=0.2960、case 841=0.5127。平均 device 性能比 0.8577。 | | Sanitizer | 720 | 720/720 Pass。 | | Special | 155 | 152/155 Pass。失败 3/155:129、133、137,均为 ATK CPU 标杆 np.take 对空 gather 轴 + 非空 index 抛 IndexError,非 GatherV2 算子侧错误。 | | Abnormal | 2 | 2/2 Pass。 | ## 文档更新 更新了 experimental/index/gather_v2/README.md。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!6390 | 1 个月前 |