HF RL Explorer

Reading certain malformed/empty PDFs crashes the entire Node process

Reading certain malformed/empty PDFs crashes the entire Node process: a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm using muhammara to process PDF files coming in from an upload pipeline, so I have to deal with whatever bytes the user throws at me — including files…

The task

I'm using `muhammara` to process PDF files coming in from an upload pipeline, so I have to deal with whatever bytes the user throws at me — including files that turn out to be truncated, empty, or otherwise broken.

Part of openmodelai/MiMo-V2.6-Code.