Hello!
I’m using a code for decompressing an .svo file using the NEURAL model mode from inside a docker container based on the 4.0-runtime-cuda12.1-ubuntu22.04 image. I’ve executed the code succesfully in a computer with NVIDIA 4070 RTX.
Now I need to run the code in another PC with NVIDIA 3060 RTX. I’ve already transfered the image and runned a container using the same docker command, but when the code gets to:
#(...)Previous sl.InitParameters config
self.cam = sl.Camera()
self.status = self.cam.open(self.init)
if self.status != sl.ERROR_CODE.SUCCESS:
print(repr(self.status))
exit()
I get the next error:
NO GPU DETECTED
CUDA error at Camera.cpp:163 code=804(cudaErrorCompatNotSupportedOnDevice) "void sl::Camera::close()"
CUDA error at Camera.cpp:195 code=804(cudaErrorCompatNotSupportedOnDevice) "void sl::Camera::close()"
CUDA error at Camera.cpp:226 code=804(cudaErrorCompatNotSupportedOnDevice) "void sl::Camera::close()"
CUDA error at Camera.cpp:266 code=804(cudaErrorCompatNotSupportedOnDevice) "void sl::Camera::close()"
CUDA error at Camera.cpp:271 code=804(cudaErrorCompatNotSupportedOnDevice) "void sl::Camera::close()"
CUDA error at Camera.cpp:290 code=804(cudaErrorCompatNotSupportedOnDevice) "void sl::Camera::close()"
Now consider a second docker container which haves CUDA 11.4 from where I can run the code without getting any errors. The problem is that this container has another version of the ZED SDK and therefore the neural model version is 1.3, which to my project criteria has way less performance than the newer 2.0 version available in the image that I want to use in this PC.
The output of the 4.0-runtime-cuda12.1-ubuntu22.04 container when executing nvidia-smi is the next:
root@fd55cd44de3f:/home/mass_estimation# nvidia-smi
Wed Feb 28 19:10:33 2024
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | N/A |
| 0% 50C P8 15W / 170W | 597MiB / 12288MiB | 6% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
How can I fix the NO GPU DETECTED error?