VOOZH about

URL: https://willitrunai.com/models/starcoder2-15b

โ‡ฑ StarCoder2 15B VRAM Requirements โ€” GPU Compatibility


๐Ÿ‘ BigCode
BigCode

StarCoder2 15B

Current
๐Ÿ‘ huggingface
HuggingFace
10.3KDownloads673LikesFeb 2024Released16K tokensContextBigCode OpenRAIL-MLicense7 EntryQuality

StarCoder2 15B (15B parameters) requires approximately 13.8 GB of VRAM with Q5_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 16 GB of VRAM.

Get started

โ€” copy & paste to run locally

Copy-paste commands to run StarCoder2 15B on your machine.

Run

docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \ --hf-repo "bigcode/starcoder2-15b" \ --hf-file "starcoder2-15b-Q5_K_M.gguf" \ -c 4096 -ngl 99

Quick specs

Parameters15B
Architecturedense
Context16K tokens
Modalitycode
Min RAM5.9 GB
Rec. RAM10.8 GB (Q5_K_M)
LicenseBigCode OpenRAIL-M
FamilyStarCoder2
โœ“ Code

About this model

- Project Website: bigcode-project.org - Paper: Link - Point of Contact: [email protected] - Languages: 600+ Programming languages

  • โ€ขModel Summary
  • โ€ขLimitations
  • โ€ขTraining
  • โ€ขLicense
  • โ€ขCitation

Related models

Your hardware

Detecting...

Quick picks

Best budgetC
RX 7600 XT 16GB~$329 โ€” 17 tok/s
๐Ÿ‘ NVIDIA
Best overallB
RTX 4090 24GB~$1,599 โ€” 79 tok/s

Best hardware

Top picks for StarCoder2 15B

RTX 4090 24GBB
24 GB
RTX 5090 Laptop 24GBB
24 GB
NVIDIA A30 24GBB
24 GB
RTX 3090 Ti 24GBB
24 GB
RTX A4500 20GBB
20 GB

Run this model

StarCoder2 15B on RTX 4090 24GBStarCoder2 15B on RTX 5090 Laptop 24GBStarCoder2 15B on NVIDIA A30 24GB

Quantization options

VRAM estimates by quant level

No hardware detected โ€” fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
5.9 GB
Lowโ€”
Q3_K_S
3
7.4 GB
Lowโ€”
NVFP4
4
8.4 GB
Mediumโ€”
Q4_K_M
4
9.2 GB
Mediumโ€”
Q5_K_M
5
10.8 GB
Highโ€”
Q6_K
6
12.3 GB
Highโ€”
Q8_0
8
16.1 GB
Very Highโ€”
F16
16
30.7 GB
Maximumโ€”

Quality benchmarks

StarCoder2 15B benchmark scores

Benchmark verified

Coding

SWE-bench Verifiedโ€”
HumanEval+46.3%
Aider Polyglotโ€”
LiveCodeBenchโ€”

Reasoning

MMLU-Pro15.0%
GPQA Diamond3.1%
MATH-5006.0%
ARC Challengeโ€”

General

Chatbot Arenaโ€”
IFEval27.8%

Source: official ยท 2024-02-28

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: RTX 2060 6GB

Weights10.8 GB
KV Cache1.2 GB
Runtime1.2 GB
Headroom0.6 GB

Frequently asked questions

FAQ โ€” StarCoder2 15B

See also

Quantization GuideScoring MethodologyVRAM Calculator