0
点赞
收藏
分享

微信扫一扫

ubuntu netplan工具原理(网络配置、ip修改ip、固定ip)(NetworkManager)

Pytorch配置环境

cuda与cudnn的下载

cudatoolkit下载:https://developer.nvidia.com/cuda-toolkit-archive

cudnn下载:https://developer.nvidia.com/rdp/cudnn-archive

cuda支持情况:https://developer.nvidia.com/cuda-gpus#compute

cuda和cudnn的对应关系:https://developer.nvidia.com/rdp/cudnn-archive#a-collapse742-10

使用 PyTorch 查看 CUDA 和 cuDNN 版本

import torch
print(torch.__version__)

print(torch.version.cuda)
print(torch.backends.cudnn.version())

安装命令

配置清华源码

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

安装命令

pip install torch==1.10.1+cu102 torchvision==0.11.2+cu102 torchaudio==0.10.1+cu102 -f https://download.pytorch.org/whl/torch_stable.html

版本对应:

torchtorchvision对应关系,来源:官方Repo: vision

torchtorchvisionpython
main / nightlymain / nightly>=3.8, <=3.10
2.0.00.15.1>=3.8, <=3.10
1.13.00.14.0>=3.7.2, <=3.10
1.12.00.13.0>=3.7, <=3.10
1.11.00.12.3>=3.7, <=3.10
1.10.20.11.3>=3.6, <=3.9
1.10.10.11.2>=3.6, <=3.9
1.10.00.11.1>=3.6, <=3.9
1.9.10.10.1>=3.6, <=3.9
1.9.00.10.0>=3.6, <=3.9
1.8.20.9.2>=3.6, <=3.9
1.8.10.9.1>=3.6, <=3.9
1.8.00.9.0>=3.6, <=3.9
1.7.10.8.2>=3.6, <=3.9
1.7.00.8.1>=3.6, <=3.8
1.7.00.8.0>=3.6, <=3.8
1.6.00.7.0>=3.6, <=3.8
1.5.10.6.1>=3.5, <=3.8
1.5.00.6.0>=3.5, <=3.8
1.4.00.5.0==2.7, >=3.5, <=3.8
1.3.10.4.2==2.7, >=3.5, <=3.7
1.3.00.4.1==2.7, >=3.5, <=3.7
1.2.00.4.0==2.7, >=3.5, <=3.7
1.1.00.3.0==2.7, >=3.5, <=3.7
<=1.0.10.2.2==2.7, >=3.5, <=3.7

torchtorchaudio对应关系,来源:官方Repo: audio

torchtorchaudiopython
main / nightlymain / nightly>=3.8, <=3.10
2.0.12.0.2>=3.8, <=3.11
2.0.02.0.1>=3.8, <=3.11
1.13.10.13.1>=3.7, <=3.10
1.13.00.13.0>=3.7, <=3.10
1.12.00.12.0>=3.7, <=3.10
1.11.00.11.0>=3.7, <=3.9
1.10.00.10.0>=3.6, <=3.9
1.9.10.9.1>=3.6, <=3.9
1.9.00.9.0>=3.6, <=3.9
1.8.20.8.2>=3.6, <=3.9
1.8.10.8.1>=3.6, <=3.9
1.8.00.8.0>=3.6, <=3.9
1.7.10.7.2>=3.6, <=3.9
1.7.00.7.0>=3.6, <=3.8
1.6.00.6.0>=3.6, <=3.8
1.5.00.5.0>=3.5, <=3.8
1.4.00.4.0==2.7, >=3.5, <=3.8
  • 当已经装好torch包时,pip install torchvision torchaudio会自动寻找对应的版本安装。 等待再次验证是否有效。

备注

帮忙安装各种深度学习环境:anaconda,pycharm,tensorflow,pytorch,虚拟机配置等等,也可帮忙配置和复现顶会论文;可联系1505413361@qq.com,不是free的哈,伸手党勿扰谢谢

举报

相关推荐

0 条评论