-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Hackathon No.64】trace 算子FP16/BF16单测完善 #52954
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
@@ -68,6 +68,48 @@ def init_config(self): | |||
) | |||
|
|||
|
|||
class TestTraceFP16Op(TestTraceOp): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
补充一个case,同bf16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Others
PR changes
Others
Describe
trace 算子FP16/BF16单测完善
![图片](https://user-images.githubusercontent.com/4617245/232280207-b38dd9b5-437a-4403-9e25-ac75705ffe6f.png)
BF16 设置numeric_grad_delta 为 0.02, 设置为0.01测试误差错误