How to Delete Abandoned Ollama & Hugging Face Models on Mac
Modern developer machines run local LLMs and diffusion models. A single 7B model uses 4–6 GB, 32B uses ~20 GB, and 70B uses 40+ GB. Over months of prototyping, forgotten checkpoints quietly swallow 100+ GB of your SSD. Here is how to find and reclaim them.
Where local AI models hide on macOS
Unlike standard applications, AI frameworks do not use macOS Application Support standard paths with clear file names. Instead, weights are split across hashed blob stores:
~/.ollama/models/blobs/
~/.cache/huggingface/hub/
~/.cache/lm-studio/models/
~/.cache/torch/hub/checkpoints/
Step 1: Check and delete Ollama models
First, list all installed Ollama models and their disk footprint:
ollama listRemove any models you experimented with and no longer use:
ollama rm llama3.1:70b ollama rm mistral-nemo ollama rm deepseek-coder:6.7bTip: If you uninstalled Ollama previously without deleting models, the weights might still linger in ~/.ollama/models/blobs. Check with: du -sh ~/.ollama.
Step 2: Clean Hugging Face Hub cache with CLI
Python developers using transformers or diffusers accumulate gigabytes in Hugging Face's snapshot storage. The official CLI includes a cache manager:
huggingface-cli delete-cacheThis launches an interactive TUI showing each cached repo, its size, and last modified date. You can select revisions to delete safely without corrupting shared symlinks.
Manual clean (Nuclear option):
rm -rf ~/.cache/huggingface/hub/*Step 3: Clear PyTorch & ComfyUI checkpoint directories
Pretrained weights downloaded by torchvision or timm reside in:
rm -rf ~/.cache/torch/hub/checkpoints/*For ComfyUI or Automatic1111 users, check your checkpoints subfolder:
find ~/ComfyUI/models/checkpoints -name "*.safetensors" -size +1GThe 1-click solution: SpaceWise Model Graveyard
Hunting through 5 different CLI tools and cryptic SHA-256 hash files is tedious and risky. SpaceWise introduces the Model Graveyard:
- Unified AI Scan: Aggregates Ollama, Hugging Face, LM Studio, and PyTorch in one visual screen.
- Human-Readable Names: Decodes SHA hashes back to their actual model names (e.g. "Qwen-2.5-Coder-32B").
- Staleness Detection: Flags weights that haven't been loaded in 60+ days.
- Trash-Only Deletion: Moves weights to macOS Trash so you never suffer accidental data loss.
Do all of this in SpaceWise — for free
SpaceWise scans and safely cleans everything covered in this guide with one click. No Terminal required.
Download for Mac FreeRelated Guides
How to Free Up Docker Disk Space on Mac
Prune dangling images, BuildKit layers, and unused volumes safely.
How to Clean Xcode DerivedData on Mac
Reclaim 20–80 GB from Xcode build caches and unused simulator runtimes.
How to Delete node_modules Safely
Free gigabytes from dormant JavaScript projects without breaking anything.