StarCoder2 7B on AMD Radeon RX 9070 XT
Can the AMD Radeon RX 9070 XT run StarCoder2 7B?
Yes, it runs well
Runs well. At Q8_0 it needs about 9.5 GB of 16.0 GB usable, with an estimated speed of 48.0 tok/s.
- Best quant
Q8_0- Generation speed
- 48.0 tok/s
- Prompt processing
- 8,414 tok/s
- First token (1K prompt)
- 0.3 s
- Largest safe context
- 16K
Download StarCoder2 7B
Recommended for the AMD Radeon RX 9070 XT: Q8_0. 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:7b-q8_0Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q8_0 file (opens in a new tab)
huggingface.co/QuantFactory/starcoder2-7b-GGUF (opens in a new tab)
ollama run hf.co/QuantFactory/starcoder2-7b-GGUF:Q8_0Original weights · Hugging Face
Full-precision files from BigCode, for fine-tuning, vLLM, Transformers.
How the B grade is scored
Every result gets up to 100 points from four parts. The points decide the letter grade.
| Model quality | 10.8 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 13.8 / 15 | |
| Total | 64.6 / 100 | 64 ptsGood (B) · 64 of 100 points: Model quality 10.8/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.8/15 |
Every quantization on the AMD Radeon RX 9070 XT
| Quant | Memory needed | Available | Speed | Fit | Grade · points | Download |
|---|---|---|---|---|---|---|
Q2_K | 4.8 GB | 16.0 GB | 155 tok/s | Runs well | 54 ptsUsable (C) · 54 of 100 points: Model quality 7.6/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 6.9/15 | GGUF (opens in a new tab) |
Q3_K_M | 5.5 GB | 16.0 GB | 122 tok/s | Runs well | 56 ptsUsable (C) · 56 of 100 points: Model quality 9.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 7.9/15 | GGUF (opens in a new tab) |
Q4_K_M | 6.3 GB | 16.0 GB | 94.4 tok/s | Runs well | 59 ptsGood (B) · 59 of 100 points: Model quality 10.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 9.1/15 | GGUF (opens in a new tab) |
Q5_K_M | 7.0 GB | 16.0 GB | 77.9 tok/s | Runs well | 60 ptsGood (B) · 60 of 100 points: Model quality 10.5/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 10.1/15 | GGUF (opens in a new tab) |
Q6_K | 7.8 GB | 16.0 GB | 65.5 tok/s | Runs well | 61 ptsGood (B) · 61 of 100 points: Model quality 10.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 11.3/15 | GGUF (opens in a new tab) |
Q8_0 | 9.5 GB | 16.0 GB | 48.0 tok/s | Runs well | 64 ptsGood (B) · 64 of 100 points: Model quality 10.8/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.8/15 | GGUF (opens in a new tab) |
F16 | 16.3 GB | 16.0 GB | 19.4 tok/s | Runs with offload | 46 ptsUsable (C) · 46 of 100 points: Model quality 10.8/45, Memory fit 10.0/25, Speed 10.4/15, Memory use 15.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
- 65 ptsGood (B) · 65 of 100 points: Model quality 10.8/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4090
- 65 ptsGood (B) · 65 of 100 points: Model quality 10.8/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4070 SUPER
- 65 ptsGood (B) · 65 of 100 points: Model quality 10.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.6/15 Intel Arc B580
- 65 ptsGood (B) · 65 of 100 points: Model quality 10.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.6/15 NVIDIA GeForce RTX 3060 12GB
- 65 ptsGood (B) · 65 of 100 points: Model quality 10.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4060
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.