llmware-ai / llmware-ai/llmware
Setting Model Repo Path
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.8k
- Forks
- 2.9k
- PR merge metrics
- No merged PRs in 30d
Description
When setting the model repo path as indicated in the documentation as such:
LLMWareConfig().set_home(".\\llm_models\\")
And confirming that it has worked by:
LLMWareConfig().get_model_repo_path()
When using ModelCatalog().get_llm_toolkit() the models download to the correct location.
But when using ModelCatalog().load_model("llmware/bling-phi-3-gguf") they are loaded to the cache directory. (.cache\huggingface\hub)
Because I want to package a RAG / PySide6 application, I would like to load local gguf models from within the app directory structure.
How can I force model downloads to the set home path?
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing LLMWareConfig().set_home() and get_model_repo_path() into ModelCatalog().load_model("llmware/bling-phi-3-gguf"), comparing that path with the Hugging Face cache directory used during loading. Confirm the configured home path is honored for this model-loading path, and verify that the model is downloaded and loaded from the application’s configured directory rather than .cache/huggingface/hub.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100