CoolFace
Modelpublic

padeoe/granite-docling-258M-GGUF

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
0likes44downloads
Model Card

Granite-Docling-258M-GGUF

GGUF format of ibm-granite/granite-docling-258M, a multimodal document OCR model that converts document images to Docling format.

Converted with llama.cpp.

Files

FileQuantSizeNote
granite-docling-258M-f16.ggufF16317 MBFull precision
granite-docling-258M-q8_0.ggufQ8_0170 MBRecommended
mmproj-granite-docling-258M-f16.ggufF16182 MBVision encoder (required)

Usage

CLI

bash
llama-mtmd-cli \
    --model granite-docling-258M-q8_0.gguf \
    --mmproj mmproj-granite-docling-258M-f16.gguf \
    --image document.png \
    --n-predict 4096 --ctx-size 8192 --temp 0.0 \
    -p "Convert this page to docling."

Server (OpenAI-compatible API)

bash
llama-server \
    -m granite-docling-258M-q8_0.gguf \
    --mmproj mmproj-granite-docling-258M-f16.gguf \
    --ctx-size 8192 --special --jinja \
    --host 0.0.0.0 --port 8080

Benchmark (CPU only, Q8_0)

CPUConfigLong text (4096 tok)Short text (50 tok)
EPYC 9654 (96C)192 inst x 1t1.73 img/s29.4 img/s
EPYC 9654 (16C)16 inst x 1t0.67 img/s8.68 img/s

For this small model, 1 thread per instance with max instances = core count gives best throughput.