安装低版本的torch
G:\soft\python\py368\python.exe I:/SSDData/data/pycharm2019_3_1/hive_test/src/torch_test2.py
G:\soft\python\py368\lib\site-packages\torch\cuda_init_.py:117: UserWarning:
Found GPU0 Quadro K3000M which is of cuda capability 3.0.
PyTorch no longer supports this GPU because it is too old.
warnings.warn(old_gpu_warn % (d, name, major, capability[1]))
Traceback (most recent call last):
File “I:/SSDData/data/pycharm2019_3_1/hive_test/src/torch_test2.py”, line 5, in
print(x+y)
RuntimeError: CUDA error: invalid device function
Process finished with exit code 1