anaconda torch code example
Example 1: conda install pytorch
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Example 2: torch conda
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
Example 3: install torch anaconda
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch