| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test(reduce_min): 补充op_api UT覆盖aclnn_amin scalar/空dim/重复dim分支 Co-authored-by: andong_hw<andong2@huawei.com> # message auto-generated for no-merge-commit merge: !5055 merge ut-reduce-min-op-api into master test(reduce_min): 补充op_api UT覆盖aclnn_amin scalar/空dim/重复dim分支 Created-by: andong_hw Commit-by: andong_hw Merged-by: cann-robot Description: Closes #2861 ## 修改内容 补充reduce_min算子op_api UT覆盖 ## 验证 - 910b: 编译运行通过, pre-commit PASSED See merge request: cann/ops-math!5055 | 2 个月前 | |
add infer_dtype Co-authored-by: xufeng12121<1074805447@qq.com> # message auto-generated for no-merge-commit merge: !5131 merge all_infer into master add infer_dtype Created-by: xufeng12121 Commit-by: xufeng12121 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> add InferDataType for masked_fill, roll, slice, strided_slice, strided_slice_v2, strided_slice_v3, bias_add_grad, cdist, diag_part, invert, tile ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> https://gitcode.com/cann/ops-math/issues/2899 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 1.二级冒烟通过 2.本地测试通过 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!5131 | 2 个月前 | |
test(reduce): 适配 workspace 32B 的 Reduce 模板 UT 期望 Co-authored-by: sunzhongwen1<sunzhongwen1@huawei.com> # message auto-generated for no-merge-commit merge: !7315 merge fix/reduce-workspace-ut-32b into master test(reduce): 适配 workspace 32B 的 Reduce 模板 UT 期望 Created-by: sunzhongwen1 Commit-by: sunzhongwen1 Merged-by: cann-robot Description: ## 描述 opbase reduce 模板普通场景(groupR<=1)workspace 已整改为 32B: - base 仓 PR:https://gitcode.com/cann/opbase/pull/1142 - 已合并 commit: 49475edfeb771ac1b7c14d726be1c8269e5904a0 本 PR 同步完成两件事: 1. 将 OPBASE_TAG_ID 更新到上述 base 已合并 commit,保证线上 UT 使用 32B workspace 版本的 opbase; 2. 更新 ops-math 中 reduce 模板算子 UT 的 workspace 期望: - 6 个 op_host tiling UT 的普通场景期望由 16777216 更新为 32; - 4 个 op_kernel UT 的手写 workspace 由 16MB 更新为 32B; - groupR>1 的 group reduce 期望保持不变; - SquareSumV1 的 noop 分支仍显式调用 GetLibApiWorkSpaceSize,保持 16777216。 本 PR 与 #7305 相关:#7305 基于旧 opbase pin(普通场景返回 0)将期望改为 0,本 PR 按 workspace 32B 整改更新为 32。 涉及文件: - cmake/third_party/opbase.cmake - math/bias_add_grad/tests/ut/op_host/arch35/test_bias_add_grad_tiling.cpp - math/dot/tests/ut/op_host/arch35/test_dot_tiling_arch35.cpp - math/kl_div/tests/ut/op_host/arch35/test_kl_div_tiling.cpp - math/reduce_max/tests/ut/op_host/arch35/test_reduce_max_tiling.cpp - math/reduce_mean_with_count/tests/ut/op_host/arch35/test_reduce_mean_with_count_tiling.cpp - math/square_sum_v1/tests/ut/op_host/arch35/test_square_sum_v1_tiling.cpp - math/reduce_log_sum_exp/tests/ut/op_kernel/test_reduce_log_sum_exp.cpp - math/reduce_log_sum/tests/ut/op_kernel/arch35/test_reduce_log_sum.cpp - math/reduce_max/tests/ut/op_kernel/test_reduce_max.cpp - math/reduce_min/tests/ut/op_kernel/test_reduce_min.cpp ## 关联的Issue - #4485 - #4193 - #4192 ## 测试 本 PR 仅修改 UT 期望值及 opbase 依赖 pin,未修改算子生产代码。OPBASE_TAG_ID 已指向包含 32B workspace 整改的已合并 commit 49475edfeb771ac1b7c14d726be1c8269e5904a0,线上 UT 将基于该版本执行。 ## 文档更新 本次改动不涉及文档更新。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:Reduce 模板 UT workspace 期望适配及 base 依赖更新 See merge request: cann/ops-math!7315 | 4 天前 | |
feat: 补充reduce_min算子op_api UT Co-authored-by: wangqi_ai<wangqi195@hisilicon.com> # message auto-generated for no-merge-commit merge: !4075 merge feat/ut_reduce_min into master feat: 补充reduce_min算子op_api UT Created-by: wangqi_ai Commit-by: wangqi_ai Merged-by: cann-robot Description: ## 描述 补充reduce_min算子的op_api和op_host infershape级别单元测试,覆盖以下场景: - 各数据类型测试 - 不同维度测试 - 异常场景测试:nullptr输入输出、shape不匹配等 ## 关联的Issue #2465 ## 测试 - 编译验证:bash build.sh -u --soc=ascend950 --ops=reduce_min --noexec 编译通过 ## 文档更新 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:UT补充 **关联 Issue:** #2465 See merge request: cann/ops-math!4075 | 3 个月前 |