CanItRun Logocanitrun.

Llama 3.1 8B Instruct

Llama 3.1 8B Instruct needs roughly 4.0GB VRAM at Q4 quantization (16.0GB at FP16). 60 GPUs we track can run it fully in VRAM at 8k context.

Meta8B params125k contextLlama 3.1 CommunityCommercial use ok

VRAM at each quantization

Assumes 8k context. KV cache grows linearly with context length.

QuantWeightsKV cacheTotal
FP1616.0 GB1.07 GB19.1 GB
Q88.0 GB1.07 GB10.2 GB
Q6_K6.0 GB1.07 GB7.9 GB
Q5_K_M5.0 GB1.07 GB6.8 GB
Q4_K_M4.0 GB1.07 GB5.7 GB
Q3_K_M3.2 GB1.07 GB4.8 GB
Q2_K2.4 GB1.07 GB3.9 GB

Benchmarks

GPUs that run Llama 3.1 8B Instruct natively (60)

Plus 1 GPUs that run it with CPU offload (slower)
Hugging Face ↗Ollama ↗Released 2024-07-23