pytorch_gpu下载安装,适合cuda11.6,极简代码风

conda create -n pytorch python=3.7 -y   
conda activate pytorch
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu116
python
import torch
torch.cuda.is_available()

你可能感兴趣的:(pytorch,深度学习,python)