corehu

OPEN MODELS

Llama-3.1-8B-4bit vs Llama-3-8B-ProLong-64k-Base

Llama-3.1-8B-4bit needs about 10 GB less GPU memory than Llama-3-8B-ProLong-64k-Base (11 GB vs 21 GB). Cheapest way to run them today: Llama-3.1-8B-4bit from $0.36 per hour on RTX A4000, Llama-3-8B-ProLong-64k-Base from $1.24 per hour on RTX A6000.

Llama-3.1-8B-4bitLlama-3-8B-ProLong-64k-Base
DeveloperPowCalprinceton-nlp
Parameters8B8B
WeightsU8F32
License—llama3
GPU memory needed≈ 11 GB≈ 21 GB
Memory at 4-bit≈ 7 GB≈ 7 GB
Cheapest GPU that fitsRTX A4000 · $0.36RTX A6000 · $1.24
Downloads7,6889,478

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

Questions

Which needs less GPU memory, Llama-3.1-8B-4bit or Llama-3-8B-ProLong-64k-Base?
Llama-3.1-8B-4bit needs about 10 GB less GPU memory than Llama-3-8B-ProLong-64k-Base (11 GB vs 21 GB).
Which is cheaper to run, Llama-3.1-8B-4bit or Llama-3-8B-ProLong-64k-Base?
Cheapest way to run them today: Llama-3.1-8B-4bit from $0.36 per hour on RTX A4000, Llama-3-8B-ProLong-64k-Base from $1.24 per hour on RTX A6000.