`pypdfium2` seems to be causing issues, specifically a memory leak: https://github.com/facebookresearch/nougat/issues/162#issuecomment-1786217285 To that end, I was curious why `pdf2image` usage was replaced with `pypdfium2` in `rasterize()`? - Previous usage of `pdf2image`: https://github.com/facebookresearch/nougat/commit/9e2572bf5d100a5a7521576908eb5713e0dd24c8#diff-c8bbd899ddabbbe15845b68926b154a3be7e36fd7ebed7f59ea14c39f590be5f
pypdfium2seems to be causing issues, specifically a memory leak: #162 (comment)To that end, I was curious why
pdf2imageusage was replaced withpypdfium2inrasterize()?pdf2image: 9e2572b#diff-c8bbd899ddabbbe15845b68926b154a3be7e36fd7ebed7f59ea14c39f590be5f