Record: MI25 Vulkan device-lost — GPU-preset stability tuning — 2026-09-02

Incident

Root cause analysis

Change applied (beast only; baseline /usr/local/etc/config.ini.bak-20260902)

For all eight GPU presets (coder32, coder14, qwen9, gpt-oss-20b, gemma-12b, devstral, r1-14b, gemma-26b):

CPU heavyweights (gpt-oss-120b, r1-70b, llama70) untouched — still ngl = 0, CPU-only. Athena untouched (its presets genuinely fit its GPU); revisit if athena’s GPU shows the same resets. CORS not changed (tools mode defaults to localhost-only origins; optional --cors-origins in the unit’s ExecStart).

Gotcha discovered

The router snapshots /usr/local/etc/config.ini at llama.service start — it does not re-read the preset file per worker spawn. Edits require sudo systemctl restart llama.service to take effect (observed: post-edit respawns kept --flash-attn true until the restart).

Verification

Notes / recommendations