How to install PyTorch 1.2 or up in window 10?

Hi,

I am using spyder (python 3.6) in window 10 to work with python programming. I need to install PyTorch 1.2 or up version in window 10. Who can show me how to install PyTorch 1.2 or up?

Thanks in advance!

Hi,

Open up conda prompt from anaconda installation path, then run this command:

conda install pytorch torchvision cudatoolkit=10.0 -c pytorch

Or open oup Powershell (windows native shell) then run the command.

By the way, the PyTorch doc is easy to follow and almost complete, a google query would be great!