Closed
[Bug-Report|缺陷反馈]: TopK RadixSelect 用例报AICore Error #3405
刘奕哲Add on Sep 21Closed at Sep 21
刘奕哲
Sep 21 Comments:
Sep 21 Comments:
/assign


Sep 21 Assign Creeeeper as responsible person
Sep 21 Associated pull request
Sep 21 Associated pull request
Sep 21 Close issue
Sep 21 Added label: resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
在PyPTO_Test中执行TopK RadixSelect用例时报错 AI Core Error
Environment / 环境信息 (Mandatory / 必填)
cann-9.2.0
A5
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
用例如下
case_name input_shape input_dtype input_format input_datarange output_shape output_dtype output_format count dim islargest view_shape tile_shape
topk_L0__8_11_128_104_-1_True_dense [8,11,128] int32 ND -5_5_uniform_normal [8,11,104],[8,11,104] int32,int32 ND,ND 104 -1 TRUE [2,5,128] [1,2,128]
Describe the expected behavior / 预期结果 (Mandatory / 必填)
pass
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
ErrCode: F1FFFF! Enum: InternalError::COMMON_INNER_ERROR. aicore exception, device_id: 7, stream_id: 61, task_id: 11, retcode: 507015, kernelName: PyPTO_create_topk_kernel_3dim_0_mix_aic
2026-09-21 09:19:49 | ERROR | case_2 | ReturnValue.py:104 | wrapper | case topk raise exception: npuSynchronizeDevice:../torch_npu/csrc/core/npu/NPUStream.cpp:703 NPU function error: device error type 3, error code is 507015
[ERROR] 2026-09-21-09:19:49 (PID:584297, Device:7, RankID:-1) ERR00100 PTA call acl api failed
Traceback (most recent call last):
File "/data/l00946631/PyPTO_Test/ReturnValue.py", line 101, in wrapper
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/data/l00946631/PyPTO_Test/ops/operation/topk.py", line 357, in topk
torch_npu.npu.synchronize()
File "/opt/conda/lib/python3.11/site-packages/torch_npu/npu/utils.py", line 72, in synchronize
return torch_npu._C._npu_synchronize()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: npuSynchronizeDevice:../torch_npu/csrc/core/npu/NPUStream.cpp:703 NPU function error: device error type 3, error code is 507015
[ERROR] 2026-09-21-09:19:49 (PID:584297, Device:7, RankID:-1) ERR00100 PTA call acl api failed
Special notes for this issue/备注 (Optional / 选填)