RunsOnMy ModelsGPUs & MacsBy VRAMBest GPUCan I run…?OllamaStart hereAPI pricesVRAM calculatorNew

Can Llama 2 7B HF run on the H100 SXM?

Yes. At 8K context the best fit is F16, using about 17.0 GB of the 76.0 GB usable on the H100 SXM. Estimated speed ceiling: ~249 tokens/sec.

Memory by quant and context

Quant4K ctxMax tok/s (est., 8K)
2-bit (Q2_K)4.8 GB Fits1326
3-bit (Q3_K_M)5.5 GB Fits1017
4-bit (Q4_K_M)6.3 GB Fits813
5-bit (Q5_K_M)6.9 GB Fits698
6-bit (Q6_K)7.6 GB Fits606
8-bit (Q8_0)9.1 GB Fits468
16-bit (F16/BF16)15.0 GB Fits249

• real GGUF file size. Speed is a bandwidth ceiling (3350 GB/s), not a benchmark. Methodology.

What fits instead

"Runs" and "fits" mean the whole model in GPU memory at 8K context (4-bit or better for the model pick). Prices are US launch MSRPs, not today's street prices. "Popular" means the 60 most-downloaded models we track.

More

Llama 2 7B HF on every GPU and Mac · Every model that runs on the H100 SXM · Other models that fit 64 GB VRAM · Try other settings in the calculator

Guides: Best GPU for local LLMs by budget · Can I run gpt-oss, Llama 70B or Qwen3? · Mac vs PC for local LLMs

Data: Hugging Face Hub (NousResearch/Llama-2-7b-hf), NVIDIA specs. Model data last checked 2026-11-18; refreshed hourly.