-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot initialize CUDA even if nvidia-smi detected #1813
Conversation
CUDA can't be properly initialized if cuda-compat on host and docker mismatches. Removing cuda-compat-11-2 package fixes the issue Issue discussion: https://community.opendronemap.org/t/opendronemap-nodeodm-gpu-nvidia-smi-detected-cannot-initialize-cuda/21124 [INFO] nvidia-smi detected [INFO] Using CPU for feature extraction: Cannot initialize CUDA
Thanks for the PR. Is this going to break for people using 11.2? |
Hi, I hope not, but I tested it with 12.2, 12.4 and 12.6. I think I can test it with 11.2 in some days if you need me to? |
Pinging @ehallein to see what testing should be done here. |
Yep, will need to be tested on 11.2 if we want have that as the minimum requirement. What host operating system has this been tested on? |
built docker image and tested Aukerman dataset on windows 11 with an RTX 3070, GPU was detected and everything worked |
I have the same issue. Can we merge this PR to get this resolved? |
@pierotofy this should be fine to merge. |
CUDA can't be properly initialized if cuda-compat on host and docker mismatches. Removing cuda-compat-11-2 package fixes the issue
Issue discussion:
https://community.opendronemap.org/t/opendronemap-nodeodm-gpu-nvidia-smi-detected-cannot-initialize-cuda/21124
log: