CUDA

4篇文章
1 Pytorch中.to()和.cuda()的区别 如果需要指定的设备是GPU则.to()和.cuda()没有区别,如果设备是cpu,则不能使用.cuda()。也就是说.to()既可以指定CPU也可…
1 CUDA 安装报错 could not create file "...\chrome_elf.dll" 今天重新在win 7上安装CUDA 10.2的时候报了这个错,人都懵了,我以为是卸载之前的…
1 测试代码 import time import torch if __name__ == '__main__': print('torch版本:'+torch.__version__) print…
1 查看CUDA版本号 低版本使用: nvcc -v 高版本使用: nvcc --version 查看CUDA版本号。 2 查看cuDNN版本号 旧版本cuDNN使用以下命令查看版本号: cat /u…

关注我们的公众号

微信公众号