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

Where are models saved? #2585

Open
IgChar opened this issue Oct 29, 2024 · 2 comments
Open

Where are models saved? #2585

IgChar opened this issue Oct 29, 2024 · 2 comments

Comments

@IgChar
Copy link

IgChar commented Oct 29, 2024

Maybe a silly question, but where are the models downloaded by candle saved? I tried running find / -type f -name "llama-2-7b.ggmlv3.q4_0.bin" 2>/dev/null to find this model in the system, but it is nowhere to be found.

@LaurentMazare
Copy link
Collaborator

By default, models end up in $HOME/.cache/huggingface/hub/ but this can be overridden if needed. Candle actually don't handle that directly so you may want to look at the code of https://github.com/huggingface/hf-hub/ instead.

@IgChar
Copy link
Author

IgChar commented Oct 29, 2024

By default, models end up in $HOME/.cache/huggingface/hub/ but this can be overridden if needed. Candle actually don't handle that directly so you may want to look at the code of https://github.com/huggingface/hf-hub/ instead.

Thank you! I couldn't find it by scanning the computer for the model's name because of the way huggingface-hub names directories and files.

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