For those interested: the pip command depends on your environment (python version and operating system) and it is not the same for Linux, Mac, or Windows. Check the right boxes for your OS and choose “None” in the CUDA part on this website. It will give you the right installation command (you do not need vision and audio so you can remove that from the command).

  
      
      pytorch.org
  
  
    

PyTorch 56

An open source deep learning platform that provides a seamless path from research prototyping to production deployment.