docling icon indicating copy to clipboard operation
docling copied to clipboard

Lightweight installation options

Open Pringled opened this issue 2 months ago • 3 comments

Requested feature

Currently, Docling has a heavy dependency tree with dependencies such as Torch. However, not all document parsing methods need this. For example, when using Docling for docx parsing with default options, Torch (and a number of other dependencies) are not used. It would be great if there was an option for a lightweight install, with optional dependencies for certain parsing capabilities.

Alternatives

Directly using downstream libraries such as python-docx.

Thanks in advance!

Pringled avatar Oct 06 '25 12:10 Pringled

We will start a docling-slim package exactly for this purpose. Stay tuned

dolfim-ibm avatar Oct 06 '25 17:10 dolfim-ibm

Awesome, looking forward to it!

Pringled avatar Oct 06 '25 18:10 Pringled

Also looking forward to it, as currently simple convert from html to md requires 4GB of dependencies.

atompie avatar Nov 13 '25 16:11 atompie

The issue in which the docling-slim plan is described is:

  • https://github.com/docling-project/docling/issues/2535

ranma42 avatar Dec 11 '25 19:12 ranma42