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

Out of data error on Windows with 2 CUDA capable cards #116

Closed
TheDailySpank opened this issue Apr 15, 2021 · 2 comments
Closed

Out of data error on Windows with 2 CUDA capable cards #116

TheDailySpank opened this issue Apr 15, 2021 · 2 comments

Comments

@TheDailySpank
Copy link

Long story short, Torch doesn't like working with multiple GPUs on Windows (shared storage related issue).

Fix is to set n_gpu = 1 in train()

Any chance we could set n_gpu=1 as a default when running on Windows?

import os
if os.name == 'nt':
    n_gpu = 1
@minimaxir
Copy link
Owner

Sure, can do something like that. (w/ an appropriate log message)

@TheDailySpank
Copy link
Author

Awesome. Thank you!

I had almost stopped trying to get it to work after about 3 days of tracking down the cause.

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