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_gpu下载安装,适合cuda11.6,极简代码风
于 2023-01-02 12:51:45 首次发布