Closed
[Bug-Report|缺陷反馈]: torch.linalg.cholesky合理用例被tiling拦截 #4677
xiu_ling_wangAdd on 8 days agoClosed at 7 days ago
8 days ago Added label: bug-report
xiu_ling_wang
8 days ago Comments:
8 days ago Comments:
/assign @xiu_ling_wang


8 days ago Assign xiu_ling_wang as responsible person
7 days ago Close issue
7 days ago changed custom state from 待办的 to 已完成
7 days ago Added label: resolved
一、问题描述 (必填)
输入为3维tensor时,PTA会对三维tensor打上NCL标签,实际存储格式还是ND

[2026-11-11 14:42:01] [ERROR] [127.0.0.1:9090@device_run_0] [1793379] [opp_tasks.py:455] torch.linalg.cholesky run error!
Traceback (most recent call last):
File "/home/miniconda3/envs/mayue39/lib/python3.9/site-packages/atk/tasks/backends/backend.py", line 348, in forward_run
output = self.api_executor(input_data, with_output)
File "function_torch_linalg_cholesky.py", line 37, in call
output = torch.linalg.cholesky(input.to(torch.float32), upper=upper).to(torch.bfloat16)
RuntimeError: linalg_cholesky:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:46 NPU function error: call aclnnLinalgCholesky failed, error code is 561103
[ERROR] 2026-11-11-14:42:01 (PID:1793379, Device:0, RankID:-1) ERR00100 PTA call acl api failed.
[PID: 1793379] 2026-11-11-14:42:01.129.980 Invalid_Argument_Tensor_Format(EZ0018): Parameters x origin, x storage, y origin, y storage of Cholesky have incorrect formats 47, 47, 2, 2. Reason: all input and output formats must be ND.
Solution: Check whether the formats of input/output tensors meet the condition.
TraceBack (most recent call last):
Failed to execute operator aclnnLinalgCholesky_3_CholeskyAiCore. Reason: Failed to execute tiling.
Kernel GetWorkspace failed. opType: 5
CholeskyAiCore ADD_TO_LAUNCHER_LIST_AICORE failed.
二、环境信息 (可选)
A2
三、重现步骤 (可选)
四、预期结果 (可选)
💡 备注(选填)