“Instale o Pytorch para CUDA 10.0” Respostas de código

Instale o Pytorch para 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
Innocent Ibis

CUDA 10 Instale 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
Zealous Zebra

Respostas semelhantes a “Instale o Pytorch para CUDA 10.0”

Perguntas semelhantes a “Instale o Pytorch para CUDA 10.0”

Mais respostas relacionadas para “Instale o Pytorch para CUDA 10.0” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código