corehu

OPEN MODELS

HarmBench-Llama-2-13b-cls vs Llama-2-13b-hf

HarmBench-Llama-2-13b-cls and Llama-2-13b-hf need about the same GPU memory (33 GB). Cheapest way to run them today: HarmBench-Llama-2-13b-cls from $0.54 per hour on Q RTX 8000, Llama-2-13b-hf from $0.54 per hour on Q RTX 8000.

HarmBench-Llama-2-13b-clsLlama-2-13b-hf
DevelopercaisNousResearch
Parameters13B13B
WeightsBF16F16
Licensemit—
GPU memory needed≈ 33 GB≈ 33 GB
Memory at 4-bit≈ 11 GB≈ 11 GB
Cheapest GPU that fitsQ RTX 8000 · $0.54Q RTX 8000 · $0.54
Speed (est.)≈ 13 tok/s · $11.32/1M≈ 13 tok/s · $11.32/1M
Downloads56,6634,758

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, HarmBench-Llama-2-13b-cls or Llama-2-13b-hf?
HarmBench-Llama-2-13b-cls and Llama-2-13b-hf need about the same GPU memory (33 GB).
Which is cheaper to run, HarmBench-Llama-2-13b-cls or Llama-2-13b-hf?
Cheapest way to run them today: HarmBench-Llama-2-13b-cls from $0.54 per hour on Q RTX 8000, Llama-2-13b-hf from $0.54 per hour on Q RTX 8000.