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.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- node.js, php, postgresql, tensorflow, ubuntu
调研方向
从管理面板的 NodeJS 部分和 recognize/bin/node 进程开始,将其 GPU 检测结果与报告中描述的 nvidia-smi 输出进行比较。在启用 GPU 模式的 Ubuntu 22.04 上重现该警告,并确定面板是否准确反映 TensorFlow 的 GPU 使用情况;未提供调试日志或源文件。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- PHP
- 星标
- 698
- 派生
- 68
- 平均合并
- 18 小时 34 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/recognize 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
insertDeletion looks up recognize_fs_deletions by node_id alone, which no index covers — bulk removals scan the whole table per file可能已有人在做 @marcelklehr 于 9 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
-
enhancement
难度 3/5 1-2 天 新手友好度 65/100
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
-
Recognize maintenance routine unnecessarily redownloads Tensorflow CPU and GPU models every time可能重新可做 @marcelklehr 于 189 天前认领,目前没有进行中的 PR。 未关闭bug
查看 nextcloud/recognize 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
crazy-goat/rabbit-stream#753 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
opensourcepos/opensourcepos#4743 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
grokability/snipe-it#19786 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
PrestaShop/PrestaShop#43140 ·
维护者通常 1 天内回复