nextcloud / nextcloud/recognize
Successfully loaded libtensorflow in Node.js, but couldn't load GPU. Make sure CUDA Toolkit and cuDNN are installed and accessible, or turn off GPU mode.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 699
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
Which version of recognize are you using?
5.0.3
Enabled Modes
Face recognition
TensorFlow mode
GPU mode
Downstream App
Memories App
Which Nextcloud version do you have installed?
27.1.5
Which Operating system do you have installed?
Ubuntu 22.04
Which database are you running Nextcloud on?
Postgres 14.10
Which Docker container are you using to run Nextcloud? (if applicable)
N/A
How much RAM does your server have?
4Gb
What processor Architecture does your CPU have?
x86_64
Describe the Bug
This is minor but Recognize admin panel is telling me no GPU found, but everything seems to be working fine (I see the recognize/bin/node process running on my GPU using nvidia-smi). Not sure if normal, but although I see the process on my GPU, my CPU usage is also way up.
The exact warning appears in the NodeJS section of the admin panel:
Successfully loaded libtensorflow in Node.js, but couldn't load GPU. Make sure CUDA Toolkit and cuDNN are installed and accessible, or turn off GPU mode.
More info: Proxmox 7.2, Nextcloud LXC with GPU successfully passed through (it was already done for processing ffmpeg in the Memories app). Installed the CUDA and cuDNN libs through the recommended instructions (pip install tensorflow[and-cuda]) and python is finding my GPU.
Expected Behavior
If everything is working fine and using my GPU, then there shouldn't be any warning about GPU not found.
To Reproduce
Not sure, probably something to do with my setup. If you can point me where to look, I can provide more logs that may help.
Debug log
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the NodeJS section of the admin panel and the recognize/bin/node process, comparing its GPU detection with the nvidia-smi output described in the report. Reproduce the warning on Ubuntu 22.04 with GPU mode enabled and determine whether the panel accurately reflects TensorFlow GPU use; no debug log or source file is provided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, php, postgresql, tensorflow, ubuntu
- Domain
- backend, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100