• v0.8.1 9ff7ee9c1e

    v0.8.1:0 - delete model weights from disk via card trash icon

    grant released this 2026-05-13 22:07:20 +00:00 | 48 commits to master since this release

    Each model card now shows whether its weights are present on disk
    (with GB size) or not yet downloaded. When present and the model
    isn't currently loaded, a trash icon appears; clicking it pops a
    confirmation showing exactly how many GB will be freed and on
    which Spark(s), then runs rm -rf on the HF cache directory via SSH.

    Cluster-mode models are removed from both Sparks; solo-mode from
    Spark 1 only. Safety rails: refuses to delete the currently-loaded
    model, refuses during an in-flight swap or download, and the
    catalog entry stays intact so it can be re-downloaded anytime.

    Backend:

    • new image/app/disk.py: probe_disk + delete_from_disk over SSH
    • GET /api/models/disk-status — parallel probe across all catalog models
    • DELETE /api/models/{key}/disk — guarded rm -rf, logs to connectivity events

    Frontend:

    • on-disk / not-downloaded pills on every card
    • trash icon-btn in card-actions row (hidden when not on disk)
    • confirmation dialog showing per-host bytes-to-free
    • disk-status re-checked every 60s

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    Downloads