问题
服务器重启后,使用显卡的程序突然不能运行了,运行torch.cuda.is_available()
报标题的错误。
具体如下:
>>> import torch
>>> torch.cuda
<module 'torch.cuda' from '/home/gpu-server/anaconda3/lib/python3.7/site-packages/torch/cuda/__init__.py'>
>>> torch.cuda.is_available
<function is_available at 0x7fb8f79017a0>
>></