corehu

OPEN MODELS

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

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

HarmBench-Llama-2-13b-clsCodeLlama-13b-hf
Developercaiscodellama
Parameters13B13B
WeightsBF16BF16
Licensemitllama2
GPU memory needed≈ 33 GB≈ 33 GB
Memory at 4-bit≈ 11 GB≈ 11 GB
Cheapest GPU that fitsQ RTX 8000 · $0.52Q RTX 8000 · $0.52
Speed (est.)≈ 14 tok/s · $10.16/1M≈ 14 tok/s · $10.16/1M
Downloads56,6633,433

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