conda install pytorch

C++
conda install -c anaconda pandas conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorchconda install pytorch torchvision cudatoolkit=10.2 -c pytorchconda install pytorch torchvision cudatoolkit=10.1 -c pytorchconda install pytorch torchvision cudatoolkit=10.0 -c pytorchpip install torch===1.5.0 torchvision===0.6.0 -f https://download.pytorch.org/whl/torch_stable.html
Source

Also in C++: