Hugging Face cache (~/.cache/huggingface) on Mac: what it is and whether you can delete it

MACMAN FOLDER · 2026-11-16

Review, then delete

What it is

Why it grows

When you load a Hugging Face model or dataset with libraries such as transformers or diffusers, the downloaded files are saved in this folder and reused from then on.

A model you tried once stays until you delete it. A single model can be several GB to tens of GB, so trying a few models fills it up quickly.

Before you delete

How to check its size

In Finder, choose Go > Go to Folder (Shift-Command-G), enter ~/.cache/huggingface, then use Get Info (Command-I) to see the size.

In Terminal, run du -sh ~/.cache/huggingface to see the size.

The free MacMan Scan diagnosis lists this folder with its size and grade. The scan is read-only.

How to shrink it safely

  1. Do not delete the whole ~/.cache/huggingface folder. Settings such as your sign-in token can live in it too.
  2. Open the hub folder inside it. Each model is a folder named in the form models--owner--name. Check each folder's size and pick the models you do not use.
  3. Move each chosen model's folder to the Trash as a whole. Deleting only some files inside it can leave a model that no longer loads correctly.
  4. A deleted model is downloaded again from scratch the next time your code loads it.

How MacMan Scan handles this folder

MacMan Scan lists this folder on the cleanup screen, unchecked. It becomes a deletion target only after you look at it and check it yourself.

Related folders

Get the free diagnosis

The scan is read-only. Diagnosis alone deletes nothing.