OutilsIA
EN Télécharger

Logiciels Rust (Windows & Linux)

Labo navigateur & Preuves

Ressources

Tous les téléchargements
Qwen 2.5 · Q4_K_M · Dense · GGUF v3

Qwen2.5 14B Instruct (Q4_K_M) : VRAM exacte, KV-Cache & Tenseurs

Grand classique polyvalent 14B (~8,4 Go) tenant dans 12 Go VRAM à 8k et très confortable sur 16 Go jusqu'à 32k.

⚡ 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)10,62 Gio32k en KV Q8_0 : 12,50 Gio
Poids binaires .GGUF8,37 Gio4,87 bits/poids effectifs
Paramètres (Actifs / Totaux)14,77 / 14,77 Md579 tenseurs analysés
Coût du Cache KV192,0 Mio/1kEn Q8_0 : 102,0 Mio / 1 000 tok

1. Provenance binaire HuggingFace

Dépôt officielQwen/Qwen2.5-14B-Instruct-GGUF
Fichier inspectéqwen2.5-14b-instruct-q4_k_m-00001-of-00003.gguf (8,37 Gio)
Commit HuggingFaceb466e1f8c071
Date de lecture2026-12-01 15:05:00 UTC
En-tête analysé5 948 776 octets (SHA-256 359b99c1290f8c32ba23…)

2. Architecture & dimensions GQA

Architecture GGUFqwen2 (Dense)
Couches Transformer48 couches (~103,9 Mio / couche)
Dimensions (d_model / FFN)5120 / 13824
Têtes d’attention (Q / KV)40 Q / 8 KV (GQA 5,0:1, dim 128)
Contexte natif & Vocabulaire131 072 tokens · vocab 152 064

3. Distribution réelle des types de quantification GGML dans ce fichier

Contrairement à une quantification uniforme, un fichier Q4_K_M conserve certains tenseurs critiques dans une précision supérieure :

Type GGMLNombre de tenseursVolumePart du poidsRépartition
Q4_K2896,37 Gio76,2 %
Q6_K491,99 Gio23,8 %
F322410,00 Gio0,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,38 Gio0,20 Gio0,11 Gio9,50 Gio9,32 Gio
4k (4 096)0,75 Gio0,40 Gio0,21 Gio9,87 Gio9,52 Gio
8k (8 192)1,50 Gio0,80 Gio0,42 Gio10,62 Gio9,92 Gio
16k (16 384)3,00 Gio1,59 Gio0,84 Gio12,12 Gio10,71 Gio
32k (32 768)6,00 Gio3,19 Gio1,69 Gio15,12 Gio12,31 Gio
64k (65 536)12,00 Gio6,38 Gio3,38 Gio21,12 Gio15,50 Gio
128k (131 072)24,00 Gio12,75 Gio6,75 Gio33,12 Gio21,87 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 RAM8k · KV FP1637 / 487,30 Gio0,34 GioDébordement RAM
GPU 8 Go + 16 Go RAM32k · KV FP1621 / 487,23 Gio5,18 GioDébordement RAM
GPU 8 Go + 16 Go RAM32k · KV Q8_027 / 487,30 Gio2,30 GioDébordement RAM
GPU 12 Go + 32 Go RAM8k · KV FP1648 / 487,64 Gio—100 % VRAM
GPU 12 Go + 32 Go RAM32k · KV FP1638 / 4811,15 Gio1,25 GioDébordement RAM
GPU 12 Go + 32 Go RAM32k · KV Q8_048 / 489,59 Gio—100 % VRAM
GPU 16 Go + 32 Go RAM8k · KV FP1648 / 487,64 Gio—100 % VRAM
GPU 16 Go + 32 Go RAM32k · KV FP1648 / 4812,40 Gio—100 % VRAM
GPU 16 Go + 32 Go RAM32k · KV Q8_048 / 489,59 Gio—100 % VRAM
GPU 24 Go + 64 Go RAM8k · KV FP1648 / 487,64 Gio—100 % VRAM
GPU 24 Go + 64 Go RAM32k · KV FP1648 / 4812,40 Gio—100 % VRAM
GPU 24 Go + 64 Go RAM32k · KV Q8_048 / 489,59 Gio—100 % VRAM
GPU 32 Go + 64 Go RAM8k · KV FP1648 / 487,64 Gio—100 % VRAM
GPU 32 Go + 64 Go RAM32k · KV FP1648 / 4812,40 Gio—100 % VRAM
GPU 32 Go + 64 Go RAM32k · KV Q8_048 / 489,59 Gio—100 % VRAM
Bi-GPU 48 Go + 128 Go RAM8k · KV FP1648 / 487,64 Gio—100 % VRAM
Bi-GPU 48 Go + 128 Go RAM32k · KV FP1648 / 4812,40 Gio—100 % VRAM
Bi-GPU 48 Go + 128 Go RAM32k · KV Q8_048 / 489,59 Gio—100 % VRAM
Mémoire unifiée 64 Go8k · KV FP1648 / 4810,13 Gio—Mémoire unifiée
Mémoire unifiée 64 Go32k · KV FP1648 / 4814,90 Gio—Mémoire unifiée
Mémoire unifiée 64 Go32k · KV Q8_048 / 4812,08 Gio—Mémoire unifiée

6. Commandes d’exécution locale prêtes à copier

Avec Ollama :
ollama run qwen2.5:14b
Avec llama-server (Flash Attention + Cache KV Q8_0 calibré pour 16 Go VRAM) :
llama-server -m qwen2.5-14b-instruct-q4_k_m-00001-of-00003.gguf -ngl 48 -c 32768 -fa --cache-type-k q8_0 --cache-type-v q8_0

7. Bancs réels certifiés Ed25519 sur ce modèle

lc-de5e5351e4NVIDIA GeForce RTX 4080 SUPER · OLLAMA · 2026-12-0165,7 tok/s

8. Variantes & modèles proches à comparer dans l’Atlas

Qwen2.5 14B Instruct vs Phi-4 14B : duel certifié 16 Go VRAMComparer ce modèle face à un autre (.GGUF) →