|
What do I need to do to use the GPU in the recognize app?
My nextcloud is running in a docker container.
The drivers are installed correctly and they can be accessed from docker container in general. Just nextcloud does not want to activate the feature for gpu support:
$ docker run --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi Tue Apr 8 07:24:37 2025 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | 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 ... Off | 00000000:04:00.0 N/A | N/A | | N/A 32C P8 N/A / N/A | 5MiB / 2002MiB | N/A Default | | | | N/A | +-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
Here are some interesting sources:
How to check if ndivida drivers are installed correctly at the host and if docker container can use them.
What do I need to do to enable GPU mode in the Recognize app?
Here is a docker container with nextcloud, recognize and all nvidia drivers
Topic on github on nextcloud AIO and gpu passtrough
|