project-nomad/admin
Chris Sherwood c16cfc3a93 fix(GPU): detect NVIDIA GPUs via Docker API instead of lspci
The previous lspci-based GPU detection fails inside Docker containers
because lspci isn't available, causing Ollama to always run CPU-only
even when a GPU + NVIDIA Container Toolkit are present on the host.

Replace with Docker API runtime check (docker.info() -> Runtimes) as
primary detection method. This works from inside any container via the
mounted Docker socket and confirms both GPU presence and toolkit
installation. Keep lspci as fallback for host-based installs and AMD.

Also add Docker-based GPU detection to benchmark hardware info — exec
nvidia-smi inside the Ollama container to get the actual GPU model name
instead of showing "Not detected".

Tested on nomad3 (Intel Core Ultra 9 285HX + RTX 5060): AI performance
went from 12.7 tok/s (CPU) to 281.4 tok/s (GPU) — a 22x improvement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:18:52 -08:00
..
app fix(GPU): detect NVIDIA GPUs via Docker API instead of lspci 2026-02-08 15:18:52 -08:00
bin feat: initial commit 2025-06-29 15:51:08 -07:00
commands feat: cron job for system update checks 2026-02-06 15:40:30 -08:00
config feat: display model download progress 2026-02-06 16:22:23 -08:00
constants feat: zim content embedding 2026-02-08 13:20:10 -08:00
database fix: rework content tier system to dynamically determine install status 2026-02-04 22:58:21 -08:00
docs fix(GPU): detect NVIDIA GPUs via Docker API instead of lspci 2026-02-08 15:18:52 -08:00
inertia fix(System): correct memory usage percentage calculation 2026-02-08 13:23:39 -08:00
providers fix(Maps): static path resolution 2026-01-23 14:17:25 -08:00
public feat(docs): polish docs rendering with desert-themed components 2026-02-06 14:41:30 -08:00
resources/views fix(admin): add favicons 2026-01-13 06:58:05 -08:00
start feat: move KB UI into AI Assistant UI 2026-02-08 13:20:10 -08:00
tests feat: initial commit 2025-06-29 15:51:08 -07:00
types fix(System): show host OS, hostname, GPU instead of container info 2026-02-08 13:23:39 -08:00
util feat: display model download progress 2026-02-06 16:22:23 -08:00
views feat: initial commit 2025-06-29 15:51:08 -07:00
.editorconfig feat: initial commit 2025-06-29 15:51:08 -07:00
.env.example feat: Add Windows Docker Desktop support for local development 2026-01-19 10:29:24 -08:00
ace.js feat: initial commit 2025-06-29 15:51:08 -07:00
adonisrc.ts feat: background job overhaul with bullmq 2025-12-06 23:59:01 -08:00
eslint.config.js feat: openwebui+ollama and zim management 2025-07-09 09:08:21 -07:00
package-lock.json feat: zim content embedding 2026-02-08 13:20:10 -08:00
package.json feat: zim content embedding 2026-02-08 13:20:10 -08:00
tailwind.config.ts feat: initial commit 2025-06-29 15:51:08 -07:00
tsconfig.json feat: initial commit 2025-06-29 15:51:08 -07:00
vite.config.ts feat: initial commit 2025-06-29 15:51:08 -07:00