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

4 gpus works fine while 8 gpus causes memory leakage and runs slow? #58

Closed
hszhao opened this issue Sep 27, 2018 · 8 comments
Closed

4 gpus works fine while 8 gpus causes memory leakage and runs slow? #58

hszhao opened this issue Sep 27, 2018 · 8 comments

Comments

@hszhao
Copy link

hszhao commented Sep 27, 2018

I tested sync inplace abn on 8 x GTX TITAN and 8 x TITAN Xp machine. In both case, using 4 gpus works well while memory leakage appears when 8 gpus are adopted.
gpu: GeForce GTX TITAN and TITAN Xp
cuda: 8.0
pytorch: 0.4.1
gcc: 5.2.0

@Spandan-Madan
Copy link

Did you mean your GCC is 5.2.0? Also, did you compile pytorch from source or used conda?

I have the same configs but get errors when trying to run.

@hszhao
Copy link
Author

hszhao commented Sep 27, 2018

@Spandan-Madan , yes, gcc is 5.2.0. I use conda to install pytorch and test my own code with sync inplace abn incorporated.

@KeyKy
Copy link

KeyKy commented Oct 9, 2018

I get the same problem.

@ackness
Copy link

ackness commented Dec 7, 2018

same problem.
8 gpus died, 4 gpus works well, 6 gpus very slow :(

@wangjingbo1219
Copy link

same problem

@rotabulo
Copy link
Contributor

rotabulo commented Jan 8, 2019

@hszhao @Spandan-Madan @ackness @wangjingbo1219 @KeyKy we have released today a new version of our code that requires PyTorch v1.0 and supports multi-process synchronization. This solves problems with training on more than 4 Gpus.

@rotabulo
Copy link
Contributor

Closing because the new version should have solved the issue.

@charlesCXK
Copy link

charlesCXK commented Apr 13, 2019

Thank you, the newest version of Inplace ABN solves the problem.

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

7 participants