Skip to content
Discussion options

You must be logged in to vote

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:

  1. 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).

  2. 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 with d…

Replies: 1 comment 26 replies

Comment options

You must be logged in to vote
26 replies
@egesnr
Comment options

@dosubot
Comment options

@egesnr
Comment options

@dosubot
Comment options

Answer selected by egesnr
@egesnr
Comment options

@dosubot
Comment options

@egesnr
Comment options

@dosubot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant