cuda pytorch版本对应关系

在这里插入图片描述

在这里插入图片描述
pytorch安装时,官网安装代码中的cuda小版本可以自己换

算力:
在这里插入图片描述

https://www.aiuai.cn/aifarm1293.html

镜像源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes

遇到http问题,conda config --remove-key channels,重新添加channels

测试cuda

import torch
print(torch.__version__)
print(torch.cuda.is_available())

pillar只能在python3.6 运行
pointrcnn 环境:1.0<=torch<=1.4, 注意cudatoolkit版本和torch匹配
注意:
编译只能是cuda独立安装在系统上(不能是conda)

conda cudatoolkit 和 cuda同时安装问题:https://blog.csdn.net/qq_38156052/article/details/103663759

Logo

免费领 200 小时云算力,进群参与显卡、AI PC 幸运抽奖

更多推荐