-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[HACKATHON 6th] Refactor phi module structure #64541
base: develop
Are you sure you want to change the base?
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
Sorry to inform you that 9dd1a25's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
This reverts commit 0dd9dab.
Sorry to inform you that 810251c's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
|
PR Category
Environment Adaptation
PR Types
Improvements
Description
以 Linux 平台为例,将 PHI 模块下的 Kernel 实现中的 GPU 算子部分抽离出来,单独编译为
libphi_gpu.so
,其余部分编译为libphi_core.so
,从而使 Paddle 可以编译 6 个 CUDA 架构。同时,创建空libphi.so
,将libphi_core.so
与libphi_gpu.so
与其链接,使得对用户的代码改动影响最小。