VOOZH about

URL: https://willitrunai.com/models/starcoder-7b

โ‡ฑ StarCoder 7B VRAM Requirements โ€” GPU Compatibility


๐Ÿ‘ BigCode
BigCode

StarCoder 7B

Legacy
๐Ÿ‘ huggingface
HuggingFace
May 2023Released8K tokensContextApache 2.0License56 GoodQuality

StarCoder 7B (7B parameters) requires approximately 13.4 GB of VRAM with Q4_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 StarCoder 7B on your machine.

Run

lms load starcoder-7b && lms server start

Quick specs

Parameters7B
Architecturedense
Context8K tokens
Modalitycode
Min RAM2.7 GB
Rec. RAM4.3 GB (Q4_K_M)
LicenseApache 2.0
FamilyStarCoder
โœ“ Codeโœ“ Reasoning

About this model

StarCoder 7B is BigCode's code generation model trained on The Stack v1. Supports over 80 programming languages with fill-in-the-middle capability and 8K context window.

Related models

Your hardware

Detecting...

Quick picks

Best budgetA
RX 7600 XT 16GB~$329 โ€” 39 tok/s
Best overallA
RX 7900 XT 20GB~$899 โ€” 98 tok/s

Best hardware

Top picks for StarCoder 7B

RX 7900 XT 20GBA
20 GB
RTX A4500 20GBA
20 GB
RTX 4000 Ada 20GBA
20 GB
RTX 3090 24GBA
24 GB
RTX 3090 Ti 24GBA
24 GB

Run this model

StarCoder 7B on RX 7900 XT 20GBStarCoder 7B on RTX A4500 20GBStarCoder 7B on RTX 4000 Ada 20GB

Quantization options

VRAM estimates by quant level

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

QuantBitsVRAMQualityFit
Q2_K
2
2.7 GB
Lowโ€”
Q3_K_S
3
3.4 GB
Lowโ€”
NVFP4
4
3.9 GB
Mediumโ€”
Q4_K_M
4
4.3 GB
Mediumโ€”
Q5_K_M
5
5.0 GB
Highโ€”
Q6_K
6
5.7 GB
Highโ€”
Q8_0
8
7.5 GB
Very Highโ€”
F16
16
14.3 GB
Maximumโ€”

Quality benchmarks

StarCoder 7B benchmark scores

Benchmark verified

Coding

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

Source: community ยท 2023-05-04

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: RTX 2060 6GB

Weights4.3 GB
KV Cache7.3 GB
Runtime1.2 GB
Headroom0.6 GB

Frequently asked questions

FAQ โ€” StarCoder 7B

See also

Quantization GuideScoring MethodologyVRAM Calculator