knowledge-vault/sources/references/AI学习笔记/查看cuda版本和pytorch版本.md

190 B

python 进入python环境

import torch

torch.version

torch.cuda.is_available()

cuda版本

nvcc --version

谁装的,谁卸载

conda uninstall pytorch

 OR

pip uninstall torch