Gemma 3 27B
google/gemma-3-27b-it on Hugging Face
Weights in GPU memory
54.9 to 36.9 GB
33% less, every weight restored bit for bitSmallest single GPU
80 GB to 48 GB
Weights, an 8K-token KV cache and 1.5 GB for the runtimeH100 80 GB GPUs it takes
1 to 1
Weights, an 8K-token KV cache and 1.5 GB a GPU for the runtimeIts matrices, packed
51.5 to 34.6 GB
−32.8%, every matrix unpacked bit for bitWhich single GPU it fits
Worked out from the measured weights.
| Memory | GPUs | bf16 | Glyd |
|---|---|---|---|
| 16 GB | RTX 4080, RTX 5080 | No | No |
| 24 GB | RTX 4090, RTX 3090, A10 | No | No |
| 32 GB | RTX 5090 | No | No |
| 48 GB | RTX A6000, L40S, RTX 6000 AdaRoom for about 159K tokens of context with Glyd | No | Fits |
| 80 GB | H100, A100 80 GBRoom for the KV cache: about 355K tokens in bf16, 574K with Glyd | Fits | Fits |
| 96 GB | RTX PRO 6000, GH200 | Fits | Fits |
| 141 GB | H200 | Fits | Fits |
Every matrix, bit for bit
Every Linear layer's matrix packed and unpacked; H100 SXM, Sep 27, 2026.
| Matrices in bf16 | 51.5 GB |
|---|---|
| With Glyd, tiered layout | 34.6 GB |
| Change | −32.8% |
The 12-bit layout takes 24.7 to 24.8% off each matrix and decodes with less work. The ten-model report
Run it
git clone https://github.com/surya-koritala/Glyd
cd Glyd/gpu
python e2e.py /models/gemma-3-27b-it --format auto --fused \
--merge --baseline --batch 1,8,32Today Glyd runs from its PyTorch harness; vLLM and SGLang integration is not built yet.
Also measured
Twenty more open models measured, with quality wherever bf16 fits one GPU.