Llama 3.3 70B Instruct (IQ4_XS) (IQ4_XS) — Exact VRAM, KV Cache & Tensor X-Ray
Trims Llama 3.3 70B down to ~35 GiB, leaving ~10 GiB of KV-cache headroom on 48 GB dual-GPU or 64 GB unified rigs.
⚡ 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)38.54 GiB32k w/ Q8_0 KV: 41.55 GiB
Binary .GGUF Weights35.29 GiB4.30 effective bits/weight
Parameters (Active / Total)70.55 / 70.55 B724 parsed tensors
KV Cache Growth320.0 MiB/1kQ8_0 KV: 170.0 MiB / 1k tok
1. HuggingFace Binary Provenance
| Repository | bartowski/Llama-3.3-70B-Instruct-GGUF |
|---|---|
| Inspected File | Llama-3.3-70B-Instruct-IQ4_XS.gguf (35.30 GiB) |
| HF Commit SHA | b6c5c9f176f3 |
| Harvested UTC | 2026-11-29 15:28:44 UTC |
| Parsed Header | 7 867 082 bytes (SHA-256 34e4336b0ee96abb7bf6…) |
2. Transformer & GQA Architecture
| GGUF Architecture | llama (Dense) |
|---|---|
| Transformer Layers | 80 layers (~434.8 MiB / layer) |
| Dimensions (d_model / FFN) | 8192 / 28672 |
| Attention Heads (Q / KV) | 64 Q / 8 KV (GQA 8.0:1, dim 128) |
| Native Context & Vocab | 131 072 tokens · vocab 128 256 |
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 Type | Tensor Count | Volume | Weight Share | Distribution |
|---|---|---|---|---|
IQ4_XS | 481 | 34.05 GiB | 96.5% | |
Q6_K | 1 | 0.80 GiB | 2.3% | |
Q5_K | 80 | 0.43 GiB | 1.2% | |
F32 | 162 | 0.00 GiB | 0.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.63 GiB | 0.33 GiB | 0.18 GiB | 36.67 GiB | 36.37 GiB |
| 4k (4 096) | 1.25 GiB | 0.66 GiB | 0.35 GiB | 37.29 GiB | 36.70 GiB |
| 8k (8 192) | 2.50 GiB | 1.33 GiB | 0.70 GiB | 38.54 GiB | 37.37 GiB |
| 16k (16 384) | 5.00 GiB | 2.66 GiB | 1.41 GiB | 41.04 GiB | 38.70 GiB |
| 32k (32 768) | 10.00 GiB | 5.31 GiB | 2.81 GiB | 46.04 GiB | 41.35 GiB |
| 64k (65 536) | 20.00 GiB | 10.63 GiB | 5.63 GiB | 56.04 GiB | 46.67 GiB |
| 128k (131 072) | 40.00 GiB | 21.25 GiB | 11.25 GiB | 76.04 GiB | 57.29 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 RAM | 8k · KV FP16 | 12 / 80 | 7.11 GiB | 31.00 GiB | Out of Memory |
| 8 GB GPU + 16 GB RAM | 32k · KV FP16 | 9 / 80 | 7.01 GiB | 39.02 GiB | Out of Memory |
| 8 GB GPU + 16 GB RAM | 32k · KV Q8_0 | 10 / 80 | 6.97 GiB | 34.37 GiB | Out of Memory |
| 12 GB GPU + 32 GB RAM | 8k · KV FP16 | 20 / 80 | 10.76 GiB | 27.35 GiB | Out of Memory |
| 12 GB GPU + 32 GB RAM | 32k · KV FP16 | 16 / 80 | 10.86 GiB | 35.18 GiB | Out of Memory |
| 12 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 18 / 80 | 10.90 GiB | 30.44 GiB | Out of Memory |
| 16 GB GPU + 32 GB RAM | 8k · KV FP16 | 29 / 80 | 14.86 GiB | 23.25 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 32k · KV FP16 | 23 / 80 | 14.70 GiB | 31.33 GiB | Out of Memory |
| 16 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 26 / 80 | 14.83 GiB | 26.52 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 8k · KV FP16 | 46 / 80 | 22.61 GiB | 15.50 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 32k · KV FP16 | 37 / 80 | 22.40 GiB | 23.63 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 42 / 80 | 22.69 GiB | 18.66 GiB | RAM Spillover |
| 32 GB GPU + 64 GB RAM | 8k · KV FP16 | 63 / 80 | 30.36 GiB | 7.75 GiB | RAM Spillover |
| 32 GB GPU + 64 GB RAM | 32k · KV FP16 | 51 / 80 | 30.09 GiB | 15.94 GiB | RAM Spillover |
| 32 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 58 / 80 | 30.54 GiB | 10.80 GiB | RAM Spillover |
| 48 GB Dual-GPU + 128 GB RAM | 8k · KV FP16 | 80 / 80 | 38.11 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV FP16 | 80 / 80 | 46.03 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV Q8_0 | 80 / 80 | 41.34 GiB | — | 100% VRAM |
| 64 GB Unified Memory | 8k · KV FP16 | 80 / 80 | 38.11 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV FP16 | 80 / 80 | 46.03 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV Q8_0 | 80 / 80 | 41.34 GiB | — | Unified Memory |
6. Ready-to-Run Local CLI Commands
With Ollama:
ollama run hf.co/bartowski/Llama-3.3-70B-Instruct-GGUF:IQ4_XS
With
llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):llama-server -m Llama-3.3-70B-Instruct-IQ4_XS.gguf -ngl 26 -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!