Llama 3.3 70B Instruct (IQ4_XS) (IQ4_XS) : VRAM exacte, KV-Cache & Tenseurs
Abaisse Llama 3.3 70B vers ~35 Go, laissant ~10 Go d'air pour le KV-cache 32k–64k sur bi-GPU 48 Go ou Mac 64 Go.
⚡ 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)38,54 Gio32k en KV Q8_0 : 41,55 Gio
Poids binaires .GGUF35,29 Gio4,30 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-IQ4_XS.gguf (35,30 Gio) |
| Commit HuggingFace | b6c5c9f176f3 |
| Date de lecture | 2026-11-29 15:28:44 UTC |
| En-tête analysé | 7 867 082 octets (SHA-256 34e4336b0ee96abb7bf6…) |
2. Architecture & dimensions GQA
| Architecture GGUF | llama (Dense) |
|---|---|
| Couches Transformer | 80 couches (~434,8 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 IQ4_XS conserve certains tenseurs critiques dans une précision supérieure :
| Type GGML | Nombre de tenseurs | Volume | Part du poids | Répartition |
|---|---|---|---|---|
IQ4_XS | 481 | 34,05 Gio | 96,5 % | |
Q6_K | 1 | 0,80 Gio | 2,3 % | |
Q5_K | 80 | 0,43 Gio | 1,2 % | |
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 | 36,67 Gio | 36,37 Gio |
| 4k (4 096) | 1,25 Gio | 0,66 Gio | 0,35 Gio | 37,29 Gio | 36,70 Gio |
| 8k (8 192) | 2,50 Gio | 1,33 Gio | 0,70 Gio | 38,54 Gio | 37,37 Gio |
| 16k (16 384) | 5,00 Gio | 2,66 Gio | 1,41 Gio | 41,04 Gio | 38,70 Gio |
| 32k (32 768) | 10,00 Gio | 5,31 Gio | 2,81 Gio | 46,04 Gio | 41,35 Gio |
| 64k (65 536) | 20,00 Gio | 10,63 Gio | 5,63 Gio | 56,04 Gio | 46,67 Gio |
| 128k (131 072) | 40,00 Gio | 21,25 Gio | 11,25 Gio | 76,04 Gio | 57,29 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 | 12 / 80 | 7,11 Gio | 31,00 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 9 / 80 | 7,01 Gio | 39,02 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 10 / 80 | 6,97 Gio | 34,37 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 20 / 80 | 10,76 Gio | 27,35 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 16 / 80 | 10,86 Gio | 35,18 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 18 / 80 | 10,90 Gio | 30,44 Gio | Mémoire insuffisante |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 29 / 80 | 14,86 Gio | 23,25 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 23 / 80 | 14,70 Gio | 31,33 Gio | Mémoire insuffisante |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 26 / 80 | 14,83 Gio | 26,52 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 46 / 80 | 22,61 Gio | 15,50 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 37 / 80 | 22,40 Gio | 23,63 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 42 / 80 | 22,69 Gio | 18,66 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 63 / 80 | 30,36 Gio | 7,75 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 51 / 80 | 30,09 Gio | 15,94 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 58 / 80 | 30,54 Gio | 10,80 Gio | Débordement RAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 80 / 80 | 38,11 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 80 / 80 | 46,03 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 80 / 80 | 41,34 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 80 / 80 | 38,11 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 80 / 80 | 46,03 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 80 / 80 | 41,34 Gio | — | Mémoire unifiée |
6. Commandes d’exécution locale prêtes à copier
Avec Ollama :
ollama run hf.co/bartowski/Llama-3.3-70B-Instruct-GGUF:IQ4_XS
Avec
llama-server (Flash Attention + Cache KV Q8_0 calibré pour 16 Go VRAM) :llama-server -m Llama-3.3-70B-Instruct-IQ4_XS.gguf -ngl 26 -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-… !