Qwen2.5 Coder 14B (Q8_0) (Q8_0) — Exact VRAM, KV Cache & Tensor X-Ray
8-bit 14B coding specialist (~14.6 GiB): sharp precision and headroom on 24 GB RTX 3090 / 4090 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)16.87 GiB32k w/ Q8_0 KV: 18.76 GiB
Binary .GGUF Weights14.62 GiB8.50 effective bits/weight
Parameters (Active / Total)14.77 / 14.77 B579 parsed tensors
KV Cache Growth192.0 MiB/1kQ8_0 KV: 102.0 MiB / 1k tok
1. HuggingFace Binary Provenance
| Repository | Qwen/Qwen2.5-Coder-14B-Instruct-GGUF |
|---|---|
| Inspected File | qwen2.5-coder-14b-instruct-q8_0.gguf (14.62 GiB) |
| HF Commit SHA | d0a692ef765e |
| Harvested UTC | 2026-12-01 15:05:04 UTC |
| Parsed Header | 5 967 286 bytes (SHA-256 3178671fde3c9ff1637f…) |
2. Transformer & GQA Architecture
| GGUF Architecture | qwen2 (Dense) |
|---|---|
| Transformer Layers | 48 layers (~279.0 MiB / layer) |
| Dimensions (d_model / FFN) | 5120 / 13824 |
| Attention Heads (Q / KV) | 40 Q / 8 KV (GQA 5.0:1, dim 128) |
| Native Context & Vocab | 131 072 tokens · vocab 152 064 |
3. Exact GGML Quantization Mix Inside This Binary
Rather than quantizing every tensor identically, Q8_0 keeps sensitive embedding, output and attention tensors at higher precision:
| GGML Type | Tensor Count | Volume | Weight Share | Distribution |
|---|---|---|---|---|
Q8_0 | 338 | 14.61 GiB | 100.0% | |
F32 | 241 | 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.38 GiB | 0.20 GiB | 0.11 GiB | 15.75 GiB | 15.57 GiB |
| 4k (4 096) | 0.75 GiB | 0.40 GiB | 0.21 GiB | 16.12 GiB | 15.77 GiB |
| 8k (8 192) | 1.50 GiB | 0.80 GiB | 0.42 GiB | 16.87 GiB | 16.17 GiB |
| 16k (16 384) | 3.00 GiB | 1.59 GiB | 0.84 GiB | 18.37 GiB | 16.96 GiB |
| 32k (32 768) | 6.00 GiB | 3.19 GiB | 1.69 GiB | 21.37 GiB | 18.56 GiB |
| 64k (65 536) | 12.00 GiB | 6.38 GiB | 3.38 GiB | 27.37 GiB | 21.75 GiB |
| 128k (131 072) | 24.00 GiB | 12.75 GiB | 6.75 GiB | 39.37 GiB | 28.12 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 | 18 / 48 | 7.27 GiB | 9.11 GiB | RAM Spillover |
| 8 GB GPU + 16 GB RAM | 32k · KV FP16 | 13 / 48 | 7.24 GiB | 13.91 GiB | Out of Memory |
| 8 GB GPU + 16 GB RAM | 32k · KV Q8_0 | 15 / 48 | 7.15 GiB | 11.18 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 8k · KV FP16 | 30 / 48 | 10.92 GiB | 5.47 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 32k · KV FP16 | 22 / 48 | 10.81 GiB | 10.33 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 26 / 48 | 10.88 GiB | 7.45 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 8k · KV FP16 | 43 / 48 | 14.87 GiB | 1.52 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 32k · KV FP16 | 32 / 48 | 14.79 GiB | 6.36 GiB | RAM Spillover |
| 16 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 38 / 48 | 14.95 GiB | 3.39 GiB | RAM Spillover |
| 24 GB GPU + 64 GB RAM | 8k · KV FP16 | 48 / 48 | 16.39 GiB | — | 100% VRAM |
| 24 GB GPU + 64 GB RAM | 32k · KV FP16 | 48 / 48 | 21.15 GiB | — | 100% VRAM |
| 24 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 48 / 48 | 18.34 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 8k · KV FP16 | 48 / 48 | 16.39 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 32k · KV FP16 | 48 / 48 | 21.15 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 48 / 48 | 18.34 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 8k · KV FP16 | 48 / 48 | 16.39 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV FP16 | 48 / 48 | 21.15 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV Q8_0 | 48 / 48 | 18.34 GiB | — | 100% VRAM |
| 64 GB Unified Memory | 8k · KV FP16 | 48 / 48 | 16.39 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV FP16 | 48 / 48 | 21.15 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV Q8_0 | 48 / 48 | 18.34 GiB | — | Unified Memory |
6. Ready-to-Run Local CLI Commands
With Ollama:
ollama run qwen2.5-coder:14b-instruct-q8_0
With
llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):llama-server -m qwen2.5-coder-14b-instruct-q8_0.gguf -ngl 38 -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!