已关闭
[Bug-Report|缺陷反馈]: depthwise2d部分场景发生ai core error;conv2dv2算子非fp32场景下,强行开始enable_hf32时被拦截 #4786
huafeng793创建于 7 天前关闭于 7 天前
7 天前 添加了label:bug-report
7 天前 将 huafeng793 设为负责人
Hhuafeng793
7 天前 修改标题为 “[Bug-Report|缺陷反馈]: depthwise2d部分场景发生ai core error;conv2dv2算子非fp32场景下,强行开始enable_hf32时被拦截”,原标题为“[Bug-Report|缺陷反馈]: depthwise2d simplify场景部分case aic;conv2dv2算子非fp32场景下,强行开始enable_hf32时被拦截”
7 天前 修改标题为 “[Bug-Report|缺陷反馈]: depthwise2d部分场景发生ai core error;conv2dv2算子非fp32场景下,强行开始enable_hf32时被拦截”,原标题为“[Bug-Report|缺陷反馈]: depthwise2d simplify场景部分case aic;conv2dv2算子非fp32场景下,强行开始enable_hf32时被拦截”
7 天前 关闭了 issue
7 天前 添加了label:resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
需要修复:
1、修复depthwise2d simplify 场景下,kernel全部在pad上滑动时引发的ai core error问题
2、conv2dv2算子非fp32场景下,强行开始enable_hf32时,改成关闭hf32、不再异常拦截
Environment / 环境信息 (Mandatory / 必填)
ascend950
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
2)ai core error 问题用例验证精度通过:
input_shapes: ((24,7,1,15), (14,1,1,15), [14], None)
output_shape: (24,14,487,7)
input_dtypes: ('float32', 'float32', 'float32', 'int8')
output_dtype: float32
attrs: {'strides': [1,1,1,1], 'pads':[243,243,3,3], 'dilations':[1,1,242,1], 'groups':7, 'data_format':'NCHW'}
input_formats: ('NCHW','NCHW','ND','ND')
output_format: NCHW
3)hf32问题验证不再被拦截,用例精度通过:
ops: conv2dv2
input_dtypes: ('float16', 'float16', 'float16', 'int8')
output_dtype: float16
attrs: {"enable_hf32": true}
Describe the expected behavior / 预期结果 (Mandatory / 必填)
功能、精度通过
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
无
Special notes for this issue/备注 (Optional / 选填)
无