Llama 3.3 · Q4_K_M · Dense · GGUF v3

Llama 3.3 70B Instruct (Q4_K_M) (Q4_K_M) — Exact VRAM, KV Cache & Tensor X-Ray

70B dense reference (80 layers, ~39.8 GiB): requires 48 GB VRAM (dual 24 GB GPUs) or 64 GB unified memory.

⚡ 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)42.84 GiB32k w/ Q8_0 KV: 45.86 GiB
Binary .GGUF Weights39.59 GiB4.82 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

Repositorybartowski/Llama-3.3-70B-Instruct-GGUF
Inspected FileLlama-3.3-70B-Instruct-Q4_K_M.gguf (39.60 GiB)
HF Commit SHAb6c5c9f176f3
Harvested UTC2026-11-29 15:28:43 UTC
Parsed Header7 867 082 bytes (SHA-256 39f0e9fbc36ed65b928b…)

2. Transformer & GQA Architecture

GGUF Architecturellama (Dense)
Transformer Layers80 layers (~489.5 MiB / layer)
Dimensions (d_model / FFN)8192 / 28672
Attention Heads (Q / KV)64 Q / 8 KV (GQA 8.0:1, dim 128)
Native Context & Vocab131 072 tokens · vocab 128 256

3. Exact GGML Quantization Mix Inside This Binary

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

GGML TypeTensor CountVolumeWeight ShareDistribution
Q4_K44131.14 GiB78.6%
Q6_K818.24 GiB20.8%
Q5_K400.21 GiB0.5%
F321620.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.63 GiB0.33 GiB0.18 GiB40.97 GiB40.67 GiB
4k (4 096)1.25 GiB0.66 GiB0.35 GiB41.59 GiB41.00 GiB
8k (8 192)2.50 GiB1.33 GiB0.70 GiB42.84 GiB41.67 GiB
16k (16 384)5.00 GiB2.66 GiB1.41 GiB45.34 GiB43.00 GiB
32k (32 768)10.00 GiB5.31 GiB2.81 GiB50.34 GiB45.65 GiB
64k (65 536)20.00 GiB10.63 GiB5.63 GiB60.34 GiB50.97 GiB
128k (131 072)40.00 GiB21.25 GiB11.25 GiB80.34 GiB61.59 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 FP1610 / 807.05 GiB35.36 GiBOut of Memory
8 GB GPU + 16 GB RAM32k · KV FP168 / 807.15 GiB43.19 GiBOut of Memory
8 GB GPU + 16 GB RAM32k · KV Q8_09 / 807.25 GiB38.39 GiBOut of Memory
12 GB GPU + 32 GB RAM8k · KV FP1618 / 8011.01 GiB31.40 GiBOut of Memory
12 GB GPU + 32 GB RAM32k · KV FP1614 / 8010.76 GiB39.57 GiBOut of Memory
12 GB GPU + 32 GB RAM32k · KV Q8_016 / 8011.03 GiB34.61 GiBOut of Memory
16 GB GPU + 32 GB RAM8k · KV FP1626 / 8015.03 GiB27.38 GiBOut of Memory
16 GB GPU + 32 GB RAM32k · KV FP1621 / 8014.90 GiB35.43 GiBOut of Memory
16 GB GPU + 32 GB RAM32k · KV Q8_023 / 8014.76 GiB30.89 GiBOut of Memory
24 GB GPU + 64 GB RAM8k · KV FP1641 / 8022.52 GiB19.89 GiBRAM Spillover
24 GB GPU + 64 GB RAM32k · KV FP1634 / 8022.65 GiB27.68 GiBRAM Spillover
24 GB GPU + 64 GB RAM32k · KV Q8_038 / 8022.78 GiB22.86 GiBRAM Spillover
32 GB GPU + 64 GB RAM8k · KV FP1657 / 8030.50 GiB11.91 GiBRAM Spillover
32 GB GPU + 64 GB RAM32k · KV FP1647 / 8030.35 GiB19.99 GiBRAM Spillover
32 GB GPU + 64 GB RAM32k · KV Q8_052 / 8030.29 GiB15.36 GiBRAM Spillover
48 GB Dual-GPU + 128 GB RAM8k · KV FP1680 / 8042.41 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV FP1674 / 8046.54 GiB3.79 GiBRAM Spillover
48 GB Dual-GPU + 128 GB RAM32k · KV Q8_080 / 8045.65 GiB—100% VRAM
64 GB Unified Memory8k · KV FP1680 / 8042.41 GiB—Unified Memory
64 GB Unified Memory32k · KV FP1680 / 8050.33 GiB—Unified Memory
64 GB Unified Memory32k · KV Q8_080 / 8045.65 GiB—Unified Memory

6. Ready-to-Run Local CLI Commands

With Ollama:
ollama run llama3.3:70b
With llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):
llama-server -m Llama-3.3-70B-Instruct-Q4_K_M.gguf -ngl 23 -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