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

Multi-gpu support---only can run on gpu 0 #73

Open
sgflower66 opened this issue Jul 19, 2019 · 2 comments
Open

Multi-gpu support---only can run on gpu 0 #73

sgflower66 opened this issue Jul 19, 2019 · 2 comments

Comments

@sgflower66
Copy link

sgflower66 commented Jul 19, 2019

when I run the code, although I use multi-gpu, only gpu 0 is used.
I use config below:
python ./train.py
--gpu_ids 0,1,2,3
--batchsize 16
............

@junyanz
Copy link
Owner

junyanz commented Jul 22, 2019

It's strange. Have you set CUDA_VISIBLE_DEVICES?

@junyanz
Copy link
Owner

junyanz commented Jul 22, 2019

I just downloaded the code and it works for me. Could you check out the latest code?

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

2 participants