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

Only use CPU for the docling OCR models #361

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

bbrowning
Copy link
Contributor

Because GPU memory is extremely tight in many of our supported hardware configurations, and because our GitHub Mac CI runners error out when running the OCR models with MPS acceleration, let's just explicitly pin the OCR models to the CPU.

See DS4SD/docling#286 for a bit more context.

Because GPU memory is extremely tight in many of our supported
hardware configurations, and because our GitHub Mac CI runners error
out when running the OCR models with MPS acceleration, let's just
explicitly pin the OCR models to the CPU.

See DS4SD/docling#286 for a bit more context.

Signed-off-by: Ben Browning <[email protected]>
@bbrowning
Copy link
Contributor Author

We'll need to merge this before upgrading our docling dependency above version 2.4.2 to prevent test failures on our Mac CI runners.

@mergify mergify bot merged commit eaaccca into instructlab:main Nov 12, 2024
22 checks passed
@mergify mergify bot removed the one-approval label Nov 12, 2024
@bbrowning bbrowning deleted the ocr-gpu-disable branch November 12, 2024 13:16
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.

3 participants