pycuda._driver.Error:cuInit failed:unknown error

created at 10-21-2021 views: 3

problem

As the title, in the pytorch project, encountered in autoinit.py

pycuda._driver.Error: cuInit failed: unknown error

solution

Install the nvidia-modprobe package:

sudo apt-get install nvidia-modprobe
Please log in to leave a comment.