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

多GPU训练 #37

Open
Dongjiuqing opened this issue Jan 12, 2022 · 0 comments
Open

多GPU训练 #37

Dongjiuqing opened this issue Jan 12, 2022 · 0 comments

Comments

@Dongjiuqing
Copy link

您好作者,您的这篇复现对我很有帮助。我已经训练完成并在自己的数据集上得到了很好的效果。

遇到了一些问题,但目前不知如何解决。
但我尝试使用 --device 1,2 这个参数,稍微调大batch_size的时候,
提示out-of-memory。我是有三块3090的,如果同时调用两块gpu应该不会报超出显存的错误。
我使用 --device 1,2 时候,只调用gpu1,另外一块无法同时调用。不知道是什么问题。

我使用了pytorch=1.10,cuda11.3,python3.6

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

No branches or pull requests

1 participant