已合并
Remove Ascend950 version restriction for ACLNN support in _chunk_cat function #5357
nomiz创建于 7月2日
Remove Ascend950 version restriction for ACLNN support in _chunk_cat function #5357
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 nomiz 的贡献)ascend-robot
7月2日 评论:
7月2日 评论:
7月2日 添加了label:ascend-cla/yes
ascend-robot
7月2日 评论:
7月2日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-Ascend/op-plugin | ✅ liangsongwei, htchu (2/2) | ✅ liangsongwei, htchu (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
nomiz, thanks for your pull request. All authors of the commits have signed the CLA. 👍


7月2日 添加了label:ci-pipeline-running
ascend-robot
7月2日 评论:
7月2日 评论:
ascend docs pipeline is running...


7月2日 添加了label:docs-ci-pipeline-running
ascend-robot
7月2日 评论:
7月2日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


7月2日 删除了label:docs-ci-pipeline-running
7月2日 添加了label:docs-ci-pipeline-success
ascend-robot
7月2日 评论:
7月2日 评论:
ascend docs pipeline is running...


7月2日 删除了label:docs-ci-pipeline-success
7月2日 添加了label:docs-ci-pipeline-running
ascend-robot
7月2日 评论:
7月2日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


7月2日 删除了label:docs-ci-pipeline-running
7月2日 添加了label:docs-ci-pipeline-success
7月2日 删除了label:ci-pipeline-running
7月2日 添加了label:ci-pipeline-passed
ascend-robot
7月2日 评论:
7月2日 评论:
流水线 PR-pipeline_op-plugin#2362 [ commitID:3d61b61d ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_master_ARM | ✅ | >>> |
| Build_v2_7_1_ARM | ✅ | >>> | |
| Build_v2_9_0_ARM | ✅ | >>> | |
| Build_v2_10_0_ARM | ✅ | >>> | |
| Build_v2_11_0_ARM | ✅ | >>> | |
| Build_v2_12_0_ARM | ✅ | >>> | |
| Build_master_x86 | ✅ | >>> | |
| Build_v2_7_1_x86 | ✅ | >>> | |
| Build_v2_9_0_x86 | ✅ | >>> | |
| Build_v2_10_0_x86 | ✅ | >>> | |
| Build_v2_11_0_x86 | ✅ | >>> | |
| Build_v2_12_0_x86 | ✅ | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| CodeCheck_pre-commit | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_master_ARM_01 | ✅ | >>> |
| UT_v2_7_1_ARM | ✅ | >>> | |
| UT_v2_9_0_ARM | ✅ | >>> | |
| UT_v2_10_0_ARM | ✅ | >>> | |
| UT_v2_11_0_ARM | ✅ | >>> | |
| UT_v2_12_0_ARM | ✅ | >>> | |
| 流水线 | PR-pipeline_op-plugin | ✅ | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


atomgit-bot
7月2日 评论:
7月2日 评论:
变更摘要
此 PR 移除了 _chunk_cat 和 _chunk_cat_out 函数中对 ACLNN 支持的 Ascend950 版本限制条件。由于 A5(Ascend950)已支持 aclnnChunkCat 算子,原先的版本判断 c10_npu::GetSocVersion() < c10_npu::SocVersion::Ascend950 不再必要,只需通过 check_aclnn_kernel_available("aclnnChunkCat") 判断 ACLNN 内核是否可用即可。
主要改动
- 移除
_chunk_cat中的 Ascend950 版本限制:在npu_support_aclnn静态变量的初始化中,删除了&& c10_npu::GetSocVersion() < c10_npu::SocVersion::Ascend950条件,使得 ACLNN 内核可用性判断仅依赖check_aclnn_kernel_available("aclnnChunkCat")的返回值。 - 移除
_chunk_cat_out中的 Ascend950 版本限制:与_chunk_cat一致,同步删除了相同的版本限制条件,确保两个重载函数的行为对齐。


atomgit-bot
7月2日 评论:
7月2日 评论:
7月13日 删除了label:ci-pipeline-passed
7月13日 添加了label:ci-pipeline-running
ascend-robot
7月13日 评论:
7月13日 评论:
ascend docs pipeline is running...


7月13日 删除了label:docs-ci-pipeline-success
7月13日 添加了label:docs-ci-pipeline-running
ascend-robot
7月13日 评论:
7月13日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


7月13日 删除了label:docs-ci-pipeline-running
7月13日 添加了label:docs-ci-pipeline-success
7月13日 删除了label:ci-pipeline-running
7月13日 添加了label:ci-pipeline-passed
ascend-robot
7月13日 评论:
7月13日 评论:
流水线 PR-pipeline_op-plugin#2584 [ commitID:3d61b61d ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_master_ARM | ✅ | >>> |
| Build_v2_7_1_ARM | ✅ | >>> | |
| Build_v2_9_0_ARM | ✅ | >>> | |
| Build_v2_10_0_ARM | ✅ | >>> | |
| Build_v2_11_0_ARM | ✅ | >>> | |
| Build_v2_12_0_ARM | ✅ | >>> | |
| Build_master_x86 | ✅ | >>> | |
| Build_v2_7_1_x86 | ✅ | >>> | |
| Build_v2_9_0_x86 | ✅ | >>> | |
| Build_v2_10_0_x86 | ✅ | >>> | |
| Build_v2_11_0_x86 | ✅ | >>> | |
| Build_v2_12_0_x86 | ✅ | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| CodeCheck_pre-commit | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_master_ARM_01 | ✅ | >>> |
| UT_v2_7_1_ARM | ✅ | >>> | |
| UT_v2_9_0_ARM | ✅ | >>> | |
| UT_v2_10_0_ARM | ✅ | >>> | |
| UT_v2_11_0_ARM | ✅ | >>> | |
| UT_v2_12_0_ARM | ✅ | >>> | |
| 流水线 | PR-pipeline_op-plugin | ✅ | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


梁松伟
7月13日 评论:
7月13日 评论:
/approve


7月13日 添加了label:approved
7月13日 添加了label:lgtm
7月13日 关闭了关联的issue
7月13日 合入了pull request
【合入来源】
https://gitcode.com/Ascend/op-plugin/issues/182
【修改方案】
A5已支持aclnnchunkcat算子,该pr移除了 _chunk_cat 函数中 aclnn 支持的 Ascend950 版本限制条件
【资料变更】
【接口变更】
【功能验证】
ut验证结果

【CheckList】