airllm
airllm copied to clipboard
Insuficient disk space
Was trying to work with AutoModel.from_pretrained("v2ray/Llama-3-70B")
but the space in C:\Users\myuser.cache... was insuficient. So I was wondering if there was a way to change the location of the cache for the library. I've readed the code diagonally and didn't find an option
I would like to know the default location as well. I am using MacOS.
I found it in my home path .cache/huggingface/
I have moved this folder into my external harddisk and soft link this external harddisk folder to the original location.
easy. You can do this:
Set custom cache directories and token
os.environ['HF_HOME'] = os.environ['TRANSFORMERS_CACHE'] = os.environ['HF_DATASETS_CACHE'] = os.environ['HF_MODULES_CACHE'] =
put the address to a location that you have enough space.