>>

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

Meta · Text generation · 13B parameters · 26 GB FP16 weights · released 2023-07-13
It needs about 32 GB of VRAM. The cheapest setup that runs it is 2x RTX 5060 Ti (32 GB), from $0.22 per hour, billed per second.

Other GPUs that run it

2x RTX A400032 GBfrom $0.30 / hourRent
L40S48 GBfrom $0.38 / hourRent

How to run it

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

Frequently asked questions

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

About 26 GB for the released FP16 weights, so plan on 32 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-13b-chat-hf?

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