Replies: 1 comment 4 replies
-
|
You can set the environment variable DOCLING_SERVE_ARTIFACTS_PATH to the directory where your models are stored locally (such as your Hugging Face hub cache or a mounted folder with pre-downloaded models). Docling Serve will then load models from that directory without requiring you to specify each model path in your code. Just make sure all required models are present in that directory—if any are missing, Docling Serve will raise a runtime error instead of downloading them automatically. More details are in the official documentation here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like Docling to use models locally stored in my HF hub cache. These models may include:
Is there an envvar I should set to use these models without explicitly setting each of their paths in my code ?
Beta Was this translation helpful? Give feedback.
All reactions