pytorch anaconda install windows

Shell
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
Source

Also in Shell: