CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[XPU] improve error print format for some kernels #72787
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #72787 +/- ##
==========================================
Coverage ? 50.00%
==========================================
Files ? 1
Lines ? 4
Branches ? 0
==========================================
Hits ? 2
Misses ? 2
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
@@ -62,7 +62,7 @@ void StackGradKernel(const Context& dev_ctx, | |||
PADDLE_ENFORCE_LE( | |||
needed_slices, | |||
n_slices, | |||
phi::errors::InvalidArgument( | |||
common::errors::InvalidArgument( |
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.
Namespace的变更有啥说法吗?
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.
不太清楚背景,之前统一清过一波: #67796 ,现在这些phi都是那次清理之后引入的
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
"PaddlePaddle should compile with DWITH_XPU_BKCL.")); | ||
PADDLE_THROW(common::errors::PreconditionNotMet( | ||
"PaddlePaddle is not compiled with DWITH_XPU_BKCL, please recompile with " | ||
"DWITH_XPU_BKCL for using p_recv_kernel.")); |
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.
这里是p_recv_array
吧
"PaddlePaddle should compile with DWITH_XPU_BKCL.")); | ||
PADDLE_THROW(common::errors::PreconditionNotMet( | ||
"PaddlePaddle is not compiled with DWITH_XPU_BKCL, please recompile with " | ||
"DWITH_XPU_BKCL for using p_send_kernel.")); |
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.
这里是p_send_array
吧
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一起修复
PR Category
Custom Device
PR Types
Improvements
Description
Improve error print format for some XPU kernels: p_send, p_recv, gather, pool, etc.