电脑本地安装了cuda11.2版本,显卡驱动配置如下图:
去官网查询安装pytorch-GPU版本命令:Previous PyTorch Versions | PyTorch
选择红框版本安装命令
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
电脑本地安装了cuda11.2版本,显卡驱动配置如下图:
去官网查询安装pytorch-GPU版本命令:Previous PyTorch Versions | PyTorch
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html