corehu

OPEN MODELS

internlm-chat-7b vs qwen2-math:7b

qwen2-math:7b needs about 11 GB less GPU memory than internlm-chat-7b (7 GB vs 18 GB). Cheapest way to run them today: internlm-chat-7b from $0.27 per hour on Tesla P40, qwen2-math:7b from $0.13 per hour on GTX 1070.

internlm-chat-7bqwen2-math:7b
DeveloperinternlmOllama
Parameters7B7B
Weights—GGUF
License——
GPU memory needed≈ 18 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.42/1M≈ 32 tok/s · $1.12/1M
Downloads81,5380

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