Skip to content
corehu

OPEN MODELS

Llama-3.1-8B-Instruct vs LLaMA3-SFT-v2

Llama-3.1-8B-Instruct and LLaMA3-SFT-v2 need about the same GPU memory (21 GB). Cheapest way to run them today: Llama-3.1-8B-Instruct from $0.18 per hour on Tesla P40, LLaMA3-SFT-v2 from $0.18 per hour on Tesla P40.

Llama-3.1-8B-InstructLLaMA3-SFT-v2
Developermeta-llamaRLHFlow
Parameters8B8B
WeightsBF16BF16
Licensellama3.1—
GPU memory needed≈ 21 GB≈ 21 GB
Memory at 4-bit≈ 7 GB≈ 7 GB
Cheapest GPU that fitsTesla P40 · $0.18Tesla P40 · $0.18
Speed (est.)≈ 12 tok/s · $4.14/1M≈ 12 tok/s · $4.14/1M
Downloads3,754,0161,794

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, Llama-3.1-8B-Instruct or LLaMA3-SFT-v2?
Llama-3.1-8B-Instruct and LLaMA3-SFT-v2 need about the same GPU memory (21 GB).
Which is cheaper to run, Llama-3.1-8B-Instruct or LLaMA3-SFT-v2?
Cheapest way to run them today: Llama-3.1-8B-Instruct from $0.18 per hour on Tesla P40, LLaMA3-SFT-v2 from $0.18 per hour on Tesla P40.