| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: 算子仓适配Ascend5162A芯片编译 Co-authored-by: wuxuening<wuxuening2@huawei.com> # message auto-generated for no-merge-commit merge: !5731 merge feat/ascend5162a-build-support into master feat: 算子仓适配Ascend5162A芯片编译 Created-by: wuxuening Commit-by: wuxuening Merged-by: cann-robot Description: ## 描述 算子仓适配 Ascend5162A 芯片编译:在编译框架(CMakeLists、build 脚本、SOC 映射)与 UT 桩代码中注册 ascend5162a 计算单元,支持通过 --soc=ascend5162a 编译输出 5162A 算子包。 改动清单(9 个文件): | 文件 | 改动 | |---|---| | CMakeLists.txt | ASCEND_ALL_COMPUTE_UNIT 增加 ascend5162a | | scripts/build.conf.sh | SUPPORT_COMPUTE_UNIT_SHORT 增加 ascend5162a | | scripts/build_options.sh | --soc usage 补充 ascend5162a | | scripts/kernel/binary_script/build_env.sh | SOC_MAP 增加 Ascend5162A | | scripts/util/const_var.py | SOC_MAP_EXT 增加 ascend5162a → Ascend5162A | | scripts/util/opdesc_parser.py | SOC_TO_SHORT_SOC_MAP 增加 ascend5162a | | tests/ut/common/tiling_case_executor.cpp | soc 映射表增加 ascend5162a | | tests/ut/op_api/stub/opdev/platform.cpp | ASCEND5162A ToString 映射 | | tests/ut/op_api/stub/opdev/platform.h | SocVersion 枚举增加 ASCEND5162A | ## 关联的Issue https://gitcode.com/cann/ops-math/issues/3201 ## 测试 本地环境(CANN 9.2.0,aarch64)执行 build.sh --soc=ascend5162a,编译通过并成功生成算子包 cann-5162a-ops-math_9.2.0_linux-aarch64.run。 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!5731 | 20 天前 | |
feat: 算子仓适配Ascend5162A芯片编译 Co-authored-by: wuxuening<wuxuening2@huawei.com> # message auto-generated for no-merge-commit merge: !5731 merge feat/ascend5162a-build-support into master feat: 算子仓适配Ascend5162A芯片编译 Created-by: wuxuening Commit-by: wuxuening Merged-by: cann-robot Description: ## 描述 算子仓适配 Ascend5162A 芯片编译:在编译框架(CMakeLists、build 脚本、SOC 映射)与 UT 桩代码中注册 ascend5162a 计算单元,支持通过 --soc=ascend5162a 编译输出 5162A 算子包。 改动清单(9 个文件): | 文件 | 改动 | |---|---| | CMakeLists.txt | ASCEND_ALL_COMPUTE_UNIT 增加 ascend5162a | | scripts/build.conf.sh | SUPPORT_COMPUTE_UNIT_SHORT 增加 ascend5162a | | scripts/build_options.sh | --soc usage 补充 ascend5162a | | scripts/kernel/binary_script/build_env.sh | SOC_MAP 增加 Ascend5162A | | scripts/util/const_var.py | SOC_MAP_EXT 增加 ascend5162a → Ascend5162A | | scripts/util/opdesc_parser.py | SOC_TO_SHORT_SOC_MAP 增加 ascend5162a | | tests/ut/common/tiling_case_executor.cpp | soc 映射表增加 ascend5162a | | tests/ut/op_api/stub/opdev/platform.cpp | ASCEND5162A ToString 映射 | | tests/ut/op_api/stub/opdev/platform.h | SocVersion 枚举增加 ASCEND5162A | ## 关联的Issue https://gitcode.com/cann/ops-math/issues/3201 ## 测试 本地环境(CANN 9.2.0,aarch64)执行 build.sh --soc=ascend5162a,编译通过并成功生成算子包 cann-5162a-ops-math_9.2.0_linux-aarch64.run。 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!5731 | 20 天前 | |
Aicpu op [CaseCondition、Less、Log、NotEqual、ReduceAll、Rsqrt、Sqrt] open const folding Co-authored-by: FengHaozhan<fenghaozhan@huawei.com> # message auto-generated for no-merge-commit merge: !5103 merge ops-2026-08 into master Aicpu op [CaseCondition、Less、Log、NotEqual、ReduceAll、Rsqrt、Sqrt] open const folding Created-by: FengHaozhan Commit-by: FengHaozhan Merged-by: cann-robot Description: ## 描述 为 CaseCondition、Less、Log、NotEqual、ReduceAll、Rsqrt、Sqrt 等 AICPU 算子补齐 host 侧常量折叠接线: - 在目标算子 CMake 配置中开启 HOSTCPU TRUE,使 host 常量折叠目标参与构建。 - 将 AICPU kernel 注册切换为 OPS_MATH_REGISTER_CPU_KERNELV2,保留设备侧既有计算语义并满足 host 侧注册要求。 - 为 Rsqrt 和 Sqrt 的 AICPU JSON 配置增加 OPS_FLAG_OPEN。 - 为 CaseCondition 新增 RT2 InferShape(标量输出)和 InferDataType(INT32 输出)实现,并补充对应 op_host/op_graph UT;同步调整 op_graph UT 链接顺序以保证注册符号可解析。 ## 关联的Issue #2906 ## 测试 - 新增 CaseCondition RT2 InferShape UT,覆盖输出为标量的推导结果。 - 新增 CaseCondition InferDataType UT,覆盖输出类型为 INT32 的推导结果。 - 本次未在 PR 中记录实际构建、UT 执行或设备验证结果,需由 CI/验证环境补充确认 host folding SO 产物及常量折叠触发情况。 ## 文档更新 无文档变更。 ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:构建与注册配置调整 See merge request: cann/ops-math!5103 | 1 个月前 | |
feat(onnx): 迁移 ReverseSequence 插件至 ParseParamsByOperatorFn 并补单测 Co-authored-by: clinglai0517<laichangling@huawei.com> # message auto-generated for no-merge-commit merge: !5201 merge fix-onnx-0828 into master feat(onnx): 迁移 ReverseSequence 插件至 ParseParamsByOperatorFn 并补单测 Created-by: clinglai0517 Commit-by: clinglai0517 Merged-by: cann-robot Description: ## 描述 将 ReverseSequence ONNX 插件与 protobuf 解耦(ParseParamsFn → ParseParamsByOperatorFn),补单测;并修复 common 集中目录下 onnx 插件改动时框架 UT 在 CI 跑不到的问题,使本 MR 新增的 onnx UT 能被 CI 真正编译执行。 **主要改动:** - 插件解耦 + 新增 test_reverse_sequence_onnx_plugin.cpp(8 用例)。 - 抽出 protobuf-free 公共头 math_onnx_plugin_util.h(GetOpName),消除 onnx_common.h 与插件间的重复定义。 - 拆分 ParseParamsReverseSequence,方法嵌套深度 7→4(满足 CodeCheck ≤5)。 - 插件文件改 snake_case reverse_sequence_onnx_plugin.cpp(与测试文件名一致,便于按文件名匹配)。 - 打通 common onnx 框架 UT 的 CI 链路(见下)。 <details><summary>CI/cmake 框架 UT 使能细节</summary> 此前 common 下 onnx 改动,CI 的 gen_ci_cmd.py 不识别(回退默认 is_finite),cmake --ops 模式又把 framework 用例库 stub 成 empty.cpp,导致改了不测。改动: - scripts/ci/gen_ci_cmd.py:识别 common/(src/framework|tests/ut/framework)/(test_)?<op>_onnx_plugin.cpp,按文件名提算子名生成 --ops=<op> --ophost;无 op_host 路径的框架算子回退 ophost。 - cmake/func.cmake(check_compiled_ops):扫 common/src/framework/*_onnx_plugin.cpp 注入 COMPILED_OPS,避免 --ops=<common 插件> 时空 FATAL。 - tests/ut/op_host/CMakeLists.txt:门槛从"--ops 非空跳过"改为"全量接入;--ops 命中 common 框架插件才接入"。 - cmake/ut.cmake:framework 分支按 test_<op>_onnx_plugin.cpp 文件名过滤(不再按路径推 OP_NAME=common)。 </details> ## 关联的Issue Issue #2892 ## 测试 本地容器(CANN 9.0.0)矩阵全过:--ops=reverse_sequence 仅编入对应用例、8 PASSED、无 FATAL;--ops=is_finite 无回归;-f pr_filelist 端到端 gen_ci_cmd→--ops=reverse_sequence --ophost→8 PASSED。CI 实证 CodeCheck(OpenLibing)已转绿、precommit clang-format/EOF/codespell/OAT 通过、gen_ci_cmd.py 已对齐 ruff-format。 ## 文档更新 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!5201 | 1 个月前 | |
style: 全仓统一 clang-format 代码格式化 Co-authored-by: songkai111<songkai16@huawei.com> # message auto-generated for no-merge-commit merge: !3345 merge master into master style: 全仓统一 clang-format 代码格式化 Created-by: songkai111 Commit-by: songkai111 Merged-by: cann-robot Description: ## 描述 对全仓代码(common、examples、tests 等目录共 113 个文件)统一执行 clang-format 格式化,使代码风格与 .clang-format 配置保持一致。本次变更不涉及任何功能逻辑修改,仅涉及缩进、对齐、空格、换行等代码风格调整。 涉及的主要目录: - common/inc/、common/src/:公共头文件及框架插件代码 - examples/:示例算子代码 - tests/:UT 测试框架及工具代码 ## 关联的Issue #1984 ## 测试 代码仅涉及格式化,不影响编译与功能;全量 UT 已通过。 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化(clang-format) See merge request: cann/ops-math!3345 | 3 个月前 | |
style: 全仓统一 clang-format 代码格式化 Co-authored-by: songkai111<songkai16@huawei.com> # message auto-generated for no-merge-commit merge: !3345 merge master into master style: 全仓统一 clang-format 代码格式化 Created-by: songkai111 Commit-by: songkai111 Merged-by: cann-robot Description: ## 描述 对全仓代码(common、examples、tests 等目录共 113 个文件)统一执行 clang-format 格式化,使代码风格与 .clang-format 配置保持一致。本次变更不涉及任何功能逻辑修改,仅涉及缩进、对齐、空格、换行等代码风格调整。 涉及的主要目录: - common/inc/、common/src/:公共头文件及框架插件代码 - examples/:示例算子代码 - tests/:UT 测试框架及工具代码 ## 关联的Issue #1984 ## 测试 代码仅涉及格式化,不影响编译与功能;全量 UT 已通过。 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化(clang-format) See merge request: cann/ops-math!3345 | 3 个月前 | |
add fussion pass ut Co-authored-by: sakuraqqz<furao15@h-partners.com> # message auto-generated for no-merge-commit merge: !1124 merge master into master add fussion pass ut Created-by: sakuraqqz Commit-by: sakuraqqz Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 增加fussion pass ut。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> https://gitcode.com/cann/ops-math/issues/829 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!1124 | 6 个月前 | |
update license Co-authored-by: zhaozi3<zhaozi3@h-partners.com> # message auto-generated for no-merge-commit merge: !417 merge master into master update license Created-by: zhaozi3 Commit-by: zhaozi3 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!417 | 9 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 20 天前 | ||
| 20 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 6 个月前 | ||
| 9 个月前 |