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 GPUs error: RuntimeError: arguments are located on different GPUs #6

Open
JingyunLiang opened this issue May 21, 2018 · 3 comments

Comments

@JingyunLiang
Copy link

For multi GPU, it outputs:

RuntimeError: arguments are located on different GPUs at /pytorch/torch/lib/THC/generic/THCTensorMathBlas.cu:236

How to fix it?

@dichen-cd
Copy link
Collaborator

Currently I don't have a multi-gpu environment, sorry about that. You are welcomed to create a PR if you have a solution.

Just by any chance it works, try reduce the batch/tensor size.

@mxtx0509
Copy link

Hello, is your problem solved? Can you train on multiple GPUs? Thanks

@mxtx0509
Copy link

I encountered the same problem during multi-GPU training.

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

3 participants