Is it safe to delete Hugging Face models?

~/.cache/huggingface · Check first

What it is

AI models and datasets downloaded by Python libraries such as transformers and diffusers.

Can you delete it?

Sometimes, check what is inside first. Models can be tens of gigabytes each. They download again, but that can take hours.

How to clean it safely

  1. Run: huggingface-cli scan-cache (see what is there)
  2. Run: huggingface-cli delete-cache (pick what to remove)

Questions

Is it safe to delete ~/.cache/huggingface?

Sometimes, check what is inside first. Models can be tens of gigabytes each. They download again, but that can take hours.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free beta for Mac.

Download for Mac