Closed
[Bug-Report|缺陷反馈]: fp4cast精度错误 #3443
bynshardAdd on  Sep 23Closed at  Sep 28
bynshard
bynshardCollaborators
Sep 23 Create

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

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

Cast_L0_fp4_fp4_e1m2_134_182_216_dense [4,1,32] bf16 ND 0_1_uniform_robust [4,1,32] fp4_e1m2 ND [4,1,32] [3,1,32] 4 0.012265071 fp4_e1m2 0 0
实际shape 是 [4,1,32] ,tileshape 是的 [3,1,32],会有精度问题。
这个形状的 fp4 cast 会有精度错误

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

A5
主线版本代码

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

执行该形状的单算子

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

精度正确

精度错误

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

likedislike
bynshardbynshardCollaborators
Sep 23 Associated pull request
bynshardbynshardCollaborators
Sep 23 Associated pull request
袁野袁野Collaborators
Sep 23 Assign bynshard as responsible person
bynshardbynshardCollaborators
Sep 24 Modify description of issue
bynshardbynshardCollaborators
Sep 28 changed custom state from 进行中 to 已完成
bynshardbynshardCollaborators
Sep 28 Close issue
CANN-robotCANN-robotCollaborators
Sep 28 Added label: resolved