Qwen2.5 Coder 14B (Q8_0) (Q8_0) : VRAM exacte, KV-Cache & Tenseurs
Assistant de code 14B en 8 bits (~14,6 Go) : excellent compromis vitesse/précision sur carte 24 Go (RTX 3090 / 4090).
1. Provenance binaire HuggingFace
| Dépôt officiel | Qwen/Qwen2.5-Coder-14B-Instruct-GGUF |
|---|---|
| Fichier inspecté | qwen2.5-coder-14b-instruct-q8_0.gguf (14,62 Gio) |
| Commit HuggingFace | d0a692ef765e |
| Date de lecture | 2026-12-01 15:05:04 UTC |
| En-tête analysé | 5 967 286 octets (SHA-256 3178671fde3c9ff1637f…) |
2. Architecture & dimensions GQA
| Architecture GGUF | qwen2 (Dense) |
|---|---|
| Couches Transformer | 48 couches (~279,0 Mio / couche) |
| Dimensions (d_model / FFN) | 5120 / 13824 |
| Têtes d’attention (Q / KV) | 40 Q / 8 KV (GQA 5,0:1, dim 128) |
| Contexte natif & Vocabulaire | 131 072 tokens · vocab 152 064 |
3. Distribution réelle des types de quantification GGML dans ce fichier
Contrairement à une quantification uniforme, un fichier Q8_0 conserve certains tenseurs critiques dans une précision supérieure :
| Type GGML | Nombre de tenseurs | Volume | Part du poids | Répartition |
|---|---|---|---|---|
Q8_0 | 338 | 14,61 Gio | 100,0 % | |
F32 | 241 | 0,00 Gio | 0,0 % |
4. Falaise du Cache KV de 2k à 128k tokens (FP16 vs Q8_0 vs Q4_0)
Activer Flash Attention et un cache KV en Q8_0 divise presque par deux la mémoire de contexte sans modifier les poids du modèle :
| Longueur de contexte | KV seul (FP16) | KV seul (Q8_0) | KV seul (Q4_0) | VRAM totale (FP16) | VRAM totale (Q8_0) |
|---|---|---|---|---|---|
| 2k (2 048) | 0,38 Gio | 0,20 Gio | 0,11 Gio | 15,75 Gio | 15,57 Gio |
| 4k (4 096) | 0,75 Gio | 0,40 Gio | 0,21 Gio | 16,12 Gio | 15,77 Gio |
| 8k (8 192) | 1,50 Gio | 0,80 Gio | 0,42 Gio | 16,87 Gio | 16,17 Gio |
| 16k (16 384) | 3,00 Gio | 1,59 Gio | 0,84 Gio | 18,37 Gio | 16,96 Gio |
| 32k (32 768) | 6,00 Gio | 3,19 Gio | 1,69 Gio | 21,37 Gio | 18,56 Gio |
| 64k (65 536) | 12,00 Gio | 6,38 Gio | 3,38 Gio | 27,37 Gio | 21,75 Gio |
| 128k (131 072) | 24,00 Gio | 12,75 Gio | 6,75 Gio | 39,37 Gio | 28,12 Gio |
5. Matrice de placement couche par couche par configuration matérielle
Simulation déterministe incluant la réserve VRAM du système d’exploitation et les tampons d’évaluation :
| Configuration matérielle | Contexte & KV | Couches en VRAM | VRAM occupée | Débordement RAM | Verdict mémoire |
|---|---|---|---|---|---|
| GPU 8 Go + 16 Go RAM | 8k · KV FP16 | 18 / 48 | 7,27 Gio | 9,11 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 13 / 48 | 7,24 Gio | 13,91 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 15 / 48 | 7,15 Gio | 11,18 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 30 / 48 | 10,92 Gio | 5,47 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 22 / 48 | 10,81 Gio | 10,33 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 26 / 48 | 10,88 Gio | 7,45 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 43 / 48 | 14,87 Gio | 1,52 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 32 / 48 | 14,79 Gio | 6,36 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 38 / 48 | 14,95 Gio | 3,39 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 48 / 48 | 16,39 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 48 / 48 | 21,15 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 48 / 48 | 18,34 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 48 / 48 | 16,39 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 48 / 48 | 21,15 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 48 / 48 | 18,34 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 48 / 48 | 16,39 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 48 / 48 | 21,15 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 48 / 48 | 18,34 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 48 / 48 | 16,39 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 48 / 48 | 21,15 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 48 / 48 | 18,34 Gio | — | Mémoire unifiée |
6. Commandes d’exécution locale prêtes à copier
llama-server (Flash Attention + Cache KV Q8_0 calibré pour 16 Go VRAM) :7. Bancs réels certifiés Ed25519 sur ce modèle
Aucun passeport Ed25519 certifié n’est encore enregistré pour cette variante exacte (aucun débit tok/s n’est jamais inventé). Lancez ce modèle dans Local Cockpit 0.4.0 pour publier la première mesure signée /b/lc-… !