Install Pytorch on Linux - GeeksforGeeks
www.geeksforgeeks.org › install-pytorch-on-linuxOct 06, 2021 · The below command is used to install PyTorch in the system which has GPU. Make sure you have python 3.6 or 3.7 or 3.8. pip3 install torch torchvision torchaudio. To make sure PyTorch is installed in your system just type python3 and run it, After that type import torch for use PyTorch library at last type and run print(torch.__version__) it shows which version of PyTorch was installed in your system if PyTorch was installed in your system.