Disk Space is occupied ( When it automatically download model, I do Ctrl + C )
meta-llama/Meta-Llama-3-8B-Instructgithub.comPromtEngineer/localGPT/blob/a1dea3becb8b1ae28a87369b1636c4c4a4501c27/load_models.py#L115model_basename=model_basename,use_safetensors=True,trust_remote_code=True,device_map="auto",use_triton=False,quantize_config=None,)return model, tokenizerdef load_full_model(model_id, model_basename, device_type, logging):"""Load a full model using either LlamaTokenizer or AutoModelForCausalLM.This function loads a full model based on the specified device type.If the device type is 'mps' or 'cpu', it uses LlamaTokenizer and LlamaForCausalLM.Otherwise, it uses AutoModelForCausalLM.Parameters:- model_id (str): The identifier for the model on HuggingFace Hub.- model_basename (str): The base name of the model file.I use this to run the project. When it automatically download model, I do Ctrl + C,I saw my windows space is occupy (about 1G ), but I can’t saw any temp file on my disk:1G : oringal disk is 2G , I run the project and ctrl +c , it become 1G.where is temp file location?I don’t see any model onmyproject/modelsC:\Users\a.cache\huggingface\hubC:\Users\a.cache\torch
2024-08-29T10:30:45Z
If you didn’t specify otherwise, I’m sure it’s somewhere under the C:\Users. I think it was a hidden folder.huggingface.coEnvironment variablesWe’re on a journey to advance and democratize artificial intelligence through open source and open science.stackoverflow.comHow to change huggingface transformers default cache directoryhuggingface-transformersasked byIvan Leeon07:28AM - 08 Aug 20 UTC