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
- Run:
huggingface-cli scan-cache (see what is there) - Run:
huggingface-cli delete-cache (pick what to remove)
Related folders
- Xcode DerivedData ·
~/Library/Developer/Xcode/DerivedData - iOS DeviceSupport ·
~/Library/Developer/Xcode/iOS DeviceSupport - Xcode Archives ·
~/Library/Developer/Xcode/Archives - iOS Simulators ·
~/Library/Developer/CoreSimulator - CoreDevice (connected devices) ·
~/Library/Developer/CoreDevice
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