Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
原代码在调用内部计算函数l0op::AddRmsNorm后,未对返回的主输出张量指针yComputeOut进行空指针校验,若该指针为空,后续的拷贝操作将导致程序崩溃或产生未定义行为。
910B arrch64
调用torch_npu.npu_add_rms_norm,传入eps为负数时,只在tiling侧有校验,aclnn接口没有校验拦截,直接core_dump。
调用torch_npu.npu_add_rms_norm,传入eps为负数时,有明确的校验拦截并结束进程。
/assign
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为负数时,有明确的校验拦截并结束进程。
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
调用torch_npu.npu_add_rms_norm,传入eps为负数时,只在tiling侧有校验,aclnn接口没有校验拦截,直接core_dump。
Special notes for this issue/备注 (Optional / 选填)