Using windows and anaconda installed on my H: drive.
I was trying to download a repository to my H: disk. The download was aborted when my C: disk was full. I don’t know where the files went. Please help?
I started a python prompt and
from huggingface_hub import hf_hub_download
It threw an error saying my disk was full, pointing at a .py file on my C: disk. I tried restarting assuming it was some sort of temp file that would clear out. I got about 5gb back. It was at 0 bytes of free disk space before the restart.
Any suggestions on where the stuff is and maybe even how to download a large rep without having to increase the disk size on my OS disk?
Thank you for the response. I’ve looked in to the docs about cache but couldn’t make sense of it. I’ve made a search on the C: disk for “assets” As that’s the first folder in the assets tree. Everything the search finds combined takes up 150 MB. %APPDATA% and %LOCALAPPDATA% combined takes up about 30GB. I wasn’t running low on disk space before trying to download the model. I think I had more than that. With fresh eyes from a nights sleep I managed to delete the cache with
I don’t know where the files were located, or how to move the cache location before downloading again. But not having a full C: disk is a start! Thank you.
hi @TonoTheHero great to hear you’ve managed to clean the cache.
On windows if I’m not wrong you can echo the value of the variables
echo %APPDATA% or echo %LOCALAPPDATA%
and if you read the docs
The <CACHE_DIR> is usually your user’s home directory. However, it is customizable with the cache_dir argument on all methods, or by specifying either HF_HOME or HUGGINGFACE_HUB_CACHE environment variable.
Thank you for the continued input. I did manage to change set a new location for the cache using
Also I found the default folder on my system by searching for a file in the repo.