-
Notifications
You must be signed in to change notification settings - Fork 6
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
split up prediction to avoid overly large batches (causing OOM) #116
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #116 +/- ##
==========================================
- Coverage 71.07% 69.50% -1.58%
==========================================
Files 5 5
Lines 204 223 +19
Branches 50 57 +7
==========================================
+ Hits 145 155 +10
- Misses 48 53 +5
- Partials 11 15 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Assuming we can soon rely on Calamari-OCR/calamari#361, this PR should be changed to re-use the |
Also includes part of #104 |
You mean removes that part? That's because I merged your upstream fixes into Calamari v1.0.7 so we won't need the workaround. |
Actually, Calamari1's |
#104 is about removing the workaround, so it overlaps with/is superseded by this PR. |
Implemented in bertsky@45e20b1 |
ah, yes, but it does not point to 1.0.7 but to the commit ref – so we should merge both PRs |
Should probably have written: "Note to self:", my comment just served as a reminder for me to have a look at both PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I'll merge it after a manual test.
Manual test looks OK, merging! |
@stweil This may fix the OOM you have seen, but it's hard to tell without the data! |
No description provided.