StarCoder2 15B Instruct on NVIDIA GeForce RTX 4070 SUPER
Can the NVIDIA GeForce RTX 4070 SUPER run StarCoder2 15B Instruct?
Yes, with little memory to spare
Tight fit. At Q4_K_M it needs about 11.6 GB of 12.0 GB usable, with an estimated speed of 38.8 tok/s.
- Best quant
Q4_K_M- Generation speed
- 38.8 tok/s
- Prompt processing
- 1,602 tok/s
- First token (1K prompt)
- 0.6 s
- Largest safe context
- 12K
Download StarCoder2 15B Instruct
Recommended for the NVIDIA GeForce RTX 4070 SUPER: Q4_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run starcoder2:15b-instruct-v0.1-q4_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF (opens in a new tab)
ollama run hf.co/lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from BigCode, for fine-tuning, vLLM, Transformers.
huggingface.co/bigcode/starcoder2-15b-instruct-v0.1 (opens in a new tab)
Official repo · GitHub
Reference code, inference scripts and docs from BigCode. The weights themselves download from Hugging Face.
github.com/bigcode-project/starcoder2 (opens in a new tab)
git clone https://github.com/bigcode-project/starcoder2How the B grade is scored
Every result gets up to 100 points from four parts. The points decide the letter grade.
| Model quality | 17.1 / 45 | |
|---|---|---|
| Memory fit | 24.0 / 25 | |
| Speed | 14.8 / 15 | |
| Memory use | 15.0 / 15 | |
| Total | 70.9 / 100 | 70 ptsGood (B) · 70 of 100 points: Model quality 17.1/45, Memory fit 24.0/25, Speed 14.8/15, Memory use 15.0/15 |
Every quantization on the NVIDIA GeForce RTX 4070 SUPER
| Quant | Memory needed | Available | Speed | Fit | Grade · points | Download |
|---|---|---|---|---|---|---|
Q2_K | 8.3 GB | 12.0 GB | 63.7 tok/s | Runs well | 67 ptsGood (B) · 67 of 100 points: Model quality 12.6/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | GGUF (opens in a new tab) |
Q3_K_M | 9.7 GB | 12.0 GB | 50.1 tok/s | Runs well | 70 ptsGood (B) · 70 of 100 points: Model quality 15.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | |
Q4_K_M | 11.6 GB | 12.0 GB | 38.8 tok/s | Tight fit | 70 ptsGood (B) · 70 of 100 points: Model quality 17.1/45, Memory fit 24.0/25, Speed 14.8/15, Memory use 15.0/15 | GGUF (opens in a new tab) |
Q5_K_M | 13.2 GB | 12.0 GB | 18.9 tok/s | Runs with offload | 52 ptsUsable (C) · 52 of 100 points: Model quality 17.5/45, Memory fit 10.0/25, Speed 10.3/15, Memory use 15.0/15 | GGUF (opens in a new tab) |
Q6_K | 15.0 GB | 12.0 GB | 10.8 tok/s | Runs with offload | 50 ptsUsable (C) · 50 of 100 points: Model quality 17.8/45, Memory fit 10.0/25, Speed 7.8/15, Memory use 15.0/15 | GGUF (opens in a new tab) |
Q8_0 | 18.8 GB | 12.0 GB | 5.4 tok/s | Heavy offload | 42 ptsUsable (C) · 42 of 100 points: Model quality 18.0/45, Memory fit 4.0/25, Speed 5.5/15, Memory use 15.0/15 | GGUF (opens in a new tab) |
F16 | 33.8 GB | 12.0 GB | — | Won't run | 5 ptsWon't run (F) · 5 of 100 points: Model quality 5.4/45, Memory fit 0.0/25, Speed 0.0/15, Memory use 0.0/15 | Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
- 72 ptsGreat (A) · 72 of 100 points: Model quality 18.0/45, Memory fit 25.0/25, Speed 14.9/15, Memory use 15.0/15 NVIDIA GeForce RTX 4090
- 72 ptsGreat (A) · 72 of 100 points: Model quality 17.8/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 AMD Radeon RX 7900 XTX
- 72 ptsGreat (A) · 72 of 100 points: Model quality 17.8/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 3090
- 72 ptsGreat (A) · 72 of 100 points: Model quality 17.5/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4070 Ti SUPER
- 72 ptsGreat (A) · 72 of 100 points: Model quality 17.5/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4080 SUPER
- 72 ptsGreat (A) · 72 of 100 points: Model quality 17.5/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 5070 Ti
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.