Qwen 3 · IQ4_XS · Dense · GGUF v3

Qwen3 32B (IQ4_XS) (IQ4_XS) — Exact VRAM, KV Cache & Tensor X-Ray

Saves ~2.2 GiB of VRAM vs Q4_K_M on Qwen3 32B, unlocking full-GPU 32k–40k context on 24 GB cards.

⚡ Simulate on Your GPU in Browser (WASM) Benchmark & Sign Ed25519 in Local Cockpit 0.4.0 View File on HuggingFace
Min VRAM (8k · FP16 KV)19.22 GiB32k w/ Q8_0 KV: 21.67 GiB
Binary .GGUF Weights16.47 GiB4.32 effective bits/weight
Parameters (Active / Total)32.76 / 32.76 B707 parsed tensors
KV Cache Growth256.0 MiB/1kQ8_0 KV: 136.0 MiB / 1k tok

1. HuggingFace Binary Provenance

Repositorybartowski/Qwen_Qwen3-32B-GGUF
Inspected FileQwen_Qwen3-32B-IQ4_XS.gguf (16.48 GiB)
HF Commit SHA533fbb1ae5f2
Harvested UTC2026-11-29 15:28:40 UTC
Parsed Header5 975 353 bytes (SHA-256 8384330c87aa81d2484d…)

2. Transformer & GQA Architecture

GGUF Architectureqwen3 (Dense)
Transformer Layers64 layers (~247.8 MiB / layer)
Dimensions (d_model / FFN)5120 / 25600
Attention Heads (Q / KV)64 Q / 8 KV (GQA 8.0:1, dim 128)
Native Context & Vocab32 768 tokens · vocab 151 936

3. Exact GGML Quantization Mix Inside This Binary

Rather than quantizing every tensor identically, IQ4_XS keeps sensitive embedding, output and attention tensors at higher precision:

GGML TypeTensor CountVolumeWeight ShareDistribution
IQ4_XS38515.66 GiB95.1%
Q6_K10.59 GiB3.6%
Q5_K640.21 GiB1.3%
F322570.00 GiB0.0%

4. KV-Cache Context Cliff from 2k to 128k Tokens (FP16 vs Q8_0 vs Q4_0)

Enabling Flash Attention with a Q8_0 KV cache cuts context memory nearly in half without altering model weights:

Context Length KV Only (FP16) KV Only (Q8_0) KV Only (Q4_0) Total VRAM (FP16) Total VRAM (Q8_0)
2k (2 048)0.50 GiB0.27 GiB0.14 GiB17.72 GiB17.49 GiB
4k (4 096)1.00 GiB0.53 GiB0.28 GiB18.22 GiB17.75 GiB
8k (8 192)2.00 GiB1.06 GiB0.56 GiB19.22 GiB18.28 GiB
16k (16 384)4.00 GiB2.13 GiB1.13 GiB21.22 GiB19.35 GiB
32k (32 768)8.00 GiB4.25 GiB2.25 GiB25.22 GiB21.47 GiB
64k (65 536)16.00 GiB8.50 GiB4.50 GiB33.22 GiB25.72 GiB
128k (131 072)32.00 GiB17.00 GiB9.00 GiB49.22 GiB34.22 GiB

5. Layer-by-Layer GPU Offload Matrix Across Hardware Tiers

Deterministic memory placement including OS display VRAM reserve and compute buffers:

Hardware Tier Context & KV Layers in VRAM VRAM Used RAM Spillover Memory Verdict
8 GB GPU + 16 GB RAM8k · KV FP1622 / 647.26 GiB11.48 GiBRAM Spillover
8 GB GPU + 16 GB RAM32k · KV FP1615 / 647.01 GiB17.99 GiBOut of Memory
8 GB GPU + 16 GB RAM32k · KV Q8_018 / 647.06 GiB14.19 GiBOut of Memory
12 GB GPU + 32 GB RAM8k · KV FP1636 / 6411.09 GiB7.65 GiBRAM Spillover
12 GB GPU + 32 GB RAM32k · KV FP1626 / 6411.05 GiB13.95 GiBRAM Spillover
12 GB GPU + 32 GB RAM32k · KV Q8_031 / 6411.07 GiB10.18 GiBRAM Spillover
16 GB GPU + 32 GB RAM8k · KV FP1650 / 6414.91 GiB3.83 GiBRAM Spillover
16 GB GPU + 32 GB RAM32k · KV FP1636 / 6414.72 GiB10.28 GiBRAM Spillover
16 GB GPU + 32 GB RAM32k · KV Q8_043 / 6414.77 GiB6.48 GiBRAM Spillover
24 GB GPU + 64 GB RAM8k · KV FP1664 / 6418.74 GiB—100% VRAM
24 GB GPU + 64 GB RAM32k · KV FP1658 / 6422.80 GiB2.20 GiBRAM Spillover
24 GB GPU + 64 GB RAM32k · KV Q8_064 / 6421.25 GiB—100% VRAM
32 GB GPU + 64 GB RAM8k · KV FP1664 / 6418.74 GiB—100% VRAM
32 GB GPU + 64 GB RAM32k · KV FP1664 / 6425.00 GiB—100% VRAM
32 GB GPU + 64 GB RAM32k · KV Q8_064 / 6421.25 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM8k · KV FP1664 / 6418.74 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV FP1664 / 6425.00 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV Q8_064 / 6421.25 GiB—100% VRAM
64 GB Unified Memory8k · KV FP1664 / 6418.74 GiB—Unified Memory
64 GB Unified Memory32k · KV FP1664 / 6425.00 GiB—Unified Memory
64 GB Unified Memory32k · KV Q8_064 / 6421.25 GiB—Unified Memory

6. Ready-to-Run Local CLI Commands

With Ollama:
ollama run hf.co/bartowski/Qwen_Qwen3-32B-GGUF:IQ4_XS
With llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):
llama-server -m Qwen_Qwen3-32B-IQ4_XS.gguf -ngl 43 -c 32768 -fa --cache-type-k q8_0 --cache-type-v q8_0

7. Ed25519 Certified Real Hardware Benchmarks

No certified Ed25519 passport recorded for this exact quantization yet (zero synthetic tok/s are ever invented). Run this model in Local Cockpit 0.4.0 to publish the first signed /b/lc-… passport!

8. Related Quantizations & Comparable Models