corehu

OPEN MODELS

Llama-2-7B-Chat-GPTQ vs Llama-2-Coder-7B-GGUF

Llama-2-Coder-7B-GGUF needs about 12 GB less GPU memory than Llama-2-7B-Chat-GPTQ (6 GB vs 18 GB). Cheapest way to run them today: Llama-2-7B-Chat-GPTQ from $1.28 per hour on RTX A6000, Llama-2-Coder-7B-GGUF from $0.36 per hour on RTX A4000.

Llama-2-7B-Chat-GPTQLlama-2-Coder-7B-GGUF
DeveloperTheBlokeTheBloke
Parameters6.7B6.7B
WeightsI32GGUF
Licensellama2apache-2.0
GPU memory needed≈ 18 GB≈ 6 GB
Memory at 4-bit≈ 6 GB—
Cheapest GPU that fitsRTX A6000 · $1.28RTX A4000 · $0.36
Downloads4,6572,672

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

Questions

Which needs less GPU memory, Llama-2-7B-Chat-GPTQ or Llama-2-Coder-7B-GGUF?
Llama-2-Coder-7B-GGUF needs about 12 GB less GPU memory than Llama-2-7B-Chat-GPTQ (6 GB vs 18 GB).
Which is cheaper to run, Llama-2-7B-Chat-GPTQ or Llama-2-Coder-7B-GGUF?
Cheapest way to run them today: Llama-2-7B-Chat-GPTQ from $1.28 per hour on RTX A6000, Llama-2-Coder-7B-GGUF from $0.36 per hour on RTX A4000.