Mistral Small 3.1 24B (Q8_0) (Q8_0) : VRAM exacte, KV-Cache & Tenseurs
Mistral Small 3.1 24B en 8 bits (~23,3 Go) : conçu pour RTX 5090 32 Go, Bi-GPU 48 Go ou Mac unifié 64 Go.
1. Provenance binaire HuggingFace
| Dépôt officiel | unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF |
|---|---|
| Fichier inspecté | Mistral-Small-3.1-24B-Instruct-2503-Q8_0.gguf (23,33 Gio) |
| Commit HuggingFace | d63ca9416f5d |
| Date de lecture | 2026-12-01 15:05:08 UTC |
| En-tête analysé | 7 884 340 octets (SHA-256 1ede17f04bc42b9d6bb7…) |
2. Architecture & dimensions GQA
| Architecture GGUF | llama (Dense) |
|---|---|
| Couches Transformer | 40 couches (~563,2 Mio / couche) |
| Dimensions (d_model / FFN) | 5120 / 32768 |
| Têtes d’attention (Q / KV) | 32 Q / 8 KV (GQA 4,0:1, dim 128) |
| Contexte natif & Vocabulaire | 131 072 tokens · vocab 131 072 |
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 | 23,33 Gio | 100,0 % | |
F32 | 81 | 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 | 24,39 Gio | 24,25 Gio |
| 4k (4 096) | 0,63 Gio | 0,33 Gio | 0,18 Gio | 24,71 Gio | 24,41 Gio |
| 8k (8 192) | 1,25 Gio | 0,66 Gio | 0,35 Gio | 25,33 Gio | 24,74 Gio |
| 16k (16 384) | 2,50 Gio | 1,33 Gio | 0,70 Gio | 26,58 Gio | 25,41 Gio |
| 32k (32 768) | 5,00 Gio | 2,66 Gio | 1,41 Gio | 29,08 Gio | 26,74 Gio |
| 64k (65 536) | 10,00 Gio | 5,31 Gio | 2,81 Gio | 34,08 Gio | 29,39 Gio |
| 128k (131 072) | 20,00 Gio | 10,63 Gio | 5,63 Gio | 44,08 Gio | 34,71 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 | 9 / 40 | 6,83 Gio | 18,02 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 8 / 40 | 7,26 Gio | 21,60 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 8 / 40 | 6,79 Gio | 19,72 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 16 / 40 | 10,90 Gio | 13,95 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 13 / 40 | 10,63 Gio | 18,22 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 15 / 40 | 11,10 Gio | 15,41 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 23 / 40 | 14,96 Gio | 9,88 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 19 / 40 | 14,68 Gio | 14,17 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 21 / 40 | 14,80 Gio | 11,71 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 36 / 40 | 22,52 Gio | 2,32 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 31 / 40 | 22,78 Gio | 6,07 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 34 / 40 | 22,81 Gio | 3,70 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 40 / 40 | 24,84 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 40 / 40 | 28,86 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 40 / 40 | 26,51 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 40 / 40 | 24,84 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 40 / 40 | 28,86 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 40 / 40 | 26,51 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 40 / 40 | 24,84 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 40 / 40 | 28,86 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 40 / 40 | 26,51 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-… !