Open-sourced doc parsing pipeline hits 118 pages/min on a single H200
Low_Acanthisitta7686 · reddit · 2026-09-02
The author builds agent and document-AI systems for enterprises (aerospace, finance, 100K+ doc corpora), including a search system over 108k NASA technical reports, and has open-sourced his reusable parsing pipeline Meridian under Apache 2.0.
Architecture
- Six-step pipeline: Docling for layout and table/figure/formula extraction; a small script draws numbered boxes on formula pages so the VLM knows which one is referenced; every table, figure and formula page goes concurrently to a VLM (Qwen3-VL-8B on vLLM); descriptions are injected back into chunks in order, embedded via Ollama, stored in Qdrant.
- Stateless Celery workers on CPU call long-lived GPU services over HTTP so models load once and are shared; 8 Docling instances load-balanced with a Redis atomic counter, a watchdog restarts crashed ones, batch state in Redis enables pause/resume/retry.
Measured numbers (single H200, full pipeline): 20 papers at 118.7 pages/min; 25 Apollo-era NASA reports at 82.9 pages/min initially with 5 docs hitting the 9-min Celery soft limit, retuned to 77.2 pages/min with zero failures. A single document runs 10 pages/min — throughput comes from many docs in different stages, not per-doc speed.
A text-only path (pypdfium2, no GPU) processed 1,000 NASA docs in under a minute on 32 CPU workers, losing tables and figures. Full tuning tables and failure notes are in SETUPNOTES.md.
More from coding & agent
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05