docs: add cache clear instructions

pull/324/head
Bryce 1 year ago committed by Bryce Drennan
parent bffe1ffde0
commit 629c1c9ba9

@ -441,9 +441,17 @@ docker run -it --gpus all -v $HOME/.cache/huggingface:/root/.cache/huggingface -
## Q&A
**Q**: How do I change the cache directory for where models are stored?
#### Q: How do I change the cache directory for where models are stored?
**A**: Set the `HUGGINGFACE_HUB_CACHE` environment variable.
A: Set the `HUGGINGFACE_HUB_CACHE` environment variable.
#### Q: How do I free up disk space?
A: The AI models are cached in `~/.cache/` (or `HUGGINGFACE_HUB_CACHE`). To delete the cache remove the following folders:
- ~/.cache/imaginairy
- ~/.cache/clip
- ~/.cache/torch
- ~/.cache/huggingface
## ChangeLog

Loading…
Cancel
Save