corehu

OPEN MODELS

HarmBench-Llama-2-13b-cls vs CodeLlama-13B-GGUF

CodeLlama-13B-GGUF needs about 22 GB less GPU memory than HarmBench-Llama-2-13b-cls (11 GB vs 33 GB). Cheapest way to run them today: HarmBench-Llama-2-13b-cls from $0.54 per hour on Q RTX 8000, CodeLlama-13B-GGUF from $0.13 per hour on RTX 3060.

HarmBench-Llama-2-13b-clsCodeLlama-13B-GGUF
DevelopercaisTheBloke
Parameters13B13B
WeightsBF16GGUF
Licensemitllama2
GPU memory needed≈ 33 GB≈ 11 GB
Memory at 4-bit≈ 11 GB—
Cheapest GPU that fitsQ RTX 8000 · $0.54RTX 3060 · $0.13
Speed (est.)≈ 14 tok/s · $10.65/1M≈ 28 tok/s · $1.27/1M
Downloads56,6634,269

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-GGUF?
CodeLlama-13B-GGUF needs about 22 GB less GPU memory than HarmBench-Llama-2-13b-cls (11 GB vs 33 GB).
Which is cheaper to run, HarmBench-Llama-2-13b-cls or CodeLlama-13B-GGUF?
Cheapest way to run them today: HarmBench-Llama-2-13b-cls from $0.54 per hour on Q RTX 8000, CodeLlama-13B-GGUF from $0.13 per hour on RTX 3060.