OCRPredictor: CUDA OutOfMemoryError with long PDF documents #1910
-
I've noticed that with the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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.