Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docling Accelerator #5

Open
aymbot opened this issue Jan 9, 2025 · 1 comment
Open

Docling Accelerator #5

aymbot opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@aymbot
Copy link

aymbot commented Jan 9, 2025

Docling offers support for GPU acceleration. The related issue is: DS4SD/docling#593

My question is if this feature is compatible with docling-haystack ?

BR

@vagenas
Copy link
Contributor

vagenas commented Jan 9, 2025

Hi @aymbot,

Docling v2.12.0 introduced GPU acceleration — and enables it by default.

Depending on when you installed docling-haystack, your docling version may or may not be v2.12.0+.

If it's lower, you can pip install --upgrade docling (or similar, depending on the python tooling you use).

Additionally, if for some reason you want to use custom acceleration options, you can create a docling.document_converter.DocumentConverter instance based on this example and then pass it to your docling_haystack.converter.DoclingConverter via the converter= argument documented here.

Does this answer your question?

@vagenas vagenas self-assigned this Jan 9, 2025
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

No branches or pull requests

2 participants