-
Notifications
You must be signed in to change notification settings - Fork 500
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
torch.device("cuda:0")? #110
Comments
The model should load onto cpu by default, and then you should be able to load the model onto any device after |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been testing around loading models at float16 via CUDA and by cpu.
Is it best to use map_location=torch.device("cpu")?
Or can we use torch.device("cuda:0")? Was LPIPS trained on cpu making this a situaltion where map_location='cpu' is needed?
Thanks for your input! :)
The text was updated successfully, but these errors were encountered: