Skip to content

OCRPredictor: CUDA OutOfMemoryError with long PDF documents #1910

Discussion options

You must be logged in to vote

Hi @quattrobahn 👋,

Yeah the issue here is that the whole pdf is loaded into RAM - so the gpu VRAM is mostly constant

We have already an open issue for such cases #1240

The easiest workaround atm would be to chunk the pdf before and merge the results afterwards.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@quattrobahn
Comment options

Answer selected by quattrobahn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants