文件最后提交记录最后更新时间
!875 op_plugin ut run with torch_npu version. Merge pull request !875 from 李金鑫/ut_master 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
rshift apply aclnn Co-authored-by: SCh-zx<1325467101@qq.com> # message auto-generated for no-merge-commit merge: !3897 merge master into master rshift apply aclnn Created-by: SCh_zx Commit-by: SCh-zx Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 添加aclnn路径 修复用例没有测试标量的问题 **Special notes for your reviewers**: See merge request: Ascend/op-plugin!38975 个月前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
rshift apply aclnn Co-authored-by: SCh-zx<1325467101@qq.com> # message auto-generated for no-merge-commit merge: !3897 merge master into master rshift apply aclnn Created-by: SCh_zx Commit-by: SCh-zx Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 添加aclnn路径 修复用例没有测试标量的问题 **Special notes for your reviewers**: See merge request: Ascend/op-plugin!38975 个月前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1781 Move part opapi kernel to autogen from a to b Merge pull request !1781 from 王广斌/new_struct 1 年前
!2142 Add device_check testcase Merge pull request !2142 from wgb/bugfix 1 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
!2777 fix fuzz add check_adaptive_avg_pool3d Merge pull request !2777 from zhangqiongwen/master_check_adaptive_avg_pool3d 10 个月前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1781 Move part opapi kernel to autogen from a to b Merge pull request !1781 from 王广斌/new_struct 1 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!2355 adaptivemaxpool3d fallback Merge pull request !2355 from 詹昊/master 1 年前
!2355 adaptivemaxpool3d fallback Merge pull request !2355 from 詹昊/master 1 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!2770 fix fuzz addcdiv Merge pull request !2770 from zhangqiongwen/master_addcdiv_fuzz 10 个月前
!2770 fix fuzz addcdiv Merge pull request !2770 from zhangqiongwen/master_addcdiv_fuzz 10 个月前
!1524 【Addmm】API fix precision loss Merge pull request !1524 from 陈志敏/master 2 年前
注册_addmm_activation_out接口 Co-authored-by: jjt_3<1926550527@qq.com> # message auto-generated for no-merge-commit merge: !4164 merge addmmactivationout into master 注册_addmm_activation_out接口 Created-by: jjt_3 Commit-by: jjt_3 Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Special notes for your reviewers**: See merge request: Ascend/op-plugin!41643 个月前
修改torch.addmv算子输出类型:在alpha或beta不等于1时,输出类型改为int64 Co-authored-by: xiaoqi-zhou<zhouxiaoqi9@h-partners.com> # message auto-generated for no-merge-commit merge: !4263 merge addmv_master into master 修改torch.addmv算子输出类型:在alpha或beta不等于1时,输出类型改为int64 Created-by: xiaoqi-zhou Commit-by: xiaoqi-zhou Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 https://gitcode.com/Ascend/op-plugin/issues/35 - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 修改AddmvKernelNpuOpApi.cpp文件的addmv方法,加判断条件: 在alpha或beta不等于1时,输出类型改为int64 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 测试代码如下: import torch import torch_npu mat = torch.tensor([[True, True], [True, True], [True, True]]).npu() # 3x2 矩阵 vec = torch.tensor([True, True]).npu() # 2维向量 input_vec = torch.tensor([True, True, True]).npu() # 3维向量 result = torch.addmv(input_vec, mat, vec, beta=2, alpha=2) print("基本用法结果:") print(result) 输出结果正常: ![image.png](https://raw.gitcode.com/user-images/assets/7403085/cdd58f6b-01c7-4cef-8aca-946fc342f058/image.png 'image.png') 新增UT:test_addmv.py中的test_addmv_bool_promotion_with_non_one_scalars UT正常跑通: ![image.png](https://raw.gitcode.com/user-images/assets/7403085/c3646293-1654-46ce-82e7-9f8b5944dcbb/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [ ] 代码注释完备,正确记录错误日志 - [ ] 代码实现进行了返回值、空指针等校验 - [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [ ] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!42632 个月前
!2748 Fuzz fix add and addr Merge pull request !2748 from wgb/bugfix 10 个月前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1506 Fix the adapter and ut of apply_adam Merge pull request !1506 from 张向龙3/apply_adam_0416 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
torch_npu api support 0-d cpu tensor input Co-authored-by: XianglongZeng<zengxianglong1@huawei.com> # message auto-generated for no-merge-commit merge: !4958 merge myop into master torch_npu api support 0-d cpu tensor input Created-by: probiotics_53 Commit-by: XianglongZeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [x] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 - 对 22 个 API 进行适配,使其在输入包含 0-d CPU Tensor 时与 GPU 行为一致 - 采用两层适配策略:代码生成模板适配(自动生成 API)+ 接入层手写适配(手写 API) - 有标量专用 aclnn 算子时优先调用标量算子(零拷贝),无标量专用算子时使用 copy_scalar_to_device 详细设计和修改方案见RFC文档:https://gitcode.com/Ascend/pytorch/issues/1919 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/b187c5b2-ec75-48d1-addf-769d23baf77a/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7403085/b4e2cbb6-7869-450d-a100-ef68b4f941de/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!495810 天前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!2108 The argmax operator adapts to the null tensor and null dim check. Merge pull request !2108 from 史佳馨/master 1 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1675 [adpt]add argsort.stable in opapi Merge pull request !1675 from zhangqiongwen/master_argsort_stable_adpt 1 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1781 Move part opapi kernel to autogen from a to b Merge pull request !1781 from 王广斌/new_struct 1 年前
torch_npu api support 0-d cpu tensor input Co-authored-by: XianglongZeng<zengxianglong1@huawei.com> # message auto-generated for no-merge-commit merge: !4958 merge myop into master torch_npu api support 0-d cpu tensor input Created-by: probiotics_53 Commit-by: XianglongZeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [x] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 - 对 22 个 API 进行适配,使其在输入包含 0-d CPU Tensor 时与 GPU 行为一致 - 采用两层适配策略:代码生成模板适配(自动生成 API)+ 接入层手写适配(手写 API) - 有标量专用 aclnn 算子时优先调用标量算子(零拷贝),无标量专用算子时使用 copy_scalar_to_device 详细设计和修改方案见RFC文档:https://gitcode.com/Ascend/pytorch/issues/1919 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/b187c5b2-ec75-48d1-addf-769d23baf77a/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7403085/b4e2cbb6-7869-450d-a100-ef68b4f941de/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!495810 天前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
Fix avg_pool2d infershape bug Co-authored-by: wang-guangbin<wgb_strive@163.com> # message auto-generated for no-merge-commit merge: !3593 merge bugfix into master Fix avg_pool2d infershape bug Created-by: wang-guangbin Commit-by: wang-guangbin Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Special notes for your reviewers**: See merge request: Ascend/op-plugin!35936 个月前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1846 Add AvgPool3d op api Merge pull request !1846 from 冯彤/avg_pool3d 1 年前
!1845 增加avgpool3dbackward的路径五调用 Merge pull request !1845 from 唐燕锋/avgpool3d 1 年前
[fix]fix test skip Co-authored-by: chenshuai<chenshuai81@huawei.com> # message auto-generated for no-merge-commit merge: !5008 merge fix525 into master [fix]fix test skip Created-by: culechan Commit-by: chenshuai Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 放开一个测试用例,当前已经可以通过了 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/426a16e8-8f6a-4b04-95bb-9d68a5b66b3c/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50088 天前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1477 Move UTs on PTA to OP-Plugin Part1 Merge pull request !1477 from 张向龙3/mv_ut 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
torch_npu api support 0-d cpu tensor input Co-authored-by: XianglongZeng<zengxianglong1@huawei.com> # message auto-generated for no-merge-commit merge: !4958 merge myop into master torch_npu api support 0-d cpu tensor input Created-by: probiotics_53 Commit-by: XianglongZeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [x] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 - 对 22 个 API 进行适配,使其在输入包含 0-d CPU Tensor 时与 GPU 行为一致 - 采用两层适配策略:代码生成模板适配(自动生成 API)+ 接入层手写适配(手写 API) - 有标量专用 aclnn 算子时优先调用标量算子(零拷贝),无标量专用算子时使用 copy_scalar_to_device 详细设计和修改方案见RFC文档:https://gitcode.com/Ascend/pytorch/issues/1919 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/b187c5b2-ec75-48d1-addf-769d23baf77a/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7403085/b4e2cbb6-7869-450d-a100-ef68b4f941de/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!495810 天前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
open binary_cross_entropy_backward test Co-authored-by: XianglongZeng<zengxianglong1@huawei.com> # message auto-generated for no-merge-commit merge: !4918 merge myop into master open binary_cross_entropy_backward test Created-by: probiotics_53 Commit-by: XianglongZeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 重新放开早前因报错被跳过的binary_cross_entropy_backward用例 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/81b18bd5-5f4b-4864-baa0-92ec820b01e3/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!491822 天前
fix ut Co-authored-by: DaiFu<daifu2@huawei.com> # message auto-generated for no-merge-commit merge: merge 2509ut into master fix ut Created-by: daifu1234567 Commit-by: DaiFu Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** fix test_binary_cross_with_logits_float16 by setting random seed > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Special notes for your reviewers**: See merge request: Ascend/op-plugin!32647 个月前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!2142 Add device_check testcase Merge pull request !2142 from wgb/bugfix 1 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/549c5212-645f-4d66-82e2-88926bc8515e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50431 天前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
[test] del test_cdist.py skip Co-authored-by: AACAES<liuyan7892@163.com> # message auto-generated for no-merge-commit merge: !5004 merge master into master [test] del test_cdist.py skip Created-by: AACAES Commit-by: AACAES Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> https://gitcode.com/Ascend/pytorch/issues/2085 - [ ] 需求 - [x] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) 去掉skip # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” 不涉及 # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” 不涉及 # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/c37923a6-404b-46fc-bc7d-7bdc53b6126e/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!50048 天前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
fix(op-plugin): identity ceil for integer tensors to avoid aclnn dtype errors Co-authored-by: Margaret_wangrui<wangrui178@huawei.com> # message auto-generated for no-merge-commit merge: !4908 merge ceil_op into master fix(op-plugin): identity ceil for integer tensors to avoid aclnn dtype errors Created-by: Margaret_wangrui Commit-by: Margaret_wangrui Merged-by: ascend-robot Description: ## 【合入来源】 如有社区 issue,请关联 issue 链接:**无对应社区 issue 则删除本行或填「无」** 请勿携带内部流程信息(需求链接、问题单、内部 issue 等) https://gitcode.com/Ascend/pytorch/issues/1864 **类型勾选(请按实际保留一项):** - [x] **问题单** - [ ] 需求 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 ------ ## 【修改方案】 CANN/aclnn 对整数 dtype 不支持或报错,需与 PyTorch 语义对齐 对整数 dtype(如 int32 / int64)的 ceil / ceil_,语义是恒等:没有小数部分可「向上取整」,结果就是原张量(out-of-place 常见实现是 clone(),in-place 等价于不重算)。CPU/主流后端都按这个来。 aclnnInplaceCeil(以及配套的 out-of-place aclnnCeil)面向的是浮点等支持取整的算子实现;对整数输入往往会 dtype 不支持 或直接 报错。 因此若在 op_api 里对整数张量仍调用 EXEC_NPU_CMD(aclnnInplaceCeil, self),就会在运行或测试(例如 transfer_to_npu、meta 相关)里踩雷。 1. **acl_op 路径(CeilKernelNpu.cpp)** - 增加整数张量判断(at::isIntegralType(..., false),与 CPU 语义一致:ceil 对整数为恒等)。 - ceil_out:整数时通过 copy_ + NPU 格式/连续性处理写回 result,不再调用 OpCommand("Ceil")。 - ceil:整数时返回 self.clone();非整数保持原 CANN 路径。 - ceil_ 仍通过 ceil_out(self, self),自然覆盖整数 inplace。 2. **op_api 路径(代码生成 + YAML)** - 在 op_plugin_functions.yamlceil.outgen_opapi 中增加 **integral_identity_tensor: self**,由 torchnpugen 在生成体最前插入整数早退分支,直接调用 **acl_op::ceil_out**(及同签名下的 ceil/ceil.out 生成逻辑),避免对整数走 aclnnCeil。 - **ceil_** 的 gen_opapi 由 **exec: aclnnInplaceCeil** 改为 **structured_inherit: ceil.out**,与 abs_ 等一致,生成 **op_api::ceil_out(self, self)**,统一走带整数早退的 ceil_out,避免整数上 aclnnInplaceCeil 报错,并降低与手写 OpApi 重复实现的风险。 3. **代码生成框架(torchnpugen/struct/model.pystruct_codegen.py)** - StructInfo 增加 **integral_identity_tensor** 字段;从 YAML gen_opapipop 该配置,避免参与 out 结果字段校验。 - struct_codegen 增加 **INTEGRAL_IDENTITY_GUARD** 模板,写入 StructKernelNpuOpApi.cpp 生成内容;在 **ACLNN_EXTENSION** include 分支中补充 **ATen/native/TypeProperties.h**,保证 at::isIntegralType 可见。 **交互关系简述:** 运行时 PyTorch 调度 → op_api(生成代码)或 acl_op;整数 ceil 在 op_api 早退回 acl_op::ceil_outacl_op 内不再调用 CANN Ceil;YAML ↔ torchnpugen ↔ StructKernelNpuOpApi.cpp 为构建期关系。 ------ ## 【资料变更】 **不涉及**(无对外用户文档/手册变更;若对外发布说明需声明「NPU 上整数 ceil 与 PyTorch 一致为恒等」,可由资料接口人另单跟踪。) ------ ## 【接口变更】 **不涉及** - 未新增/变更 Python API;torch.ceil / tensor.ceil_ 对外签名与行为与 PyTorch 对齐,属实现修正,非跨仓契约变更。 ------ ## 【功能验证】 - **场景** - 整数 dtype(如 int32/int64)张量在 NPU 上执行 ceilceil_ceil.out。 - 浮点 dtype 回归:ceil 仍走 CANN,结果与基线一致。 - **方法** - 运行与 ceil / meta / transfer_to_npu 相关的 PyTorch 测试或最小脚本:整数 tensor x,断言 torch.ceil(x).equal(x)(及 inplace 等价)。 - 对比修改前后:修改前若 CANN 对整数报错或异常,修改后应通过。 - **UT** - 若仓库已有 ceil/dtype 相关用例,应在本 PR 或关联提交中 **适配/补充** 整数 NPU 用例;**自验证截图**:请在 PR 中附上本地/CI 测试通过截图或日志片段。 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/4936ee3d-e150-4767-9f85-939a44ea9a77/image.png 'image.png') ------ ## 【CheckList】 (请提交人逐项改为 [x] 并自检) - [x] 代码注释完备,正确记录错误日志(本 PR 以整数语义与 CANN 限制注释为主;无新增复杂错误分支) - [x] 代码实现进行了返回值、空指针等校验(沿用现有 CheckOut/format_contiguous 等路径;整数分支为 copy_,与现有 NPU 写法一致) - [x] PR 标题正确使用类型标签(建议:fix(op-plugin): identity ceil for integer tensors on NPU) - [x] PR 持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!490820 天前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
!1513 Move UTs on PTA to OP-Plugin Part2 Merge pull request !1513 from 张向龙3/mv_ut_2 2 年前
add new api _chunk_cat Co-authored-by: jjt_3<1926550527@qq.com> # message auto-generated for no-merge-commit merge: !4509 merge chunkcat into master add new api _chunk_cat Created-by: jjt_3 Commit-by: jjt_3 Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > _chunk_cat和_chunk_cat.out算子适配 > 符合以下条件之一走入执行aclnnchunkcat算子分支: > a.输入tensor数据类型是bfloat16/float16,输出tensor数据类型是bfloat16/float16/float32,dim=0,contiguous > b.输入tensor数据类型是float32,输出tensor数据类型是float32,dim=0,contiguous > 其余情况走native实现,小算子拼接 # 【资料变更】 > 不涉及 # 【接口变更】 > 不涉及 # 【功能验证】 ![image.png](https://raw.gitcode.com/user-images/assets/7403085/89d57d5b-1499-4987-aa6b-691d2a3ae40a/image.png 'image.png') # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!45092 个月前
add ciou ops Co-authored-by: zhangyinxia<zhangyinxia@huawei.com> # message auto-generated for no-merge-commit merge: !4909 merge npu_ciou into master add ciou ops Created-by: zhangyinxia Commit-by: zhangyinxia Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列\ > 如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容) 新增ciou算子A5平台支持,对接aclnn算子,A2,A3保持不变 设计文档详见:https://gitcode.com/Ascend/op-plugin/issues/83 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” 新增算子支持A5平台 # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” 不涉及 # 【功能验证】 > 说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤\ > 新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图 ut验证: ![image.png](https://raw.gitcode.com/user-images/assets/7403085/d84fb441-868b-40d4-9462-b44f4a4768b0/image.png 'image.png') 新增A5平台用例执行通过。 atk验证: ![image.png](https://raw.gitcode.com/user-images/assets/7403085/6356754c-a707-4382-bf96-72093e02b651/image.png 'image.png') atk用例执行通过。 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!490913 天前