Hermes 3 Llama-3.1 8B (Q8_0) (Q8_0) : VRAM exacte, KV-Cache & Tenseurs
Version 8 bits haute fidélité de Hermes 3 8B (~7,9 Go) dédiée aux GPU 12–16 Go pour appels d'outils et agents locaux.
1. Provenance binaire HuggingFace
| Dépôt officiel | NousResearch/Hermes-3-Llama-3.1-8B-GGUF |
|---|---|
| Fichier inspecté | Hermes-3-Llama-3.1-8B.Q8_0.gguf (7,95 Gio) |
| Commit HuggingFace | 307a5dfb59aa |
| Date de lecture | 2026-12-01 15:04:54 UTC |
| En-tête analysé | 7 835 506 octets (SHA-256 a19323db9527e6337c11…) |
2. Architecture & dimensions GQA
| Architecture GGUF | llama (Dense) |
|---|---|
| Couches Transformer | 32 couches (~221,0 Mio / couche) |
| Dimensions (d_model / FFN) | 4096 / 14336 |
| Têtes d’attention (Q / KV) | 32 Q / 8 KV (GQA 4,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 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 | 226 | 7,95 Gio | 100,0 % | |
F32 | 66 | 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,25 Gio | 0,13 Gio | 0,07 Gio | 8,95 Gio | 8,83 Gio |
| 4k (4 096) | 0,50 Gio | 0,27 Gio | 0,14 Gio | 9,20 Gio | 8,97 Gio |
| 8k (8 192) | 1,00 Gio | 0,53 Gio | 0,28 Gio | 9,70 Gio | 9,23 Gio |
| 16k (16 384) | 2,00 Gio | 1,06 Gio | 0,56 Gio | 10,70 Gio | 9,76 Gio |
| 32k (32 768) | 4,00 Gio | 2,13 Gio | 1,13 Gio | 12,70 Gio | 10,83 Gio |
| 64k (65 536) | 8,00 Gio | 4,25 Gio | 2,25 Gio | 16,70 Gio | 12,95 Gio |
| 128k (131 072) | 16,00 Gio | 8,50 Gio | 4,50 Gio | 24,70 Gio | 17,20 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 | 24 / 32 | 7,22 Gio | 1,98 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 17 / 32 | 7,29 Gio | 5,11 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 20 / 32 | 7,14 Gio | 3,39 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 32 / 32 | 9,20 Gio | — | 100 % VRAM |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 28 / 32 | 11,04 Gio | 1,36 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 32 / 32 | 10,53 Gio | — | 100 % VRAM |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 32 / 32 | 9,20 Gio | — | 100 % VRAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 32 / 32 | 12,41 Gio | — | 100 % VRAM |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 32 / 32 | 10,53 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 32 / 32 | 9,20 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 32 / 32 | 12,41 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 32 / 32 | 10,53 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 32 / 32 | 9,20 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 32 / 32 | 12,41 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 32 / 32 | 10,53 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 32 / 32 | 9,20 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 32 / 32 | 12,41 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 32 / 32 | 10,53 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 32 / 32 | 9,20 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 32 / 32 | 12,41 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 32 / 32 | 10,53 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-… !