Aller au contenu
Run LLM Locally

Modèle · Mistral AI

Mistral 7B Instruct v0.3 : VRAM et matériel nécessaires

En Q4_K_M avec un contexte de 8K, Mistral 7B Instruct v0.3 demande environ 6 Go : un GPU de 8 Go ou plus le fait tourner entièrement en VRAM.

  • Paramètres7,25B
  • Contexte max32K
  • LicenceApache-2.0

Caractéristiques

Organisation
Mistral AI
Architecture
mistral
Sortie
mai 2024
Couches
32
Dimension cachée
4096
Têtes d'attention
32
Têtes KV
8
Dimension par tête
128
Vocabulaire
32 768
Cache KV pour 1K tokens (f16)
0,125 Go

Spécification officielleDonnées mises à jour il y a 24 joursSource: Hugging Face config.json + model card

Quantifications et mémoire

Mistral 7B Instruct v0.3 : mémoire par quantification, contexte 8K
QuantificationTaille du fichierMémoire nécessaireMémoire GPU minimaleQualité
BF16Non disponible~15,8 Go20 GoRéférence (non quantifié)
Q8_07,2 Go~9,2 Go10 GoQuasi sans perte
Q6_K5,5 Go~7,5 Go8 GoQuasi sans perte
Q5_K_M4,8 Go~6,7 Go8 GoTrès bonne
Q4_K_MLa plus utilisée4,1 Go~6 Go8 GoBonne — le choix courant
IQ4_XS3,6 Go~5,6 Go8 GoBonne — le choix courant
Q3_K_M3,3 Go~5,3 Go8 GoPerte perceptible
Q2_K2,5 Go~4,6 Go8 GoPerte importante

Tailles de fichier : non disponibles tant qu'elles ne sont pas importées du dépôt du modèle. Mémoire = poids (estimés d'après les bits par poids) + cache KV + surcoût runtime + marge de sécurité. (BF16 ≈ 16 bpw, Q8_0 ≈ 8,5 bpw, Q6_K ≈ 6,57 bpw, Q5_K_M ≈ 5,7 bpw, Q4_K_M ≈ 4,9 bpw, IQ4_XS ≈ 4,46 bpw, Q3_K_M ≈ 4 bpw, Q2_K ≈ 3,17 bpw)

Q4, Q5 ou Q8 : comment choisir sa quantification

Les GPU qui font tourner Mistral 7B Instruct v0.3

Mistral 7B Instruct v0.3 Q4_K_M · contexte 8K, un GPU
RTX 509032 Go · 64 Go RAM~5,9 Go · 183–293 tok/s estimationExcellent
RTX 409024 Go · 64 Go RAM~5,9 Go · 122–180 tok/s estimationExcellent
RTX 309024 Go · 64 Go RAM~5,9 Go · 115–168 tok/s estimationExcellent
RX 7900 XTX24 Go · 64 Go RAM~6 Go · 96–149 tok/s estimationExcellent
RTX 5060 Ti 16 GB16 Go · 64 Go RAM~5,9 Go · 62–85 tok/s estimationExcellent
RTX 5070 Ti16 Go · 64 Go RAM~5,9 Go · 111–162 tok/s estimationExcellent
RTX 508016 Go · 64 Go RAM~5,9 Go · 117–172 tok/s estimationExcellent
RTX 4060 Ti 16 GB16 Go · 64 Go RAM~5,9 Go · 42–56 tok/s estimationExcellent
RTX 4070 Ti SUPER16 Go · 64 Go RAM~5,9 Go · 88–124 tok/s estimationExcellent
RX 9070 XT16 Go · 64 Go RAM~6 Go · 71–106 tok/s estimationExcellent
RTX 3060 12 GB12 Go · 64 Go RAM~5,9 Go · 51–69 tok/s estimationExcellent
RTX 407012 Go · 64 Go RAM~5,9 Go · 69–95 tok/s estimationExcellent
RTX 507012 Go · 64 Go RAM~5,9 Go · 88–124 tok/s estimationExcellent
RTX 40608 Go · 64 Go RAM~5,9 Go · 40–53 tok/s estimationExcellent

Les Mac qui font tourner Mistral 7B Instruct v0.3

Mistral 7B Instruct v0.3 Q4_K_M · contexte 8K
M3 Ultra (80-core GPU) · 512 GoMac Studio~5,7 Go · 82–154 tok/s estimationExcellent
M4 Max (40-core GPU) · 128 GoMacBook Pro 14, MacBook Pro 16~5,7 Go · 60–103 tok/s estimationExcellent
M3 Max (40-core GPU) · 128 GoMacBook Pro 14, MacBook Pro 16~5,7 Go · 46–75 tok/s estimationExcellent
M4 Pro (20-core GPU) · 64 GoMac mini, MacBook Pro 14~5,7 Go · 33–51 tok/s estimationExcellent
M4 Max (32-core GPU) · 36 GoMacBook Pro 14, MacBook Pro 16~5,7 Go · 47–77 tok/s estimationExcellent
M4 · 32 GoMacBook Air, MacBook Pro 14~5,7 Go · 16–23 tok/s estimationExcellent
M5 · 32 GoMacBook Pro 14~5,7 Go · 20–29 tok/s estimationExcellent
M3 · 24 GoMacBook Air, MacBook Pro 14~5,7 Go · 13–19 tok/s estimationExcellent

EstimationDonnées mises à jour il y a 24 joursSource: moteur Run LLM Locally

Les limites en clair

Le cache KV grandit avec le contexte : à 32K, il ajoute environ 4 Go aux poids.

Avec moins de 8 Go de VRAM, choisissez une quantification plus petite ou un modèle plus petit de la même famille.

Où acheter

Les prix et les liens suivent le marché choisi.

GeForce RTX 4060

NVIDIA

ExcellentFait tourner Mistral 7B Instruct v0.3 Q4_K_M entièrement en mémoire

Prix indisponible

Disponibilité inconnue

Voir sur amazon.fr

Lien affilié

Radeon RX 7600 XT

AMD

ExcellentFait tourner Mistral 7B Instruct v0.3 Q4_K_M entièrement en mémoire

Prix indisponible

Disponibilité inconnue

Voir sur amazon.fr

Lien affilié

AMD Ryzen AI Max+ 395

PC à mémoire unifiée

ExcellentFait tourner Mistral 7B Instruct v0.3 Q4_K_M entièrement en mémoire

Prix indisponible

Disponibilité inconnue

Voir sur amazon.fr

Lien affilié

Aucune offre importée pour ce marché : le lien ouvre une recherche sur la boutique.

Questions fréquentes

Combien de VRAM faut-il pour Mistral 7B Instruct v0.3 ?
Environ 6 Go en Q4_K_M avec un contexte de 8K, cache KV et surcoût compris. En Q8_0, il faut environ 9,2 Go. Un contexte plus long ajoute davantage : environ 4 Go de cache KV à 32K.
Mistral 7B Instruct v0.3 tourne-t-il sur Mac ?
Oui, sur un Mac dont le GPU peut utiliser au moins 5,7 Go, par exemple M3 24 Go. Par défaut, macOS laisse le GPU utiliser environ deux tiers à trois quarts de la mémoire unifiée.
À quelle vitesse tourne Mistral 7B Instruct v0.3 ?
Sur une RTX 4090, nous estimons 122–180 tok/s en Q4_K_M. C'est une estimation fondée sur la bande passante mémoire (confiance faible) tant que des benchmarks ne sont pas importés.