Skip to content

[XPU] support track rng state on XPU #68933

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 1 commit into from
Oct 25, 2024
Merged

Conversation

cqulilujia
Copy link
Contributor

PR Category

Custom Device

PR Types

New features

Description

将RNGStatesTracker中的paddle.get_cuda_rng_state()、paddle.set_cuda_rng_state()修改为通用接口paddle.get_rng_state()、paddle.set_rng_state()以支持XPU等其他device

Copy link

paddle-bot bot commented Oct 24, 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 XPU label Oct 24, 2024
@cqulilujia cqulilujia changed the title [XPU], support track rng state on XPU [XPU] support track rng state on XPU Oct 25, 2024
Copy link
Contributor

@lj970926 lj970926 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@RuohengMa RuohengMa left a comment

Choose a reason for hiding this comment

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

LGTM

@houj04 houj04 merged commit 3169b10 into PaddlePaddle:develop Oct 25, 2024
27 checks passed
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