rednote-hilab · text

dots.ocr

rednote-hilab/dots.ocr

dots.ocr at I1-IQ1_S is exactly 513,101,760 bytes (0.48 GiB / 0.51 GB) — an effective 1.351 bits per weight, not the nominal 1. Its KV cache at 32K is 0.88 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
3.0B
Architecture
qwen2
28 layers
Context
131,072
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S0.48 GiB513,101,7601.351mradermacher
I1-IQ1_M0.50 GiB541,035,4561.424mradermacher
I1-IQ2_XXS0.55 GiB587,591,6161.547mradermacher
I1-IQ2_XS0.58 GiB626,900,9281.650mradermacher
I1-IQ2_S0.62 GiB664,085,9521.748mradermacher
I1-IQ2_M0.65 GiB701,330,8801.846mradermacher
I1-Q2_K_S0.67 GiB716,709,3121.887mradermacher
I1-Q2_K0.70 GiB752,879,0401.982mradermacher
I1-IQ3_XXS0.72 GiB769,068,4802.024mradermacher
I1-IQ3_XS0.77 GiB831,975,3602.190mradermacher
I1-Q3_K_S0.80 GiB861,220,8002.267mradermacher
I1-IQ3_S0.80 GiB862,683,0722.271mradermacher
I1-IQ3_M0.82 GiB876,940,2242.308mradermacher
I1-Q3_K_M0.86 GiB924,454,8482.433mradermacher
I1-Q3_K_L0.91 GiB980,438,9762.581mradermacher
I1-IQ4_XS0.95 GiB1,019,709,8882.684mradermacher
I1-IQ4_NL0.99 GiB1,067,602,3682.810mradermacher
I1-Q4_01.00 GiB1,068,806,5922.813mradermacher
I1-Q4_K_S1.00 GiB1,071,583,6802.821mradermacher
I1-Q4_K_M1.04 GiB1,117,319,6162.941mradermacher
I1-Q4_11.08 GiB1,162,699,2003.061mradermacher
I1-Q5_K_S1.17 GiB1,259,172,2883.314mradermacher
I1-Q5_K_M1.20 GiB1,285,493,1843.384mradermacher
I1-Q6_K1.36 GiB1,464,177,6003.854mradermacher
Q8_01.76 GiB1,894,530,2724.987ggml-org
Q8_01.76 GiB1,894,530,3364.987anthonym21
F163.32 GiB3,560,414,4329.372ggml-org
F163.32 GiB3,560,414,4969.372anthonym21

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.11 GiB0.11 GiB28 / 0 / 0
8,1920.22 GiB0.22 GiB28 / 0 / 0
16,3840.44 GiB0.44 GiB28 / 0 / 0
32,7680.88 GiB0.88 GiB28 / 0 / 0
65,5361.75 GiB1.75 GiB28 / 0 / 0
131,0723.50 GiB3.50 GiB28 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts I1-IQ1_S at roughly 1.59 GiB. The real file is 0.48 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
12
KV heads
2
Head dim
128
Hidden size
1536
Vocab
151,936
Sliding window
131072
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

This model declares a sliding window but sets use_sliding_window: false, so the window is not applied. Honouring the field without the flag understates KV for the whole family.

Questions people ask

How much VRAM does dots.ocr need?
I1-IQ1_S is exactly 513,101,760 bytes (0.48 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is dots.ocr's KV cache?
0.88 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of dots.ocr should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.