OCRia-1 is one of the fastest models ever for doc parsing. We sped up OCRia-1 by 10x on a single B200 (285 tok/s --> 2800 tok/s).
there are a ton of useful learnings in this extremely detailed blog post for anyone looking to optimize models!
- we made use of established practices, like quantization and spec decoding (dflash2), to simultaneously reduce memory usage and increase tokens per second
- we made 17 other optimizations - replaySSM, kernel fusion, vLLM changes, and more.
Huge shoutout to our research team. They've made it possible for us to serve billions of pages at scale. We've continuing to make massive improvements to bring down latency across the board in LlamaParse.
Check it out: https://www.llamaindex.ai/blog/the-inference-stack-behind-ocria
