Open jafioti opened 1 year ago
Quick update, we are using pdfium_render in our project, and this crash only happens when trying to run inference after we run pdfium to extract images from pdfs.
More specifically, if you run this line before llm inference, it will crash:
let pdfium = Pdfium::new(Pdfium::bind_to_library(
Pdfium::pdfium_platform_library_name_at_path("/path/to/pdfium/"),
)?);
I'm trying to summarize some text, and I keep getting the following crash error message when I run inference:
Notably this only happens after the program has been running a while, doing other things. When the same inference is ran right at the beginning of main() it works fine. I initially thought. it was running out of memory, but I can't see any spike in memory usage occuring.
It's also not a panic, but a crash, meaning the macos "quit unexpectedly" message pops up and no panic backtrace is available.
Has this happened to anyone else?