已合并
修复topkv2算子的oom问题 #2857
修复topkv2算子的oom问题 #2857
已合并
cy_hw创建于 5月20日
cy_hw
cy_hw成员
5月20日

描述

TopKV2算子在多核radix模板时报aicerror,模板在最后处理结果时,出现GM访问越界。

关联的Issue

https://gitcode.com/cann/ops-math/issues/1575

测试

ST测试通过,全量用例OOM测试通过,二级冒烟测试通过

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 cy_hw 的贡献)
cy_hwcy_hw成员
5月20日 创建了 pull request,commit 3824de11
CANN-robot
CANN-robot成员
5月20日 评论:

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-cann/ops-math 宋凯, wangrui_ (2/2) 宋凯 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

caoyan_huawei, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
5月20日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
5月20日 将zhou-qilong,wangrui_,rxtfeng,loov1,zhangzijie,jia0liang,songkai111,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
5月20日 将zhou-qilong,wangrui_,rxtfeng,loov1,zhangzijie,jia0liang,songkai111,llimwang,gubaocheng设为审查人
cy_hwcy_hw成员
5月20日 修改了pull request 的描述
cy_hw
cy_hw成员
5月20日 评论:

compile

likedislike
cy_hwcy_hw成员
5月20日 update merge request[project id: 7649531, iid: 2857, commit_id: d713205e157bc16b1403d659914cf4d66fb66252] virtual merging success
CANN-robotCANN-robot成员
5月20日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
5月20日 评论:

流水线任务触发成功
任务链接 [940592af1b8747b9bc397cf288b2136e][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
harmony-infer ✅ SUCCESS
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-05-20 17:34:31]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
5月20日 评论:

流水线任务触发成功
任务链接 [443778ca06434365a6da2e605c016a43][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ⚠️ WARNING
codecheck_precommit ✅ SUCCESS >>>>>

[2026-05-20 17:29:20]    CI执行结束

likedislike
CANN-robotCANN-robot成员
5月20日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
5月20日 添加了label:ci-pipeline-passed
RuiWang_成员
5月21日 评论:

/lgtm

likedislike
songkai111成员
5月21日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
5月21日 添加了label:lgtmapproved
CANN-robot
CANN-robot成员
5月21日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 宋凯.
Reviewers who wrote a comment of /lgtm are: wangrui_, 宋凯.

likedislike
CANN-robotCANN-robot成员
5月21日 合入了pull request