Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install pytorch for cuda 10.0

# CUDA 10.2
pip install torch==1.6.0 torchvision==0.7.0

# CUDA 10.1
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html

# CUDA 9.2
pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html

# CPU only
pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
Comment

cuda 10 install pytorch

# CUDA 9.2
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=9.2 -c pytorch

# CUDA 10.0
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch

# CPU Only
conda install pytorch==1.2.0 torchvision==0.4.0 cpuonly -c pytorch
Comment

PREVIOUS NEXT
Code Example
Shell :: cli zip 
Shell :: yarn start --reset-cache 
Shell :: env npm 
Shell :: how to print specific line from a file in bash 
Shell :: httpd https 
Shell :: download windows lock screen wallpaper 
Shell :: create symbolic link linux 
Shell :: how to check the parent branch in git 
Shell :: install golang 
Shell :: get current user debian 
Shell :: git change commit author 
Shell :: nginx file permission 
Shell :: docker remove tag 
Shell :: grep show lines above and below 
Shell :: tar compress powershell 
Shell :: switch to remote branch git 
Shell :: how to install zsh in fedora 
Shell :: uninstall all requirements 
Shell :: chokidar npm 
Shell :: ubuntu server 20.04 list users 
Shell :: powershell length of string 
Shell :: ubuntu + set timezone 
Shell :: leap year bash shell 
Shell :: ng command not found 
Shell :: install github cli debian 
Shell :: docker remove all images powershell 
Shell :: make current branch master 
Shell :: split string in shell 
Shell :: configure editor for git 
Shell :: change ratio vmware ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =