feat: add Ollama model management widget#15
Conversation
Slow polling to 15s when panel is closed (reduced CPU/memory load), restore 2s when panel is open for responsive GPU and loaded-model updates. Follows the same adaptive pattern already used by the AI usage timer.
|
@HANCORE-linux The requested correctness, payload, maintainability, polling/GPU, UI, and performance follow-up is now implemented. The branch has been updated through Correctness
Payload And Maintainability
Polling And GPU
UI
Final Verification
AMD A/B EvidenceThe report and all raw artifacts are committed under
PR-disabled own CPU was +0.1579 percentage point versus main, which crosses the requested 0.10 pp review flag. Main and enabled-closed PSS boundary growth crossed the requested review levels, while disabled PSS decreased; the report retains these as noisy boundary flags rather than presenting them as leak proof. Live-descendant CPU lower bounds, reaped-child CPU, calibrated process attribution, and QSG logs are included in the raw evidence. The real host is an RX 6700 XT using readable NVIDIA behavior was validated only with deterministic fixtures. No NVIDIA GPU was available on the benchmark machine, so working and broken NVIDIA behavior could not be tested on real hardware. |
Summary
Adds an optional, default-off Ollama widget for monitoring GPU utilization and managing local models from the Quickshell bar.
This supersedes #14 and is based on current
main.Features
Lifecycle And Performance
amdgpugpu_busy_percentsource without recurring child processesnvidia-smisampler with separate open/closed cadencesN/Auntil an explicit retry lifecycleReliability And UI
/api/tagsand/api/psbefore replacing model statetests/; no test-onlyShellRootis shipped inversions/V1Bar Integration
G16Testing
qmllintandgit diff --checkNotes
NVIDIA behavior was validated only with deterministic fixtures. No NVIDIA GPU was available on the contributor's test machine, so working and broken NVIDIA behavior could not be tested on real hardware.