nbeerbower · vision language

Hemlock-Qwopus3.5-9B-Coder

nbeerbower/Hemlock-Qwopus3.5-9B-Coder

Hemlock-Qwopus3.5-9B-Coder at I1-Q2_K is exactly 3,914,966,528 bytes (3.65 GiB / 3.91 GB) — an effective 3.244 bits per weight, not the nominal 1. Its KV cache at 32K is 1.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
9.7B
Architecture
qwen35
32 layers
Context
262,144
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-Q2_K3.65 GiB3,914,966,5283.244mradermacher
I1-Q3_K_S4.06 GiB4,364,019,2003.617mradermacher
I1-IQ3_S4.17 GiB4,475,987,4563.709mradermacher
I1-IQ3_M4.21 GiB4,522,780,1603.748mradermacher
I1-Q3_K_M4.41 GiB4,737,607,1683.926mradermacher
I1-Q3_K_L4.70 GiB5,048,509,9524.184mradermacher
I1-IQ4_XS4.96 GiB5,326,415,3604.414mradermacher
I1-Q4_05.09 GiB5,462,861,3124.527mradermacher
I1-Q4_K_S5.11 GiB5,488,551,4244.549mradermacher
I1-IQ4_NL5.17 GiB5,555,660,2884.604mradermacher
I1-Q4_K_M5.38 GiB5,780,088,3204.790mradermacher
I1-Q4_15.55 GiB5,961,459,2004.941mradermacher
I1-Q5_K_S6.03 GiB6,472,640,0005.364mradermacher
I1-Q5_K_M6.19 GiB6,642,542,0805.505mradermacher
I1-Q6_K7.04 GiB7,558,899,2006.264mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.50 GiB4.00×8 / 0 / 24
8,1920.25 GiB1.00 GiB4.00×8 / 0 / 24
16,3840.50 GiB2.00 GiB4.00×8 / 0 / 24
32,7681.00 GiB4.00 GiB4.00×8 / 0 / 24
65,5362.00 GiB8.00 GiB4.00×8 / 0 / 24
131,0724.00 GiB16.00 GiB4.00×8 / 0 / 24

24 of 32 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

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-Q2_K at roughly 5.06 GiB. The real file is 3.65 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
16
KV heads
4
Head dim
256
Hidden size
4096
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Hemlock-Qwopus3.5-9B-Coder need?
I1-Q2_K is exactly 3,914,966,528 bytes (3.65 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Hemlock-Qwopus3.5-9B-Coder's KV cache?
1.00 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 Hemlock-Qwopus3.5-9B-Coder 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.