Skip to content

docs: document DOCLING_NUM_THREADS environment variable#341

Merged
dolfim-ibm merged 2 commits intodocling-project:mainfrom
Elettrotecnica:document-num-threads
Sep 3, 2025
Merged

docs: document DOCLING_NUM_THREADS environment variable#341
dolfim-ibm merged 2 commits intodocling-project:mainfrom
Elettrotecnica:document-num-threads

Conversation

@Elettrotecnica
Copy link
Contributor

Myself and some other user were wondering how one can increase the number of threads when processing a document. It turns out this is already possible, just undocumented.

All the best

Issue resolved by this Pull Request:
Resolves #257

@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2025

DCO Check Passed

Thanks @Elettrotecnica, all your commits are properly signed off. 🎉

@mergify
Copy link

mergify bot commented Aug 29, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

I, Antonio Pisano <antonio.pisano@wu.ac.at>, hereby add my Signed-off-by to this commit: 21ae1f9

Signed-off-by: Antonio Pisano <antonio.pisano@wu.ac.at>
@dolfim-ibm
Copy link
Member

FYI the DOCLING_NUM_THREADS option will be used only on cpu-mode, and it propagates to the number threads used when running the torch models.

Copy link
Member

@dolfim-ibm dolfim-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dolfim-ibm dolfim-ibm merged commit 27fdd7b into docling-project:main Sep 3, 2025
11 checks passed
@dosubot
Copy link

dosubot bot commented Sep 3, 2025

Documentation updates

Checked 2 published document(s). No updates required.

How did I do? Any feedback?  Join Discord

@Elettrotecnica Elettrotecnica deleted the document-num-threads branch September 3, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploying docling-serve

2 participants