>>

Run Llama-2-7b-chat-hf on Lium

Meta · Text generation · 6.7B parameters · 13.5 GB FP16 weights · released 2023-07-13
It needs about 17 GB of VRAM. The cheapest setup that runs it is RTX A4500 (20 GB), from $0.16 per hour, billed per second.

Other GPUs that run it

RTX 309024 GBfrom $0.19 / hourRent
2x Tesla V10032 GBfrom $0.42 / hourRent

How to run it

Rent the pod above, open a terminal over SSH or Jupyter and serve meta-llama/Llama-2-7b-chat-hf:
vllm serve meta-llama/Llama-2-7b-chat-hf
Claude Code and Codex can do all of it through the Lium CLI.

Frequently asked questions

How much VRAM does Llama-2-7b-chat-hf need?

About 13.5 GB for the released FP16 weights, so plan on 17 GB with room for activations and KV cache at a short context. Longer contexts and bigger batches need more.

What GPU should I rent to run Llama-2-7b-chat-hf?

RTX A4500 (20 GB). On Lium that setup costs from $0.16 per hour, billed per second with no minimum.
All open models
For AI agents (CLI install, agent skill, headless signup): llms-full.txt