Table of Contents
-
Depending on use, it can be anywhere from a couple of gigabytes, to dozens of gigabytes (in my case: 29GB).
Cached pretrained models, tokens and data sets used in locally installed AI tools and Python scripts.
If you are running any application or a Python script which might be using Huggingface cache (for example: StableDiffusion, Tortoise TTS,…), stop these applications and/or scripts before proceeding.
Set the HF_HOME environment variable to a location which you want Huggingface to store Hub data to.
Alternatively, you can run the following PowerShell script to set the HF_HOME environment variable:
hfHubSetCacheEnvVar.ps1
pwsh .\hfHubSetCacheEnvVar.ps1