Files
localgenai/pyinfra/framework/deploy.py
noisedestroyers 37b0cd9a58 Build nvtop 3.2 from source (apt's 3.0.2 doesn't detect gfx1151)
Ubuntu 26.04 ships nvtop 3.0.2 via apt, which predates the gfx1151
sysfs detection improvements that landed in 3.2.x. Symptom: nvtop
runs but the iGPU doesn't appear.

Drop nvtop from the apt package list, add a from-source build step
that pulls a pinned NVTOP_VERSION, builds with -DAMDGPU_SUPPORT=ON,
and installs to /usr/local/bin (which wins over /usr/bin in PATH).
Idempotent: only rebuilds when the installed version doesn't match.

Run `sudo nvtop` to see container processes — non-root users only
see their own /proc/<pid>/fdinfo entries.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:56:10 -04:00

18 KiB