已关闭
[Bug-Report|缺陷反馈]: l0返回值修改添加校验 #919
zhaosusu创建于  2月9日关闭于  2月10日
zhaosusu
2月9日 创建

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

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

原代码在调用内部计算函数l0op::AddRmsNorm后,未对返回的主输出张量指针yComputeOut进行空指针校验,若该指针为空,后续的拷贝操作将导致程序崩溃或产生未定义行为。

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

910B
arrch64

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

调用torch_npu.npu_add_rms_norm,传入eps为负数时,只在tiling侧有校验,aclnn接口没有校验拦截,直接core_dump。

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

调用torch_npu.npu_add_rms_norm,传入eps为负数时,有明确的校验拦截并结束进程。

调用torch_npu.npu_add_rms_norm,传入eps为负数时,只在tiling侧有校验,aclnn接口没有校验拦截,直接core_dump。

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

likedislike
zhaosusu
2月9日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
2月9日 将 zhaosusu 设为负责人
CANN-robotCANN-robot成员
2月10日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved