Qwen3 14B (Q8_0) (Q8_0) : VRAM exacte, KV-Cache & Tenseurs
Qwen3 14B en 8 bits (~14,6 Go) : dépasse 16 Go dès que le contexte monte, taillé pour GPU 24 Go à 32k–64k.
1. Provenance binaire HuggingFace
| Dépôt officiel | Qwen/Qwen3-14B-GGUF |
|---|---|
| Fichier inspecté | Qwen3-14B-Q8_0.gguf (14,62 Gio) |
| Commit HuggingFace | 530227a7d994 |
| Date de lecture | 2026-12-01 15:05:05 UTC |
| En-tête analysé | 5 958 983 octets (SHA-256 3db5a428137242f3ef13…) |
2. Architecture & dimensions GQA
| Architecture GGUF | qwen3 (Dense) |
|---|---|
| Couches Transformer | 40 couches (~334,7 Mio / couche) |
| Dimensions (d_model / FFN) | 5120 / 17408 |
| Têtes d’attention (Q / KV) | 40 Q / 8 KV (GQA 5,0:1, dim 128) |
| Contexte natif & Vocabulaire | 40 960 tokens · vocab 151 936 |
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 | 282 | 14,61 Gio | 100,0 % | |
F32 | 161 | 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,31 Gio | 0,17 Gio | 0,09 Gio | 15,67 Gio | 15,53 Gio |
| 4k (4 096) | 0,63 Gio | 0,33 Gio | 0,18 Gio | 15,99 Gio | 15,69 Gio |
| 8k (8 192) | 1,25 Gio | 0,66 Gio | 0,35 Gio | 16,61 Gio | 16,02 Gio |
| 16k (16 384) | 2,50 Gio | 1,33 Gio | 0,70 Gio | 17,86 Gio | 16,69 Gio |
| 32k (32 768) | 5,00 Gio | 2,66 Gio | 1,41 Gio | 20,36 Gio | 18,02 Gio |
| 64k (65 536) | 10,00 Gio | 5,31 Gio | 2,81 Gio | 25,36 Gio | 20,67 Gio |
| 128k (131 072) | 20,00 Gio | 10,63 Gio | 5,63 Gio | 35,36 Gio | 25,99 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 | 15 / 40 | 7,18 Gio | 8,95 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 11 / 40 | 7,04 Gio | 13,10 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 13 / 40 | 7,18 Gio | 10,62 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 26 / 40 | 11,12 Gio | 5,01 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 20 / 40 | 11,11 Gio | 9,04 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 23 / 40 | 11,12 Gio | 6,69 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 37 / 40 | 15,06 Gio | 1,07 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 28 / 40 | 14,72 Gio | 5,42 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 33 / 40 | 15,05 Gio | 2,75 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 40 / 40 | 16,13 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 40 / 40 | 20,14 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 40 / 40 | 17,80 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 40 / 40 | 16,13 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 40 / 40 | 20,14 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 40 / 40 | 17,80 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 40 / 40 | 16,13 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 40 / 40 | 20,14 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 40 / 40 | 17,80 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 40 / 40 | 16,13 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 40 / 40 | 20,14 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 40 / 40 | 17,80 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-… !