Skip to content

[XPU] avoid using xpu-smi to query device info #72136

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

Merged
merged 5 commits into from
Apr 10, 2025

Conversation

lj970926
Copy link
Contributor

@lj970926 lj970926 commented Apr 8, 2025

PR Category

Custom Device

PR Types

Performance

Description

Because the significant performance dropping on hygron CPU, we use xpuml calls to replace xpu-smi.

Copy link

paddle-bot bot commented Apr 8, 2025

你的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 XPU label Apr 8, 2025
Copy link
Contributor

@dynamicheart dynamicheart left a comment

Choose a reason for hiding this comment

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

LGTM

@skywalker2012
Copy link
Contributor

LGTM

@houj04 houj04 merged commit 0511272 into PaddlePaddle:develop Apr 10, 2025
32 checks passed
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
* [XPU] avoid using xpu-smi to query device info

* refine code

* return MB when querying memory

* fix bugs

* add unittest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants