I am want to see if I can get GPU acceleration in webodm. My docker installation passes the sanity check.
docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi
Thu Jul 21 18:41:18 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| 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 GRID A100X-20C On | 00000000:00:06.0 Off | 0 |
| N/A N/A P0 N/A / N/A | 2MiB / 20480MiB | 0% Default |
| | | Disabled |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
But when I start the docker with --gpu option I am getting this. Any suggestions?
./webodm.sh --gpu start
00:06.0 3D controller: NVIDIA Corporation Device 20b0 (rev a1)
GPU_NVIDIA has been found
Checking for docker... OK
Checking for docker-compose... OK
Starting WebODM...
Using the following environment:
================================
Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1
================================
Make sure to issue a ./webodm.sh down if you decide to change the environment.
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.gpu.nvidia.yml up --scale node-odm=1
ERROR: The Compose file './docker-compose.nodeodm.gpu.nvidia.yml' is invalid because:
Unsupported config option for services.node-odm: 'deploy'