Merged
feat: aclnnTopk 支持 sortLen 超 int32 上限的 RadixTopK int64 索引 #10291
Nice tryAdd on Sep 11
feat: aclnnTopk 支持 sortLen 超 int32 上限的 RadixTopK int64 索引 #10291
Merged
Merged fromNice_try/ops-nn-workRadixTopKInt64intocann/ops-nnmaster
Pull Request has been successfully merged by CANN-robot.
(Thank you for Nice try's contribution.)Sep 11 Added label: cann-cla/yes
CANN-robot
Sep 11 Comments:
Sep 11 Comments:
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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| index | ✅ 汤平川, 陈兴宇 (2/2) | ✅ 陈兴宇, 汤平川 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
Nice_try, thanks for your pull request. All authors of the commits have signed the CLA. 👍


Sep 11 Set zengjuan,chenfeng61,chaotang233,kevin_huang1234,FelixTang7,crystalhu,yangyang016,fanqirui,wangrui_,su-yueming,chenqi317,wang-xing001,liubo75,tangweiwei2,chenxingyu18,pingchuantang,qianzehong as approver
Sep 11 Set zengjuan,chenfeng61,chaotang233,kevin_huang1234,FelixTang7,crystalhu,yangyang016,fanqirui,wangrui_,su-yueming,chenqi317,wang-xing001,liubo75,tangweiwei2,chenxingyu18,pingchuantang,qianzehong as approver
Sep 11 Set chenfeng61,kevin_huang1234,FelixTang7,wangrui_,su-yueming,wang-xing001,chenxingyu18,pingchuantang,qianzehong as approver
Sep 11 Set chenfeng61,kevin_huang1234,FelixTang7,wangrui_,su-yueming,wang-xing001,chenxingyu18,pingchuantang,qianzehong as approver
84 messages are collapsed here。 See more
TangPC
28 days ago Comments:
28 days ago Comments:
/lgtm
/approve


28 days ago Added label: lgtm
28 days ago Closed associated issue
28 days ago Merged pull request
CANN-robot
28 days ago Comments:
28 days ago Comments:
Pull Request 已合并或已关闭。
If you want to solve this problem, you can click here to do it in the FAQs.


描述
本改动为 aclnnTopk 接口接入 RadixTopK 的 int64 大 shape 路径:当排序轴长度 sortLen 超过 int32 上限(2147483647)时,RadixTopK 支持判定改为要求 indices 输出为 int64 并放行,同时在 positiveDim 等于 lastDim 分支对 int64 索引直接透传,绕过暂不接管该场景的 Sort/GatherElementsV2 组合。此外修正两条参数校验错误日志的字符串拼接格式。
改动原因
改动方法
关联的Issue
测试
本次改动仅涉及 op_api 支持性判定与索引透传分支,仓库中未包含对应测试代码改动。
文档更新
无
类型标签
AI/Agent生成声明