Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage of Downloaded Models from HuggingFace #177

Open
kadir-gunel opened this issue May 1, 2024 · 1 comment
Open

Storage of Downloaded Models from HuggingFace #177

kadir-gunel opened this issue May 1, 2024 · 1 comment

Comments

@kadir-gunel
Copy link

kadir-gunel commented May 1, 2024

Hello,

I was wondering if there is any special reason that the downloaded models are stored in cache folders? Since models are downloaded from HuggingFace wouldn't be nice to save each downloaded model under the /home/user_name/.cache/huggingface/hub?

Best Regards

@chengchingwen
Copy link
Owner

There were a few reasons that we did not share the cache with huggingface/hub (but I'm not sure if they still hold now). To put it simply, I want to 1. avoid storing duplicate files 2. make sure the files are read-only, and 3. ease the development pressure of tracking the changes of their cache format/specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants