Skip to content

LlamaIndex OCRia

LlamaIndex’s Qwen3.5-based parser turns document page images into structured text. The official Q8_0 build uses a separate F16 projector. For dense pages, the publisher recommends a 32K context, thinking disabled and its document parsing prompt. The licence restricts certain commercial uses.

Quick Launch Command

Commands for GGUF Q8_0 · adjust hardware and context in the CLI Generator

# Prerequisites: a CUDA toolkit matching your driver (nvcc --version), Python 3
# Install on Linux (with CUDA)
sudo apt install -y build-essential cmake git
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j$(nproc)

# Download the model (installs the hf CLI the next line needs)
pip install -U huggingface_hub
hf download llamaindex/OCRia-1-GGUF --include "OCRia-1-Q8_0.gguf" --local-dir ./models

# Run
./build/bin/llama-server \
  -m ./models/OCRia-1-Q8_0.gguf \
  --host 127.0.0.1 --port 8080 \
  -ngl 99 \
  -c 4096 \
  -t 8

Quantization Variants

Per-quant VRAM, quality loss, and inference speed on RTX 4090

Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports

FormatLevelBPWVRAMPPL LossSpeedSourceActions
GGUFQ8_08.525.5 GB——Estimated
CalcHF

Which file each size is for

Weights use recorded file bytes where available, otherwise BPW. Both receive a separate 2% planning allowance. VRAM at 4K includes KV and a 10% activation buffer (GiB). Downloads use decimal GB. Separate vision projectors are excluded from this table.

  • GGUF Q8_0llamaindex/OCRia-1-GGUF · OCRia-1-Q8_0.gguf · 5.16 GB (5,157,830,528 bytes) · + vision projector 0.67 GB, separate · listing read 2026-11-27

Running OCRia-1 locally

At Q8_0 and 4K of context, OCRia-1 needs about 5.5 GB — 4.9 GB of weights, 0.13 GB of KV cache and a 0.5 GB activation buffer. The smallest cards in this index that clear that comfortably are 8 GB ones — 25 of them, from the RTX 3050 8G up — and 114 of the 122 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.

What longer context costs

Going from 4K to 32K adds about 0.87 GB, taking the total to 6.5 GB. That is gentler than the parameter count suggests: only 8 of 32 layers keep a KV cache that grows with context, so the cache scales at a fraction of the usual rate. The model's native window is 256K; holding all of it at Q8_0 would need about 14 GB.

Which build to download

This index only tracks OCRia-1 in GGUF, across 1 level (Q8_0). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.

Common questions

How much VRAM does OCRia-1 need?
About 5.5 GB at Q8_0 with 4K of context and batch 1, rising to roughly 6.5 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
Will OCRia-1 run on a 8GB GPU?
Yes — at Q8_0 and 4K context it needs about 5.5 GB, which leaves 2.5 GB spare on a RTX 3050 8G, or on any of the other 8 GB cards here (25 in all). That is the smallest size in this index that clears it comfortably; 114 of 122 do.
Which quantization of OCRia-1 should I use?
Q8_0 is the only level in the index for this model, so there is nothing to choose between here.

Where this model fits

Sized at Q8_0 with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.

Ships in
GGUF

This page's figures change when the model or the runtime does.Last updated 2026-11-27 RSS → /feed.xml