You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the codes on macOS without NVIDIA GPU Graphic Card available. I wonder how I can run the scripts in CPU-only mode. What sections should I modify?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
malikeh1375
changed the title
Exection in CPU-only Mode
Execution in CPU-only Mode
Jul 7, 2021
In pytorch you can call the .to() function to attach a device to another GPU / CPU.
tensor.to('cpu') should attach the tensor to the CPU of your computer. However, I believe that quite a lot of tensors should be reattched so I would recommend that you be careful with this.
I am running the codes on macOS without NVIDIA GPU Graphic Card available. I wonder how I can run the scripts in CPU-only mode. What sections should I modify?
Thanks in advance!
The text was updated successfully, but these errors were encountered: