What is the .cache/huggingface folder on my Mac?

It belongs to Hugging Face tools (transformers, diffusers, hf CLI). Here’s what’s inside and the right way to deal with it.

Short answer

~/.cache/huggingface/hub stores models and datasets downloaded by Python libraries like transformers and diffusers. Everything there can be downloaded again. The Hugging Face CLI lists and removes cached models for you; run hf cache --help to see the commands in your version.

Skip the manual steps. Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.

Location: ~/.cache/huggingface/hub

What’s inside

  • models--publisher--name folders
  • datasets
  • shared blobs
Our verdict: Your choice. You downloaded this on purpose. Remove it if you don’t use it; you can download it again.

See and clean it

hf cache --help

The cache commands were renamed between versions, so check the help output. Older installs use huggingface-cli scan-cache and huggingface-cli delete-cache.

Find every folder like this on your Mac

Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.

Frequently asked questions

Can I delete .cache/huggingface?

Your choice: You downloaded this on purpose. Remove it if you don’t use it; you can download it again. ~/.cache/huggingface/hub stores models and datasets downloaded by Python libraries like transformers and diffusers. Everything there can be downloaded again. The Hugging Face CLI lists and removes cached models for you; run hf cache --help to see the commands in your version.

Where is .cache/huggingface on my Mac?

~/.cache/huggingface/hub. In Finder choose Go › Go to Folder and paste the path.

How big does .cache/huggingface get?

Usually 2 – 200 GB.

Keep reading