-
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
[Prim][CINN] Support decomp of clip and fix overflow in CINN codegen #64529
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
754f418
to
a84c31e
Compare
bfa2a6c
to
a066d35
Compare
60b7722
to
e61156c
Compare
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
std::ifstream file(path); | ||
|
||
if (!file.is_open()) { | ||
std::cerr << "Unable to open file: " << path << std::endl; |
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.
这里建议后续改为PADDLE_THROW
PR Category
Others
PR Types
Others
Description
Pcard-66975
Support decom rule of clip.
Fix float overflow in cude codegen in CINN.
Add flag FLAGS_cinn_custom_code_path to debug cude codegen in CINN: