RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at /home/username/github/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu:103
See original GitHub issue❓RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at /home/username/github/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/nms.cu:103
Hello, when I run the Mask_R-CNN_demo.ipynb, in the ‘cuda’ mode, everything goes well until the last kernel. When running predictions = coco_demo.run_on_opencv_image(image)
, the error happens.
For finding the reason, I try the following things, which make me more confused:
As an output of collect_env.py
, I get the following informations:
Collecting environment information...
PyTorch version: 1.0.0.dev20181106
Is debug build: No
CUDA used to build PyTorch: 9.0.176
OS: Ubuntu 18.04.1 LTS
GCC version: (Ubuntu 6.4.0-17ubuntu1) 6.4.0 20180424
CMake version: version 3.10.2
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 9.1.85
GPU models and configuration:
GPU 0: GeForce GTX 1080 Ti
GPU 1: GeForce GTX 1080 Ti
Nvidia driver version: 390.67
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_static_v7.a
Versions of relevant libraries:
[pip3] numpy (1.15.1)
[pip3] torch (0.4.1)
[conda] Could not collect
And I also try to run the ./deviceQuery
in NVIDIA_CUDA-9.1_Samples/bin/x86_64/linux/release
, it gives the PASS
result, more concretely:
deviceQuery,
CUDA Driver = CUDART,
CUDA Driver Version = 9.1,
CUDA Runtime Version = 9.1,
NumDevs = 2
Result = PASS
All the tests above shows that the cuda runtime version matches the cuda driver version. I hence don’t know where comes from this runtime error, and how to fix it?
Thank you.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
CUDA driver version is insufficient for CUDA runtime version
I got the message: "cutilCheckMsg() CUTIL CUDA error : kernel launch failure : CUDA driver
Read more >Error: CUDA driver version is insufficient for CUDA runtime ...
I just installed CUDA 10.0 and NVIDIA-390.87, and the driver version is the latest for my GTX 1060. And when I was installing...
Read more >CUDA driver version is insufficient for CUDA runtime version ...
THCudaCheck FAIL file=/export/home/yzhao83/torch/extra/cutorch/lib/THC/THCGeneral.c line=70 error=35 : CUDA driver version is insufficient for CUDA runtime ...
Read more >CUDA driver version is insufficient for CUDA runtime version
I am unable to trace the line of reasoning being followed by this error message (specifically that CUDA driver version is insufficient for...
Read more >CUDA driver version is insufficient for CUDA runtime version at
Hello, I am new in pytorch&CUDA stack in ML and at this moment stuck on issue with error message above. Most likely the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried removing all torch related libs and then reinstall with
conda install pytorch-nightly cuda92 -c pytorch
?I’l try doing what @lanpa mentioned. I don’t really have any other suggestions 😕