-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[AMP OP&Test]support prod、meshgrid、expand_as bf16 dtype #53865
[AMP OP&Test]support prod、meshgrid、expand_as bf16 dtype #53865
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
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
or not core.is_bfloat16_supported(core.CUDAPlace(0)), | ||
"core is not compiled with CUDA or not support the bfloat16", | ||
) | ||
class TestExpandAsOpRank2BFP16OP(TestExpandAsOpRank2): |
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.
这个直接继承TestExpandAsBasicBFP16OP可以减少重复代码,下同
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.
"core is not compiled with CUDA or not support the bfloat16", | ||
) | ||
class TestMeshgridOpBFP16OP(TestMeshgridOp): | ||
def init_data_type(self): |
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.
感谢,在这个PR修复PR53951
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.
Almost LGTM,两个问题下个PR需要改下
PR types
Others
PR changes
Others
Description
Pcard-66975
背景:
PR改动: