Urgent.News

What's breaking now, across thousands of outlets.

Tech

Unlimited-OCR 2 on a 16 GB GPU: it reads as well as Chandra 2, but it is not unlimited

On October 27 Baidu released Unlimited-OCR 2: 3.3B parameters, MIT license, and a promise that its sparse attention keeps "per-step decoding latency and memory footprint nearly constant regardless of document length". That night I ran it on a 16 GB RTX 4070 Ti SUPER against what I actually used for huge PDFs (Datalab's Marker and Chandra 2, locally), DeepSeek-OCR, Unlimited-OCR 1 and Tesseract,…

On October 27, Baidu unveiled Unlimited-OCR 2, a 3.3 billion parameter model released under the MIT license. Its claim was that its sparse attention mechanism maintained nearly constant per-step decoding latency and memory footprint, regardless of document length. To test this claim, a comparison was made between Unlimited-OCR 2, Chandra 2, Tesseract, Marker 2.0, and DeepSeek-OCR, using PDFs of real Central Bank of Chile reports.

The median character error rate per page for Unlimited-OCR 2 was 0.12%, which was on par with Chandra 2 and superior to Tesseract, Marker, and DeepSeek-OCR. However, when running on a 16 GB GPU, Unlimited-OCR 2 struggled as the document size increased. With more pages in one request, memory usage rose, and time per token increased.

The transformers path, which kept every token in a dynamic cache, was faster than the transformers, but the 10-page window mode had issues. For large files, Marker proved to be the practical choice, completing a 74-page report in 12.6 minutes using 4.2 GB of the GPU. Chandra 2 took 46 minutes and 11 GB of GPU memory. Unlimited-OCR 2 is MIT-licensed, while Chandra 2's weights are only available under specific funding conditions.

The post also covered installation difficulties on NixOS and potential threats to validity, with full measurements, pre-registered sheet, and scripts available at https://efraingaray.com/en/blog/unlimited-ocr-2-16gb/.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

CVE-2026-118254: CVE-2026-118254: DOM-based Cross-Site Scripting in Highcharts Grid Pagination Module

CVE-2026-118254: DOM-based Cross-Site Scripting in Highcharts Grid Pagination Module Vulnerability ID: CVE-2026-118254 CVSS Score: 8.6 Published: 2026-10-28 CVE-2026-118254 (GHSA-r5wg-q8fc-p6w2) is a…

  • Highcharts Grid versions 2.0.0 to 3.1.0 vulnerable to DOM-based XSS
  • innerHTML used instead of innerText or textContent in pagination module
  • Upgrade to version 3.2.0 or higher to resolve the issue

Zeen: A New Systems Programming Language with a Comptime Engine

Website: zeen-lang.tech Github: mealet/zeen (Would appreciate if you'd leave a star on Github) What is Zeen Zeen - a modern systems programming language designed for simplicity, safety, and…

  • Zeen is a modern systems programming language focused on simplicity and safety.
  • It features a Comptime Engine for compile-time evaluations and constructions.
  • Version v0.4.0 introduced enhanced frontend performance and a revamped Comptime Engine.

More from Wednesday 28 October →