Qwen3 32B (IQ4_XS) (IQ4_XS) : VRAM exacte, KV-Cache & Tenseurs
Économise ~2,2 Go de VRAM face au Q4_K_M sur Qwen3 32B, débloquant 32k–40k de contexte plein GPU sur 24 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)19,22 Gio32k en KV Q8_0 : 21,67 Gio
Poids binaires .GGUF16,47 Gio4,32 bits/poids effectifs
Paramètres (Actifs / Totaux)32,76 / 32,76 Md707 tenseurs analysés
Coût du Cache KV256,0 Mio/1kEn Q8_0 : 136,0 Mio / 1 000 tok
1. Provenance binaire HuggingFace
| Dépôt officiel | bartowski/Qwen_Qwen3-32B-GGUF |
|---|---|
| Fichier inspecté | Qwen_Qwen3-32B-IQ4_XS.gguf (16,48 Gio) |
| Commit HuggingFace | 533fbb1ae5f2 |
| Date de lecture | 2026-11-29 15:28:40 UTC |
| En-tête analysé | 5 975 353 octets (SHA-256 8384330c87aa81d2484d…) |
2. Architecture & dimensions GQA
| Architecture GGUF | qwen3 (Dense) |
|---|---|
| Couches Transformer | 64 couches (~247,8 Mio / couche) |
| Dimensions (d_model / FFN) | 5120 / 25600 |
| Têtes d’attention (Q / KV) | 64 Q / 8 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 | 385 | 15,66 Gio | 95,1 % | |
Q6_K | 1 | 0,59 Gio | 3,6 % | |
Q5_K | 64 | 0,21 Gio | 1,3 % | |
F32 | 257 | 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,50 Gio | 0,27 Gio | 0,14 Gio | 17,72 Gio | 17,49 Gio |
| 4k (4 096) | 1,00 Gio | 0,53 Gio | 0,28 Gio | 18,22 Gio | 17,75 Gio |
| 8k (8 192) | 2,00 Gio | 1,06 Gio | 0,56 Gio | 19,22 Gio | 18,28 Gio |
| 16k (16 384) | 4,00 Gio | 2,13 Gio | 1,13 Gio | 21,22 Gio | 19,35 Gio |
| 32k (32 768) | 8,00 Gio | 4,25 Gio | 2,25 Gio | 25,22 Gio | 21,47 Gio |
| 64k (65 536) | 16,00 Gio | 8,50 Gio | 4,50 Gio | 33,22 Gio | 25,72 Gio |
| 128k (131 072) | 32,00 Gio | 17,00 Gio | 9,00 Gio | 49,22 Gio | 34,22 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 | 22 / 64 | 7,26 Gio | 11,48 Gio | Débordement RAM |
| GPU 8 Go + 16 Go RAM | 32k · KV FP16 | 15 / 64 | 7,01 Gio | 17,99 Gio | Mémoire insuffisante |
| GPU 8 Go + 16 Go RAM | 32k · KV Q8_0 | 18 / 64 | 7,06 Gio | 14,19 Gio | Mémoire insuffisante |
| GPU 12 Go + 32 Go RAM | 8k · KV FP16 | 36 / 64 | 11,09 Gio | 7,65 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV FP16 | 26 / 64 | 11,05 Gio | 13,95 Gio | Débordement RAM |
| GPU 12 Go + 32 Go RAM | 32k · KV Q8_0 | 31 / 64 | 11,07 Gio | 10,18 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 8k · KV FP16 | 50 / 64 | 14,91 Gio | 3,83 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV FP16 | 36 / 64 | 14,72 Gio | 10,28 Gio | Débordement RAM |
| GPU 16 Go + 32 Go RAM | 32k · KV Q8_0 | 43 / 64 | 14,77 Gio | 6,48 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 8k · KV FP16 | 64 / 64 | 18,74 Gio | — | 100 % VRAM |
| GPU 24 Go + 64 Go RAM | 32k · KV FP16 | 58 / 64 | 22,80 Gio | 2,20 Gio | Débordement RAM |
| GPU 24 Go + 64 Go RAM | 32k · KV Q8_0 | 64 / 64 | 21,25 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 8k · KV FP16 | 64 / 64 | 18,74 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV FP16 | 64 / 64 | 25,00 Gio | — | 100 % VRAM |
| GPU 32 Go + 64 Go RAM | 32k · KV Q8_0 | 64 / 64 | 21,25 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 8k · KV FP16 | 64 / 64 | 18,74 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV FP16 | 64 / 64 | 25,00 Gio | — | 100 % VRAM |
| Bi-GPU 48 Go + 128 Go RAM | 32k · KV Q8_0 | 64 / 64 | 21,25 Gio | — | 100 % VRAM |
| Mémoire unifiée 64 Go | 8k · KV FP16 | 64 / 64 | 18,74 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV FP16 | 64 / 64 | 25,00 Gio | — | Mémoire unifiée |
| Mémoire unifiée 64 Go | 32k · KV Q8_0 | 64 / 64 | 21,25 Gio | — | Mémoire unifiée |
6. Commandes d’exécution locale prêtes à copier
Avec Ollama :
ollama run hf.co/bartowski/Qwen_Qwen3-32B-GGUF:IQ4_XS
Avec
llama-server (Flash Attention + Cache KV Q8_0 calibré pour 16 Go VRAM) :llama-server -m Qwen_Qwen3-32B-IQ4_XS.gguf -ngl 43 -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-… !