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

set multiple gpu using set_device() #4253

Open
shwetgarg opened this issue Jun 1, 2016 · 5 comments
Open

set multiple gpu using set_device() #4253

shwetgarg opened this issue Jun 1, 2016 · 5 comments

Comments

@shwetgarg
Copy link

I am unable to use multiple gpu using set_device. I have tried following things, but nothing working:

set_device(0,1)
set_device([0,1])

Please guide for proper usage.

@zjharper
Copy link

zjharper commented Jul 14, 2016

Python allows you to choose a single GPU using set_device(). Multi-GPU is only supported on the C++ interface. The --gpu flag used for this purpose is discussed in the caffe-docs.

@jiangqb
Copy link

jiangqb commented May 21, 2017

Terrible...

@zjharper
Copy link

Update: Merge #4563 in January integrated NCCL to enable multi-GPU through the python interface. I suggest trying out the train.py demonstration. Good luck!

@mrgransky
Copy link

mrgransky commented Apr 26, 2020

My trial as expined here did not work for TEST phase!

So how does the API work in python now for TEST phase?

@ghost
Copy link

ghost commented Apr 26, 2020 via email

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

4 participants