corehu

OPEN MODELS

gpt2-large vs TinyLlama-1.1B-Chat-v1.0

gpt2-large needs about 1 GB less GPU memory than TinyLlama-1.1B-Chat-v1.0 (3 GB vs 4 GB). Cheapest way to run them today: gpt2-large from $0.07 per hour on Quadro P2000, TinyLlama-1.1B-Chat-v1.0 from $0.07 per hour on Quadro P2000.

gpt2-largeTinyLlama-1.1B-Chat-v1.0
Developeropenai-communityTinyLlama
Parameters810M1.1B
WeightsF32BF16
Licensemitapache-2.0
GPU memory needed≈ 3 GB≈ 4 GB
Memory at 4-bit≈ 2 GB≈ 2 GB
Cheapest GPU that fitsQuadro P2000 · $0.07Quadro P2000 · $0.07
Speed (est.)≈ 51 tok/s · $0.38/1M≈ 37 tok/s · $0.52/1M
Downloads1,268,496980,761

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, gpt2-large or TinyLlama-1.1B-Chat-v1.0?
gpt2-large needs about 1 GB less GPU memory than TinyLlama-1.1B-Chat-v1.0 (3 GB vs 4 GB).
Which is cheaper to run, gpt2-large or TinyLlama-1.1B-Chat-v1.0?
Cheapest way to run them today: gpt2-large from $0.07 per hour on Quadro P2000, TinyLlama-1.1B-Chat-v1.0 from $0.07 per hour on Quadro P2000.