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

[cherry-pick] [PHI] gaussian_random kernel fix accuracy drop (#46747) #46858

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

Silv3S
Copy link
Member

@Silv3S Silv3S commented Oct 10, 2022

PR types

Bug fixes

PR changes

Others

Describe

During PHI migration framework::GetCPURandomEngine() was removed. In PR #45481 I didn't add extra seed check to generator, which resulted in accuracy drop in hapi_mnist_bf16_static.py.

This PR adds seed check and restores desired accuracy

@paddle-bot
Copy link

paddle-bot bot commented Oct 10, 2022

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

@phlrain phlrain merged commit 2190da2 into PaddlePaddle:release/2.4 Oct 11, 2022
@Silv3S Silv3S deleted the phi_9 branch October 11, 2022 13:04
@paddle-bot-old paddle-bot-old bot removed the contributor External developers label Oct 17, 2022
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.

3 participants