Can I Run StarCoder 2 on Framework Desktop (Ryzen AI Max+ 395, 128 GB)?

Written by Jakub Rusinowski · Last updated February 28, 2024

Yes — comfortably

Yes, comfortably — StarCoder 2 15B at Q8_0 needs about 17.9 GB of the 128 GB usable on Framework Desktop (Ryzen AI Max+ 395, 128 GB), leaving ~110.1 GB spare and running at ~11.1 tok/s (estimated), with room for about 16,384 tokens of context.

Confidence: high · Recommended quantization: Q8_0 · Estimated speed: ~11.1 tok/s

Framework Desktop (Ryzen AI Max+ 395, 128 GB) — what it gives a model

Usable memory for models128 GB
Memory bandwidth256 GB/s
Form factorMini PC
Operating systemWindows or Linux
Memory upgradeableNo — soldered

StarCoder 2 on Framework Desktop (Ryzen AI Max+ 395, 128 GB): memory by quantization

QuantMemory neededFits 128 GB?Max contextEst. speedDownload
F1632.5 GB✓ Yes16K~6 tok/s31 GB
Q8_017.9 GB✓ Yes16K~11.1 tok/s16.5 GB
Q6_K14.2 GB✓ Yes16K~14.2 tok/s12.7 GB
Q5_K_M12.5 GB✓ Yes16K~16.3 tok/s11 GB
Q4_K_M10.8 GB✓ Yes16K~19 tok/s9.4 GB
Q3_K_M8.1 GB✓ Yes16K~26 tok/s6.6 GB
Q2_K6.6 GB✓ Yes16K~32.8 tok/s5.1 GB

Which StarCoder 2 sizes fit

VariantNeeds at Q4_K_MFits?Est. speed
StarCoder 2 15B10.8 GB✓ Fits~19 tok/s
StarCoder 2 7B5.7 GB✓ Fits~38 tok/s
StarCoder 2 3B2.9 GB✓ Fits~81.1 tok/s

What to watch out for

Framework Desktop 128 GB limitations

Recommended setup

Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving

How these numbers are calculated

FAQ

Can I run StarCoder 2 on Framework Desktop (Ryzen AI Max+ 395, 128 GB)?

Yes, comfortably — StarCoder 2 15B at Q8_0 needs about 17.9 GB of the 128 GB usable on Framework Desktop (Ryzen AI Max+ 395, 128 GB), leaving ~110.1 GB spare and running at ~11.1 tok/s (estimated), with room for about 16,384 tokens of context.

Which quantization of StarCoder 2 should I use on Framework Desktop (Ryzen AI Max+ 395, 128 GB)?

Q8_0 — it needs about 17.9 GB of the 128 GB available, downloads as roughly 16.5 GB, and runs at an estimated 11.1 tokens/sec with up to 16K of context.

What limits StarCoder 2 on Framework Desktop (Ryzen AI Max+ 395, 128 GB)?

Nothing binding — the model fits with headroom and generates at a usable speed on this hardware.

Which runtime should I use?

Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving

Other Computers

Other Models on Framework Desktop (Ryzen AI Max+ 395, 128 GB)

StarCoder 2 on GPUs

What This Model Is Good At

Model & Tools

← Can I Run It? | StarCoder 2 model page | Check your hardware