Llama 3.3 70B Instruct (Q4_K_M) (Q4_K_M) : VRAM exacte, KV-Cache & Tenseurs
70B dense de référence (80 couches, ~39,8 Go) : requiert 48 Go de VRAM (bi-GPU 2×24 Go) ou 64 Go de mémoire unifiée.
⚡ Simuler sur votre GPU dans l’onglet (WASM)
Mesurer & signer Ed25519 dans Local Cockpit 0.4.0
Voir le fichier sur HuggingFace
VRAM min (8k · KV FP16)42,84 Gio32k en KV Q8_0 : 45,86 Gio
Poids binaires .GGUF39,59 Gio4,82 bits/poids effectifs
Paramètres (Actifs / Totaux)70,55 / 70,55 Md724 tenseurs analysés
Coût du Cache KV320,0 Mio/1kEn Q8_0 : 170,0 Mio / 1 000 tok
1. Provenance binaire HuggingFace
| Dépôt officiel | bartowski/Llama-3.3-70B-Instruct-GGUF |
|---|---|
| Fichier inspecté | Llama-3.3-70B-Instruct-Q4_K_M.gguf (39,60 Gio) |
| Commit HuggingFace | b6c5c9f176f3 |
| Date de lecture | 2026-11-29 15:28:43 UTC |
| En-tête analysé | 7 867 082 octets (SHA-256 39f0e9fbc36ed65b928b…) |
2. Architecture & dimensions GQA
| Architecture GGUF | llama (Dense) |
|---|---|
| Couches Transformer | 80 couches (~489,5 Mio / couche) |
| Dimensions (d_model / FFN) | 8192 / 28672 |
| Têtes d’attention (Q / KV) | 64 Q / 8 KV (GQA 8,0:1, dim 128) |
| Contexte natif & Vocabulaire | 131 072 tokens · vocab 128 256 |
3. Distribution réelle des types de quantification GGML dans ce fichier
Contrairement à une quantification uniforme, un fichier Q4_K_M conserve certains tenseurs critiques dans une précision supérieure :
| Type GGML | Nombre de tenseurs | Volume | Part du poids | Répartition |
|---|---|---|---|---|
Q4_K | 441 | 31,14 Gio | 78,6 % | |
Q6_K | 81 | 8,24 Gio | 20,8 % | |
Q5_K | 40 | 0,21 Gio | 0,5 % | |
F32 | 162 | 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,63 Gio | 0,33 Gio | 0,18 Gio | 40,97 Gio | 40,67 Gio |
| 4k (4 096) | 1,25 Gio | 0,66 Gio | 0,35 Gio | 41,59 Gio | 41,00 Gio |
| 8k (8 192) | 2,50 Gio | 1,33 Gio | 0,70 Gio | 42,84 Gio | 41,67 Gio |
| 16k (16 384) | 5,00 Gio | 2,66 Gio | 1,41 Gio | 45,34 Gio | 43,00 Gio |
| 32k (32 768) | 10,00 Gio | 5,31 Gio | 2,81 Gio | 50,34 Gio | 45,65 Gio |
| 64k (65 536) | 20,00 Gio | 10,63 Gio | 5,63 Gio | 60,34 Gio | 50,97 Gio |
| 128k (131 072) | 40,00 Gio | 21,25 Gio | 11,25 Gio | 80,34 Gio | 61,59 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 | 10 / 80 | 7,05 Gio | 35,36 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 8 / 80 | 7,15 Gio | 43,19 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 9 / 80 | 7,25 Gio | 38,39 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 18 / 80 | 11,01 Gio | 31,40 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 14 / 80 | 10,76 Gio | 39,57 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 16 / 80 | 11,03 Gio | 34,61 Gio | Mémoire insuffisante |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 26 / 80 | 15,03 Gio | 27,38 Gio | Mémoire insuffisante |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 21 / 80 | 14,90 Gio | 35,43 Gio | Mémoire insuffisante |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 23 / 80 | 14,76 Gio | 30,89 Gio | Mémoire insuffisante |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 41 / 80 | 22,52 Gio | 19,89 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 34 / 80 | 22,65 Gio | 27,68 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 38 / 80 | 22,78 Gio | 22,86 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 57 / 80 | 30,50 Gio | 11,91 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 47 / 80 | 30,35 Gio | 19,99 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 52 / 80 | 30,29 Gio | 15,36 Gio | Débordement RAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 80 / 80 | 42,41 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 74 / 80 | 46,54 Gio | 3,79 Gio | Débordement RAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 80 / 80 | 45,65 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 80 / 80 | 42,41 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 80 / 80 | 50,33 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 80 / 80 | 45,65 Gio | — | Mémoire unifiée |
6. Commandes d’exécution locale prêtes à copier
Avec Ollama :
ollama run llama3.3:70b
Avec
llama-server (Flash Attention + Cache KV Q8_0 calibré pour 16 Go 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. 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-… !