Qwen3 30B-A3B (MoE IQ4_XS) (IQ4_XS) : VRAM exacte, KV-Cache & Tenseurs
Version IQ4_XS (~15,3 Go) du MoE 30B-A3B : frôle le 100 % GPU sur 16 Go et laisse > 7 Go de marge KV sur 24 Go.
1. Provenance binaire HuggingFace
| Dépôt officiel | bartowski/Qwen_Qwen3-30B-A3B-GGUF |
|---|---|
| Fichier inspecté | Qwen_Qwen3-30B-A3B-IQ4_XS.gguf (15,33 Gio) |
| Commit HuggingFace | 46f17e079cba |
| Date de lecture | 2026-12-01 15:05:13 UTC |
| En-tête analysé | 5 970 589 octets (SHA-256 eaf2ae73906c030bb3ab…) |
2. Architecture & dimensions GQA
| Architecture GGUF | qwen3moe (MoE (8/128 experts actifs)) |
|---|---|
| Couches Transformer | 48 couches (~318,5 Mio / couche) |
| Dimensions (d_model / FFN) | 2048 / 6144 |
| Têtes d’attention (Q / KV) | 32 Q / 4 KV (GQA 8,0:1, dim 128) |
| Contexte natif & Vocabulaire | 32 768 tokens · vocab 151 936 |
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 | 193 | 14,70 Gio | 95,9 % | |
Q5_K | 96 | 0,29 Gio | 1,9 % | |
Q6_K | 1 | 0,24 Gio | 1,6 % | |
Q8_0 | 48 | 0,05 Gio | 0,3 % | |
F32 | 241 | 0,05 Gio | 0,3 % |
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,19 Gio | 0,10 Gio | 0,05 Gio | 16,26 Gio | 16,17 Gio |
| 4k (4 096) | 0,38 Gio | 0,20 Gio | 0,11 Gio | 16,45 Gio | 16,27 Gio |
| 8k (8 192) | 0,75 Gio | 0,40 Gio | 0,21 Gio | 16,82 Gio | 16,47 Gio |
| 16k (16 384) | 1,50 Gio | 0,80 Gio | 0,42 Gio | 17,57 Gio | 16,87 Gio |
| 32k (32 768) | 3,00 Gio | 1,59 Gio | 0,84 Gio | 19,07 Gio | 17,66 Gio |
| 64k (65 536) | 6,00 Gio | 3,19 Gio | 1,69 Gio | 22,07 Gio | 19,26 Gio |
| 128k (131 072) | 12,00 Gio | 6,38 Gio | 3,38 Gio | 28,07 Gio | 22,45 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 | 20 / 48 | 7,14 Gio | 9,15 Gio | Hybride MoE (rapide) |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 17 / 48 | 7,06 Gio | 11,58 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 19 / 48 | 7,25 Gio | 9,98 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 32 / 48 | 11,06 Gio | 5,23 Gio | Hybride MoE (rapide) |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 28 / 48 | 11,17 Gio | 7,47 Gio | Hybride MoE (rapide) |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 30 / 48 | 11,04 Gio | 6,20 Gio | Hybride MoE (rapide) |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 44 / 48 | 14,98 Gio | 1,31 Gio | Hybride MoE (rapide) |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 38 / 48 | 14,91 Gio | 3,74 Gio | Hybride MoE (rapide) |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 41 / 48 | 14,83 Gio | 2,41 Gio | Hybride MoE (rapide) |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 48 / 48 | 16,29 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 48 / 48 | 18,64 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 48 / 48 | 17,24 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 48 / 48 | 16,29 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 48 / 48 | 18,64 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 48 / 48 | 17,24 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 48 / 48 | 16,29 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 48 / 48 | 18,64 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 48 / 48 | 17,24 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 48 / 48 | 16,29 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 48 / 48 | 18,64 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 48 / 48 | 17,24 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-… !