目录
linux服务器会自动安装cuda,但是nvcc版本还是旧版本
nvcc 是12.2 ,但是torch没有对应的12.2 ,怎么安装torch?
引用functional
import torch.nn.functional as torch_F
linux服务器会自动安装cuda,但是nvcc版本还是旧版本
pip install torch==2.2.0 torchvision==0.17.0 --index-url https://download.pytorch.or