已关闭
[Bug-Report|缺陷反馈]: leaky_relu算子执行出错 #387
CPZhou创建于  1月13日关闭于  1月15日
CPZhou
CPZhou成员
1月13日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

用例执行出错
temp = torch.nn.functional.leaky_relu_(torch.randn(10, dtype=torch.float16).npu())

Environment / 环境信息 (Mandatory / 必填)

Ascend 950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

temp = torch.nn.functional.leaky_relu_(torch.randn(10, dtype=torch.float16).npu())

Describe the expected behavior / 预期结果 (Mandatory / 必填)

可以正常输出结果

[ERROR] APP(1069425,python3):2026-01-12-18:51:58.395.123 [log_inner.cpp:78]1069567 build/CMakeFiles/torch_npu.dir/compiler_depend.ts:ExecFuncOpApi:445: "[PTA]:"Custom hand error:operator():build/CMakeFiles/torch_npu.dir/compiler_depend.ts:1896 NPU function error: call aclnnInplaceLeakyRelu failed, error code is 107000
[ERROR] 2026-01-12-18:51:58 (PID:1069425, Device:0, RankID:-1) ERR00100 PTA call acl api failed
[Error]: Parameter verification failed.
Check whether the input parameters of the interface are correct.
[PID: 1069425] 2026-01-12-18:51:58.393.769 Invalid_Argument(EE1001): The argument is invalid.Reason: BinaryGetFunctionByEntry failed, funcEntry=1
Solutio""
[ERROR] APP(1069425,python3):2026-01-12-18:51:58.395.143 [log_inner.cpp:78]1069567 build/CMakeFiles/torch_npu.dir/compiler_depend.ts:ExecFuncOpApi:449: "[PTA]:"Custom hand fail! name=aclnnInplaceLeakyRelu, ret=100000""
[ERROR] APP(1069425,python3):2026-01-12-18:51:58.395.155 [log_inner.cpp:78]1069567 build/CMakeFiles/torch_npu.dir/compiler_depend.ts:ReadQueue:438: "[PTA]:"---Thread---139809857328896: device = 0, write_idx = 1, read_idx = 0, status = 0, ret = 100000""

Special notes for this issue/备注 (Optional / 选填)

likedislike
CPZhouCPZhou成员
1月13日 修改了issue 的描述
jiangjiawei成员
1月13日 评论:

感谢您的反馈,正在处理中

likedislike
CPZhouCPZhou成员
1月15日 issue状态由 进行中 改变为 已完成
CPZhouCPZhou成员
1月15日 关闭了 issue
CANN-robotCANN-robot成员
1月15日 添加了label:Accepted
CANN-robotCANN-robot成员
3月20日 添加了label:resolved