# Python 3.x
pip3 install torch torchvision
#for cuba
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
The best way is going to pytorch official website and coping the code
presented since it gives the best version according to your systems
requirements
NOTE: Python 3.9 users will need to add '-c=conda-forge' for installationconda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Code Example |
---|
Shell :: docker compose down single container |
Shell :: list apt installed programs |
Shell :: kill python |
Shell :: add user to debian 11 |
Shell :: bash_aliases fedora |
Shell :: pipe command in linux |
Shell :: how to hide hostname mac terminal |
Shell :: git file too long |
Shell :: install raylib osx |
Shell :: check ip address linux |
Shell :: ruby install |
Shell :: pyopengl install |
Shell :: npm uninstall package |
Shell :: pip install rasterio |
Shell :: ssh-copy-id example |
Shell :: powershell change directory |
Shell :: extract tar.gz in linux |
Shell :: npm version |
Shell :: pacman remove package |
Shell :: check laptop battery health using upower |
Shell :: debian get minor version |
Shell :: portainer install |
Shell :: git pull from previous commit |
Shell :: cambiar nombre branch git |
Shell :: kill running port in ubuntu using procees id |
Shell :: bashrc for powershell |
Shell :: pcsx2 |
Shell :: install conan |
Shell :: how to configure httpd in amazon ec2 instance |
Shell :: how to open sublime in linux |