pytorch版本,cuda版本,系统cuda版本查询和对应关系

版本查询:

python版本:直接which python或者python进入界面查看;

pytorch版本:进入python,import torch, torch.__version__

cudatoolkit版本:进入python,import torch, torch.version.cuda

系统cuda:一般在/user/local/cuda

还有一个 cudnn?

对应关系:

这里pytorch和cudatoolkit版本对应关系:

https://pytorch.org/get-started/previous-versions/

cudatoolkit版本和系统cuda对应关系:

xxx

猜你喜欢

转载自www.cnblogs.com/Wanggcong/p/12625540.html