LLMs · Shanghai AI Lab
InternLM 7B
- Parameters
- 7.3B
- Architecture
- Dense
- Max context
- 2K tokens
- License
- internlm
- Released
- 2023-07
How to run it
Original weights · Hugging Face
Full-precision files from Shanghai AI Lab, for fine-tuning, vLLM, Transformers.
Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.
| Quantization | Quality | Weights | Total at 2K context | Download |
|---|---|---|---|---|
Q2_K |
Low | 2.9 GB | 4.6 GB | All files (opens in a new tab) |
Q3_K_M |
Low | 3.6 GB | 5.3 GB | All files (opens in a new tab) |
Q4_K_M |
Good | 4.5 GB | 6.1 GB | All files (opens in a new tab) |
Q5_K_M |
High | 5.2 GB | 6.9 GB | All files (opens in a new tab) |
Q6_K |
High | 6.0 GB | 7.7 GB | All files (opens in a new tab) |
Q8_0 |
Very high | 7.8 GB | 9.4 GB | All files (opens in a new tab) |
F16 |
Full | 14.6 GB | 16.3 GB | Original weights (opens in a new tab) |
Best hardware for InternLM 7B
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at Q2_K.
| Grade · points | Hardware | Quant | Memory | Speed | Fit |
|---|---|---|---|---|---|
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4070 SUPER | Q8_0 | 10.0 GB / 12.0 GB | 43.0 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | Intel Arc B580 | Q6_K | 8.3 GB / 12.0 GB | 40.5 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 3060 12GB | Q6_K | 8.3 GB / 12.0 GB | 41.9 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.8/15 | AMD Radeon RX 9070 XT | Q8_0 | 10.2 GB / 16.0 GB | 47.0 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.8/15 | NVIDIA GeForce RTX 4070 Ti SUPER | Q8_0 | 10.2 GB / 16.0 GB | 57.4 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.8/15 | NVIDIA GeForce RTX 4080 SUPER | Q8_0 | 10.2 GB / 16.0 GB | 62.8 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.8/15 | NVIDIA GeForce RTX 5070 Ti | Q8_0 | 10.2 GB / 16.0 GB | 76.5 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.8/15 | NVIDIA GeForce RTX 5080 | Q8_0 | 10.2 GB / 16.0 GB | 82.0 tok/s | Runs well |
| 60 ptsGood (B) · 60 of 100 points: Model quality 5.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4060 | Q4_K_M | 6.5 GB / 8.0 GB | 45.6 tok/s | Runs well |
| 58 ptsGood (B) · 58 of 100 points: Model quality 5.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 12.9/15 | NVIDIA GeForce RTX 5090 | F16 | 17.9 GB / 32.0 GB | 70.5 tok/s | Runs well |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.