corehu

OPEN MODELS

Yarn-Llama-2-7b-128k-imatrix-GGUF vs Llama-2-7b-hf

Yarn-Llama-2-7b-128k-imatrix-GGUF needs about 12 GB less GPU memory than Llama-2-7b-hf (6 GB vs 18 GB). Cheapest way to run them today: Yarn-Llama-2-7b-128k-imatrix-GGUF from $0.15 per hour on GTX 1660 S, Llama-2-7b-hf from $0.21 per hour on RTX 2080 Ti.

Yarn-Llama-2-7b-128k-imatrix-GGUFLlama-2-7b-hf
DeveloperduyntnetNousResearch
Parameters6.7B6.7B
WeightsGGUFF16
License——
GPU memory needed≈ 6 GB≈ 18 GB
Memory at 4-bit—≈ 6 GB
Cheapest GPU that fitsGTX 1660 S · $0.15RTX 2080 Ti · $0.21
Speed (est.)≈ 48 tok/s · $0.87/1M≈ 26 tok/s · $2.24/1M
Downloads3,23595,142

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, Yarn-Llama-2-7b-128k-imatrix-GGUF or Llama-2-7b-hf?
Yarn-Llama-2-7b-128k-imatrix-GGUF needs about 12 GB less GPU memory than Llama-2-7b-hf (6 GB vs 18 GB).
Which is cheaper to run, Yarn-Llama-2-7b-128k-imatrix-GGUF or Llama-2-7b-hf?
Cheapest way to run them today: Yarn-Llama-2-7b-128k-imatrix-GGUF from $0.15 per hour on GTX 1660 S, Llama-2-7b-hf from $0.21 per hour on RTX 2080 Ti.