question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cuda runtime errors when starting up numba

See original GitHub issue

When this is run in a python script:

from numba.cuda.cudadrv.runtime import runtime
cudart_version_major = runtime.get_version()[0]  

With the following installed with conda: image

image

And the following from nvidia-smi: image

I receive the following error: image

Is this a compatibility issue or something else?

It is not easy for me to update the nvidia drivers (on a shared server). If it is a driver issue, why? What dependency does numba have on the nvidia drivers?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
roshambo919commented, Feb 9, 2021

Thanks all for the replies. That would be a good debug step and it’d be interesting to see what happens, but we just had the drivers updated on the machine, and now the same environment is working like a charm.

0reactions
gmarkallcommented, Feb 9, 2021

Glad to hear it’s now working! If there are no outstanding problems, please do close the issue 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting and tips — Numba 0.50.1 documentation
There can be various reasons why Numba cannot compile your code, and raises an error instead. One common reason is that your code...
Read more >
Call to cuLinkAddData results in UNKNOWN_CUDA_ERROR
Now I am getting the following error: "numba.cuda.cudadrv.driver.LinkerError: [222] Call to cuLinkAddData results in UNKNOWN_CUDA_ERROR
Read more >
numba cuda deprecation error : how to update my code?
Plainly the Numba GPU compiler can't compile a previously Numba compiled function, thus the error when you try and compile a device function ......
Read more >
Frequently Asked Questions - Numba documentation
How do I work around the CUDA initialized before forking error? · numba.cuda functions inside the child processes or after the...
Read more >
Introduction to Numba: CUDA Programming
Numba supports CUDA GPU programming by directly compiling a restricted subset ... into CUDA kernels and device functions following the CUDA execution model....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found