stuck/not working #2532
-
|
I tried to launch this on both Windows and WSL2, either have same behavior Launch command Output: After that binary just keeps running, but nothing happens, its just stuck. Also there is no any CPU usage increase during running. Tried both |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @gitpushmainforce! I'm Dosu and I’m helping the docling team. This kind of hang (no CPU usage, no progress after "Accelerator device: 'cpu'") is a known issue and can be caused by a few things in Docling:
Let me know if switching the PDF backend or OCR engine helps, or if you get a stack trace after interrupting the process. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
Hi @gitpushmainforce! I'm Dosu and I’m helping the docling team.
This kind of hang (no CPU usage, no progress after "Accelerator device: 'cpu'") is a known issue and can be caused by a few things in Docling:
The default PDF backend sometimes blocks indefinitely on certain PDFs or environments. Switching to the
pypdfium2backend often resolves this. Try:This backend is faster and more robust for many PDFs, especially if the default backend hangs or is slow [source].
Native dependency mismatches (like ONNX Runtime or PyTorch installed for the wrong architecture) can cause silent hangs, especially in WSL2 or mixed-arch setups. Make sure all de…