corehu

OPEN MODELS

CodeLlama-7b-Instruct-hf vs deepseek-coder:6.7b

deepseek-coder:6.7b needs about 12 GB less GPU memory than CodeLlama-7b-Instruct-hf (6 GB vs 18 GB). Cheapest way to run them today: CodeLlama-7b-Instruct-hf from $1.24 per hour on RTX A6000, deepseek-coder:6.7b from $0.36 per hour on RTX A4000.

CodeLlama-7b-Instruct-hfdeepseek-coder:6.7b
DevelopercodellamaOllama
Parameters6.7B6.7B
WeightsBF16GGUF
Licensellama2—
GPU memory needed≈ 18 GB≈ 6 GB
Memory at 4-bit≈ 6 GB—
Cheapest GPU that fitsRTX A6000 · $1.24RTX A4000 · $0.36
Downloads10,5580

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Questions

Which needs less GPU memory, CodeLlama-7b-Instruct-hf or deepseek-coder:6.7b?
deepseek-coder:6.7b needs about 12 GB less GPU memory than CodeLlama-7b-Instruct-hf (6 GB vs 18 GB).
Which is cheaper to run, CodeLlama-7b-Instruct-hf or deepseek-coder:6.7b?
Cheapest way to run them today: CodeLlama-7b-Instruct-hf from $1.24 per hour on RTX A6000, deepseek-coder:6.7b from $0.36 per hour on RTX A4000.