Opendronemap/nodeodm:gpu - nvidia-smi detected - cannot initialize CUDA

Thanks Saijin,

And, thanks to the rest of the team for an awesome imagery processing platform.

I can confirm that running ODM directly with GPU enabled (e.g. docker run -ti --rm -v /home/xxxxxx/datasets:/datasets --gpus all opendronemap/odm:gpu --project-path /datasets project) works perfectly on both my Ubuntu 24.04 machines (machine 1: CPU = Tripper 5995wx and GPU = GeForce RTX 3060. machine 2:CPU = Xeon E5/Core i7 and GPU = T400 4GB) with the latest docker, cuda-toolkit, and nvidia-ctk installed on both.

docker version
Client: Docker Engine - Community
Version: 27.0.3
API version: 1.46
Go version: go1.21.11
Git commit: 7d4bcd8
Built: Sat Jun 29 00:02:23 2024
OS/Arch: linux/amd64
Context: default

cuda-toolkit-12-5 version (12.5.1-1)

NVIDIA Container Toolkit CLI version 1.16.0

When I run the latest opendronemap/nodeodm:gpu image, it runs on cpu only and I get
[INFO] nvidia-smi detected
[INFO] Using CPU for feature extraction: Cannot initialize CUDA

Cheers

j

2 Likes