Answers for "torch version for python 3.7"

0

get the torch version

import torch
print(torch.__version__)
Posted by: Guest on June-06-2020
1

torch 1.1.0 install

# CUDA 9.0
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=9.0 -c pytorch

# CUDA 10.0
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch

# CPU Only
conda install pytorch-cpu==1.1.0 torchvision-cpu==0.3.0 cpuonly -c pytorch
Posted by: Guest on September-20-2021

Python Answers by Framework

Browse Popular Code Answers by Language