Llama 2-7B
Llama 2-7B is an open-weights language model from Meta, released July 18, 2023. It has 7B parameters (dense). On the Epoch Capabilities Index it scores 83.4, rank 237 of 256 rated models.
Check it against your own PC →
Lab
Meta
Released
July 18, 2023
Weights
Open restricted use
Parameters
7B dense
Context
–
Price / M tokens
–
Epoch ECI
83.4 #237
Can you run Llama 2-7B locally?
The smallest common GPU it runs on is 6 GB of VRAM (with 32 GB of RAM): Q6_K, split GPU / CPU, roughly 8 tokens per second. Estimates assume 32 GB of DDR5 RAM, a 16K context and llama.cpp-style GGUF quantization. Enter your exact hardware in the live app.
| GPU memory | Verdict | Best quant | VRAM | RAM | tok/s |
|---|---|---|---|---|---|
| 6 GB VRAM | Runs, slowly | Q6_K (≈ lossless) | 5.2 GB | 3.3 GB | ~8 |
| 8 GB VRAM | Runs on GPU | Q4_K_M (very good) | 7.0 GB | – | ~37 |
| 12 GB VRAM | Runs on GPU | Q6_K (≈ lossless) | 8.5 GB | – | ~36 |
| 16 GB VRAM | Runs on GPU | Q6_K (≈ lossless) | 8.5 GB | – | ~50 |
| 24 GB VRAM | Runs on GPU | Q6_K (≈ lossless) | 8.5 GB | – | ~89 |
| 32 GB VRAM | Runs on GPU | Q6_K (≈ lossless) | 8.5 GB | – | ~160 |
Benchmark results
| Benchmark (Epoch AI) | Score |
|---|---|
| MMLU | 27.7% |
Links
Models with a similar score
MPT-30B · LLaMA-13B · internlm-7b · Baichuan 2-7B · INTELLECT-1
More from Meta
Muse Ember · Muse Spark Open · Muse Wonder · Muse Wonder Full · Muse Spark 1.3 · Muse Spark 1.3 Contributor · Muse Glimmer · Muse Glimmer 30B assistant