TECHNOLOGY

Unlimited OCR 2: bounded document windows, GPU memory and output provenance

In this article
THE QUICK TAKE

Bounded active context does not imply constant document time or preserved global structure. Keep KV metrics, serving windows, output budgets and post-processing lineage separate.

Unlimited OCR 2 addresses long-document transcription with a bounded active attention scope and sequential document chunks. The name describes a parsing strategy, not a promise that an arbitrarily large document finishes in constant time or that every document-level relationship is preserved. For GPU operators, working memory, complete response time and final document quality remain separate acceptance questions.

Bound the working set without confusing memory categories

The paper combines sparse references with overlapping chunks. It reports peak KV memory of 47.00 versus 1.77 GB at batch 1, while throughput changes from 360 to 1315 tokens/s at batch 16. Those measurements have different batch conditions; KV memory is not total device memory. The authors also acknowledge limited preservation of global structures such as heading hierarchies.

An equipment estimate should therefore avoid interpreting the smaller cache figure as a minimum GPU specification. Weights, temporary allocations and serving concurrency need their own budget. Likewise, a bounded decoding step does not remove the work of encoding more pages or emitting more text. These are consequences for capacity planning, not an independently reproduced hardware result.

Preserve the serving path and page-window settings

The official README documents a Transformers test on an A800 with 80 GB and a customized SGLang serving path. Its operational notes warn that a smaller page window can hurt cross-page merging and describe memory-sensitive temporary allocations. That test machine is a disclosed environment, not proof that every deployment requires that capacity.

For a pilot, record the runtime revision, page-window configuration, concurrency and actual completed document population. Do not silently compare an all-at-once request with a chunked request when both the active context and boundary information change. A lower peak can be valuable even if it changes quality; the report should make that tradeoff inspectable rather than treating successful completion as equivalent transcription.

The evaluation client has a benchmark-aware budget policy

The inspected inference client can use per-document image and reference-text token tables to select its output budget and fall back from tiled to base mode. It records crop mode, output cap, finish reason, page markers and request time. Without those tables it uses a different fallback policy.

That makes its benchmark procedure distinct from an ordinary deployment where reference answer length is unavailable. Record which policy produced a result. A response truncated at its output cap and a finished transcription are different outcomes, even when both return successfully. Keep the input page manifest with the output markers so omitted pages remain detectable. No inference requests were sent during this source review.

Raw layout output and Markdown are separate artifacts

The post-processing documentation says the model emits layout blocks rather than final Markdown. Its converter preserves blank-page positions, combines cross-page fragments, removes repeated table headers and forces a single-root heading tree to match the benchmark representation.

Consequently, a clean-looking Markdown file is the product of both model inference and representation rules. Review merges and heading transformations when the downstream task depends on exact document structure. The proposed acceptance record keeps the raw output, transformed result and page lineage together; it should not attribute every difference to the GPU or model alone.

The document representation guide explains this lineage, and the long-context workload guide connects it to server testing. Unlimited OCR 2 is a concrete method to investigate for long documents, with published author evidence and explicit structural limits rather than a universal memory or quality guarantee.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles