-
|
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 26 replies
-
|
Yes, you can use Docling offline if all required models are available locally. To download models using the Jupyter terminal, run: docling-tools models download --all -o modelsThis command downloads all supported models into a local folder named If you can't download models directly from Hugging Face or the internet on your PC, you can download them on another machine, transfer the More details and examples are available in the Docling Knowledge Base. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
This error means Docling can't find your local models because the folder structure or environment variable isn't exactly what it expects. Here’s what to check:
The environment variable must be DOCLING_SERVE_ARTIFACTS_PATH (not DOCLING_ARTIFACTS_PATH), and it must point to the parent directory containing all model subfolders—not to a specific model folder or to the Hugging Face cache root. Use an absolute path, not a relative one. Set it before starting Python, or at the very top of your script, before importing Docling code (reference).
Each model must be in its own subfolder, named by replacing
/with--in the repo ID. For current Docling versions, the folder names must start withd…