Aller au contenu
Run LLM Locally

Llama 3.1 8B Instruct sur une RTX 4060

Avec ses 8 Go de VRAM, la RTX 4060 fait tourner Llama 3.1 8B Instruct en Q4_K_M entièrement sur le GPU avec un contexte de 8K (environ 6,7 Go nécessaires). En Q8_0, il ne tient pas en VRAM.

Llama 3.1 8B Instruct

Q4_K_M · 8K contexte

Compatible

Le modèle demande environ 6,7 Go et tient dans les 7,7 Go disponibles (1 Go restants).

Votre matériel
RTX 4060 8 Go · 64 Go RAM
Mémoire estimée
~6,7 Go estimation
VRAM (mémoire utilisable)
7,7 Go
GPU seul
Oui
Offload CPU/GPU
Non nécessaire
Vitesse de génération
36–48 tok/s estimation
Plus grand contexte en mémoire rapide
15K tokens
Confiance : faible

Basé sur : bande passante mémoire (272 Go/s) et taille du modèle

Répartition de la mémoire

~6,7 Go (6,2 Go–7,1 Go) nécessaires · estimation

Tient entièrement en VRAM · 1 Go libres

  • Poids du modèle4,6 Go
  • Cache KV1 Go
  • Surcoût runtime0,8 Go
  • Marge de sécurité0,3 Go
Hypothèses: contexte 8K tokens · cache KV f16 · llama.cpp (CUDA) · flash attention activée · poids = taille réelle du fichier

EstimationDonnées mises à jour il y a 24 joursSource: moteur Run LLM Locally, Hugging Face config.json + model card

Ce qui rend cette estimation moins fiable

  • pas encore de benchmark pour ce matériel et ce modèle

Les autres quantifications sur la RTX 4060

Llama 3.1 8B Instruct sur RTX 4060 + 64 Go de RAM · contexte 8K
Llama 3.1 8B Instruct Q8_08K~10,2 Go · 6,5–12 tok/s estimationOffload CPU/GPU
Llama 3.1 8B Instruct Q6_K8K~8,3 Go · 15–25 tok/s estimationOffload CPU/GPU
Llama 3.1 8B Instruct Q5_K_M8K~7,5 Go · 32–42 tok/s estimationCompatible avec limites
Llama 3.1 8B Instruct Q4_K_M8K~6,7 Go · 36–48 tok/s estimationCompatible
Llama 3.1 8B Instruct IQ4_XS8K~6,2 Go · 39–52 tok/s estimationExcellent
Llama 3.1 8B Instruct Q3_K_M8K~5,8 Go · 42–57 tok/s estimationExcellent

Alternatives

Où acheter une RTX 4060

Les prix et les liens suivent le marché choisi.

GeForce RTX 4060

8 Go GDDR6 · 272 Go/s · 115 W

CompatibleFait tourner Llama 3.1 8B Instruct 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

La RTX 4060 peut-elle faire tourner Llama 3.1 8B Instruct ?
Le modèle demande environ 6,7 Go et tient dans les 7,7 Go disponibles (1 Go restants).
Quelle quantification choisir sur la RTX 4060 ?
Q5_K_M est la quantification la plus précise qui tient entièrement en VRAM avec un contexte de 8K. ~7,5 Go / 7,7 Go.
Quel est le plus grand contexte possible sur la RTX 4060 ?
En Q4_K_M, environ 15K tokens tiennent entièrement en VRAM avec un cache KV en f16. Un cache KV en q8_0 double à peu près ce chiffre.
À quelle vitesse tourne Llama 3.1 8B Instruct (RTX 4060) ?
Nous estimons 36–48 tok/s (estimation, confiance faible). Basé sur : bande passante mémoire (272 Go/s) et taille du modèle.