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

Running on several gpu #55

Open
SaraCasti opened this issue May 24, 2019 · 2 comments
Open

Running on several gpu #55

SaraCasti opened this issue May 24, 2019 · 2 comments

Comments

@SaraCasti
Copy link

Hello everyone!
I am working on a project which make use of your neural renderer implementation. We would like to run our code in parallel on several GPU. Running the code on gpu different from 0, we got an error, so we tried to pass device (properly modifing the source code of the renderer) forcing to work on gpu:1. In this case, the renderer returns a tensor of 0. What could be the problem? Is mandatory to run the renderer on gpu:0 ?

Thanks so much in advance!

@zhipeng-fan
Copy link

Got the same problem here! Simply changing the device from cuda:0 to cuda:1 seems not going to work. Actually, if inspecting the the nvidia-smi very carefully, some of the operation were still carried out on GPU:0 even the device was changed to 1 somehow. Got all zero rendered image as well.

@SaraCasti
Copy link
Author

Got the same problem here! Simply changing the device from cuda:0 to cuda:1 seems not going to work. Actually, if inspecting the the nvidia-smi very carefully, some of the operation were still carried out on GPU:0 even the device was changed to 1 somehow. Got all zero rendered image as well.

Yes, exactly, we did the same, and we got the same result (all zero in the rendered image).. Do you find a way to fix it?

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