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

[Dy2St][PIR] Enable PIR ut test_container #63182

Merged

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Apr 2, 2024

PR Category

Execute Infrastructure

PR Types

Others

Description

更新 test/dygraph_to_static/test_container.py,移除 paddle.set_device('cpu'),在 PIR 模式下我们使用的 IrGuard 里调用的 enable_static 会消除掉前面设置的 device,进而导致 CUDA 700 错误,我们不需要固定在 CPU 跑,因此直接移除

Pcard-67164

Copy link

paddle-bot bot commented Apr 2, 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.

Copy link

paddle-bot bot commented Apr 2, 2024

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

@SigureMo SigureMo requested a review from gouzil April 2, 2024 08:16
@SigureMo SigureMo merged commit 09fe854 into PaddlePaddle:develop Apr 2, 2024
29 of 30 checks passed
@SigureMo SigureMo deleted the dy2st/enable-pir-ut-test-container branch April 2, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants