Uninstall: offer to delete downloaded models, with a command that works
The old hint pointed at `hf`, which lived in the venv uninstall had just deleted. Uninstall now lists llm-host's catalog models in the cache with their sizes and asks (default no); --models deletes without asking. It runs `uv tool run --from huggingface_hub hf cache rm`, which also frees blobs in the shared hub/blobs directory, and prints that exact command when models are kept. Models outside the catalog are never touched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QaE1hpvyZTJixEbUUMj9Ca
This commit is contained in:
parent
458b0cfc32
commit
22e3019725
2 changed files with 41 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ PYTHONPATH=. python3 -P -m llmhost plan --simulate apple:64 # a 64 GB Mac
|
|||
| `llmhost opencode-setup` | install opencode here if needed and connect it to this server |
|
||||
| `llmhost opencode-config` | print what to add to opencode on another machine |
|
||||
| `llmhost update` | pull the latest llm-host and re-plan (`--backend` also upgrades vLLM/MLX) |
|
||||
| `llmhost uninstall [--purge]` | remove services and backends (downloaded models are kept) |
|
||||
| `llmhost uninstall [--purge] [--models]` | remove services and backends; asks before deleting downloaded models (`--models` deletes without asking) |
|
||||
|
||||
The dashboard (`http://<host>.local:8080`) shows the active model, throughput, KV cache, GPU utilization,
|
||||
temperature and power with 10-minute charts, the server log, and buttons to switch models or stop the server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue