Files
localgenai/pyinfra
noisedestroyers 228fe8d1ac Build btop 1.4 from source with AMD GPU support
apt's btop on 24.04 is 1.3.x, which has no AMD GPU monitoring. 1.4+
adds it but requires C++23, which gcc-13 (24.04 default) doesn't fully
support. Plan:

- Add ubuntu-toolchain-r/test PPA, install g++-14 (C++23-capable).
- Add librocm-smi-dev to ROCm host diagnostics — btop dlopens
  librocm_smi64 at runtime; the headers are needed at compile time.
- Drop btop from apt list, build from a pinned BTOP_VERSION tag with
  GPU_SUPPORT=true CXX=g++-14 -j; install to /usr/local/bin.
- Idempotent — only rebuilds if installed version doesn't match.

After deploy: btop → Esc → Options → "show_gpu_info" → On to enable
the GPU panel.

Also clean up TODO.md — the box is on 24.04 (noble), not 26.04. The
libxml2 ABI mismatch / "ROCm gap" section was stale.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 16:34:52 -04:00
..
2026-05-08 11:35:10 -04:00
2026-05-08 11:35:10 -04:00

pyinfra

One folder per station. Each subfolder is a self-contained pyinfra deploy: inventory.py, deploy.py, run.sh, plus any compose files or assets that ship to the host.

Station Host Notes
framework/ 10.0.0.237 Framework Desktop (Strix Halo, 128 GB) — local LLM box

To bring up a station, cd into its folder and run ./run.sh. See the station's own README for prerequisites.