corehu

OPEN MODELS

granite-swash-3b-a600m vs StarCoder2-3B-GGUF

StarCoder2-3B-GGUF needs about 5 GB less GPU memory than granite-swash-3b-a600m (4 GB vs 9 GB). Cheapest way to run them today: granite-swash-3b-a600m from $0.14 per hour on RTX 2060, StarCoder2-3B-GGUF from $0.07 per hour on Quadro P2000.

granite-swash-3b-a600mStarCoder2-3B-GGUF
Developeribm-granitesecond-state
Parameters3B3B
WeightsBF16GGUF
Licenseapache-2.0bigcode-openrail-m
GPU memory needed≈ 9 GB≈ 4 GB
Memory at 4-bit≈ 4 GB—
Cheapest GPU that fitsRTX 2060 · $0.14Quadro P2000 · $0.07
Speed (est.)≈ 31 tok/s · $1.26/1M≈ 45 tok/s · $0.43/1M
Downloads2,8173,230

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

Questions

Which needs less GPU memory, granite-swash-3b-a600m or StarCoder2-3B-GGUF?
StarCoder2-3B-GGUF needs about 5 GB less GPU memory than granite-swash-3b-a600m (4 GB vs 9 GB).
Which is cheaper to run, granite-swash-3b-a600m or StarCoder2-3B-GGUF?
Cheapest way to run them today: granite-swash-3b-a600m from $0.14 per hour on RTX 2060, StarCoder2-3B-GGUF from $0.07 per hour on Quadro P2000.