datalab-to · vision language

lift

datalab-to/lift

lift at Q4_K_M is exactly 5,780,090,336 bytes (5.38 GiB / 5.78 GB) — an effective 4.790 bits per weight, not the nominal 4. 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
openrail

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K3.65 GiB3,914,968,5443.244prithivMLmods
Q3_K_S4.06 GiB4,364,021,2163.617prithivMLmods
IQ3_M4.21 GiB4,522,782,1763.748SandLogicTechnologies
Q3_K_M4.41 GiB4,737,609,1843.926prithivMLmods
Q3_K_L4.70 GiB5,048,511,9684.184prithivMLmods
IQ4_XS4.99 GiB5,357,874,6564.440SandLogicTechnologies
Q4_05.08 GiB5,450,280,4164.517prithivMLmods
Q4_K_S5.11 GiB5,488,553,4404.549prithivMLmods
IQ4_NL5.20 GiB5,580,828,1284.625SandLogicTechnologies
Q4_K_M5.38 GiB5,780,090,3364.790prithivMLmods
Q5_06.03 GiB6,472,642,0165.364prithivMLmods
Q5_K_S6.03 GiB6,472,642,0165.364prithivMLmods
Q5_K_M6.19 GiB6,642,544,0965.505prithivMLmods
Q6_K7.04 GiB7,558,901,2166.264prithivMLmods
Q8_09.11 GiB9,786,060,2568.110prithivMLmods
BF1617.14 GiB18,407,321,05615.255prithivMLmods
F1617.14 GiB18,407,321,05615.255prithivMLmods

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 Q4_K_M at roughly 5.06 GiB. The real file is 5.38 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 lift need?
Q4_K_M is exactly 5,780,090,336 bytes (5.38 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is lift'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 lift 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.