Skip to content
ProGamerGov edited this page Sep 16, 2019 · 28 revisions

Error Messages


Traceback (most recent call last):
  File "/usr/local/bin/neural-style", line 428, in <module>
    main()
  File "/usr/local/bin/neural-style", line 65, in main
    dtype = setup_gpu()
  File "/usr/local/bin/neural-style", line 293, in setup_gpu
    torch.cuda.set_device(params.gpu)
  File "/usr/local/lib/python3.5/dist-packages/torch/cuda/__init__.py", line 281, in set_device
    torch._C._cuda_setDevice(device)
  File "/usr/local/lib/python3.5/dist-packages/torch/cuda/__init__.py", line 178, in _lazy_init
    _check_driver()
  File "/usr/local/lib/python3.5/dist-packages/torch/cuda/__init__.py", line 108, in _check_driver
    of the CUDA driver.""".format(str(torch._C._cuda_getDriverVersion())))
AssertionError:
The NVIDIA driver on your system is too old (found version 9000).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.
Traceback (most recent call last):
  File "/usr/local/bin/neural-style", line 428, in <module>
    main()
  File "/usr/local/bin/neural-style", line 65, in main
    dtype = setup_gpu()
  File "/usr/local/bin/neural-style", line 293, in setup_gpu
    torch.cuda.set_device(params.gpu)
  File "/usr/local/lib/python3.5/dist-packages/torch/cuda/__init__.py", line 281, in set_device
    torch._C._cuda_setDevice(device)
  File "/usr/local/lib/python3.5/dist-packages/torch/cuda/__init__.py", line 178, in _lazy_init
    _check_driver()
  File "/usr/local/lib/python3.5/dist-packages/torch/cuda/__init__.py", line 108, in _check_driver
    of the CUDA driver.""".format(str(torch._C._cuda_getDriverVersion())))
AssertionError:
The NVIDIA driver on your system is too old (found version 9010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.

You will need to update your drivers if you wish to the downloaded version of PyTorch.


Clone this wiki locally