查看当前pytorch的cuda版本

https://stackoverflow.com/questions/64089854/pytorch-detection-of-cuda

In the conda env (myenv) where pytorch is installed do the following:

conda activate myenv

torch.version.cuda
posted @ 2022-09-19 14:46  TR_Goldfish  阅读(37)  评论(0编辑  收藏  举报