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

Delete the /paddle/fluid/platform/device/npu directory #52384

Merged
merged 3 commits into from
Apr 1, 2023

Conversation

jjyaoao
Copy link
Contributor

@jjyaoao jjyaoao commented Mar 30, 2023

PR types

Others

PR changes

Others

Describe

#52319

@paddle-bot
Copy link

paddle-bot bot commented Mar 30, 2023

你的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.

@KimBioInfoStudio
Copy link
Contributor

KimBioInfoStudio commented Mar 31, 2023

ronny1996
ronny1996 previously approved these changes Mar 31, 2023
Copy link
Contributor

@ronny1996 ronny1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@KimBioInfoStudio
Copy link
Contributor

image

其他一些部分引入了被删掉部分头文件造成 build 失败

@@ -20,7 +20,6 @@
#include "paddle/phi/common/amp_type_traits.h"

#ifdef PADDLE_WITH_ASCEND_CL
#include "paddle/fluid/platform/device/npu/npu_op_runner.h"
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

去掉头文件后,前后的ifdef和endif空了,也可以去掉了。这个PR有多处这种情况,需要处理下。也可以下一个PR来处理。

@luotao1 luotao1 merged commit 69436bf into PaddlePaddle:develop Apr 1, 2023
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.

5 participants