corehu

OPEN MODELS

starcoder2-7b vs starcoder2-7b-GGUF

starcoder2-7b-GGUF needs about 12 GB less GPU memory than starcoder2-7b (7 GB vs 19 GB). Cheapest way to run them today: starcoder2-7b from $0.27 per hour on Tesla P40, starcoder2-7b-GGUF from $0.13 per hour on GTX 1070.

starcoder2-7bstarcoder2-7b-GGUF
DeveloperbigcodeQuantFactory
Parameters7.2B7.2B
WeightsBF16GGUF
Licensebigcode-openrail-mbigcode-openrail-m
GPU memory needed≈ 19 GB≈ 7 GB
Memory at 4-bit≈ 7 GB—
Cheapest GPU that fitsTesla P40 · $0.27GTX 1070 · $0.13
Speed (est.)≈ 14 tok/s · $5.55/1M≈ 31 tok/s · $1.15/1M
Downloads12,3733,313

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, starcoder2-7b or starcoder2-7b-GGUF?
starcoder2-7b-GGUF needs about 12 GB less GPU memory than starcoder2-7b (7 GB vs 19 GB).
Which is cheaper to run, starcoder2-7b or starcoder2-7b-GGUF?
Cheapest way to run them today: starcoder2-7b from $0.27 per hour on Tesla P40, starcoder2-7b-GGUF from $0.13 per hour on GTX 1070.