Skip to content
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

[DCU] fix bugs and surpport some fused ops #63217

Merged
merged 13 commits into from
Apr 12, 2024
Merged

[DCU] fix bugs and surpport some fused ops #63217

merged 13 commits into from
Apr 12, 2024

Conversation

yuguo-Jack
Copy link
Contributor

@yuguo-Jack yuguo-Jack commented Apr 3, 2024

PR Category

Custom Device

PR Types

Bug fixes

Description

重新支持dcu complex64/128
dcu支持fused_bias_residual_layernorm op
dcu支持fused_bias_dropout_residual_layer_norm前反向op
dcu支持rms_norm前反向op
解决depthwise conv grad op bug【https:/PaddlePaddle/Paddle/issues/60500】
解决 hip graph test bugs ,已知问题:需要 export HIP_GRAPH_LARGE_LAUNCH=0
相关test均通过

Copy link

paddle-bot bot commented Apr 3, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Apr 3, 2024
Copy link

paddle-bot bot commented Apr 3, 2024

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

qili93
qili93 previously approved these changes Apr 7, 2024
Copy link
Contributor

@qili93 qili93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -35,7 +35,11 @@ struct GeluFunctor {
template <typename T>
struct FastGeluFunctor {
inline __device__ T operator()(const T x) const {
#ifdef PADDLE_WITH_HIP
PADDLE_ENFORCE(0, "FastGelu not surpport for rocm");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI这里提示错误,建议修改为

PADDLE_THROW(phi::errors::Unimplemented("ROCM does not support FastGelu"));

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Apr 10, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation Apr 10, 2024
Copy link
Contributor

@qili93 qili93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qili93 qili93 merged commit 4f5e4f5 into PaddlePaddle:develop Apr 12, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants