Gemma 3 27B IT (Q8_0) (Q8_0) : VRAM exacte, KV-Cache & Tenseurs
Gemma 3 27B en 8 bits (~26,7 Go) : exploite pleinement une RTX 5090 32 Go ou un poste 48–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)31,35 Gio32k en KV Q8_0 : 35,91 Gio
Poids binaires .GGUF26,73 Gio8,50 bits/poids effectifs
Paramètres (Actifs / Totaux)27,01 / 27,01 Md808 tenseurs analysés
Coût du Cache KV496,0 Mio/1kEn Q8_0 : 263,5 Mio / 1 000 tok
1. Provenance binaire HuggingFace
| Dépôt officiel | bartowski/google_gemma-3-27b-it-GGUF |
|---|---|
| Fichier inspecté | google_gemma-3-27b-it-Q8_0.gguf (26,74 Gio) |
| Commit HuggingFace | 4a05c54413bd |
| Date de lecture | 2026-12-01 15:05:10 UTC |
| En-tête analysé | 6 561 407 octets (SHA-256 587ea255d9a544deeeae…) |
2. Architecture & dimensions GQA
| Architecture GGUF | gemma3 (Dense) |
|---|---|
| Couches Transformer | 62 couches (~418,4 Mio / couche) |
| Dimensions (d_model / FFN) | 5376 / 21504 |
| Têtes d’attention (Q / KV) | 32 Q / 16 KV (GQA 2,0:1, dim 128) |
| Contexte natif & Vocabulaire | 131 072 tokens · vocab 262 144 |
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 | 435 | 26,72 Gio | 100,0 % | |
F32 | 373 | 0,01 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,97 Gio | 0,51 Gio | 0,27 Gio | 28,45 Gio | 27,99 Gio |
| 4k (4 096) | 1,94 Gio | 1,03 Gio | 0,54 Gio | 29,42 Gio | 28,51 Gio |
| 8k (8 192) | 3,88 Gio | 2,06 Gio | 1,09 Gio | 31,36 Gio | 29,54 Gio |
| 16k (16 384) | 7,75 Gio | 4,12 Gio | 2,18 Gio | 35,23 Gio | 31,60 Gio |
| 32k (32 768) | 15,50 Gio | 8,23 Gio | 4,36 Gio | 42,98 Gio | 35,71 Gio |
| 64k (65 536) | 31,00 Gio | 16,47 Gio | 8,72 Gio | 58,48 Gio | 43,95 Gio |
| 128k (131 072) | 62,00 Gio | 32,94 Gio | 17,44 Gio | 89,48 Gio | 60,42 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 | 11 / 62 | 6,85 Gio | 24,03 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 8 / 62 | 7,21 Gio | 35,57 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 9 / 62 | 6,82 Gio | 28,70 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 20 / 62 | 11,09 Gio | 19,79 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 14 / 62 | 11,16 Gio | 31,61 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 17 / 62 | 11,15 Gio | 24,37 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 28 / 62 | 14,86 Gio | 16,02 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 19 / 62 | 14,46 Gio | 28,32 Gio | Mémoire insuffisante |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 24 / 62 | 14,94 Gio | 20,58 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 44 / 62 | 22,40 Gio | 8,48 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 31 / 62 | 22,36 Gio | 20,42 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 38 / 62 | 22,52 Gio | 12,99 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 61 / 62 | 30,41 Gio | 0,47 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 43 / 62 | 30,26 Gio | 12,51 Gio | Débordement RAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 52 / 62 | 30,10 Gio | 5,41 Gio | Débordement RAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 62 / 62 | 30,88 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 62 / 62 | 42,78 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 62 / 62 | 35,51 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 62 / 62 | 30,88 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 62 / 62 | 42,78 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 62 / 62 | 35,51 Gio | — | Mémoire unifiée |
6. Commandes d’exécution locale prêtes à copier
Avec Ollama :
ollama run gemma3:27b-it-q8_0
Avec
llama-server (Flash Attention + Cache KV Q8_0 calibré pour 16 Go VRAM) :llama-server -m google_gemma-3-27b-it-Q8_0.gguf -ngl 24 -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-… !