What it takes to serve it
GPU memory to run it for inference, with the smallest GPU setup that holds it and the lowest price on Arrakis right now.
| Precision | Memory and the smallest setup |
|---|---|
| 16-bit | 3.0 GB: one RTX 4090 or RTX 3090, RTX 3090 from $0.19 per GPU-hour |
| 8-bit | 1.5 GB: one RTX 4090 or RTX 3090, RTX 3090 from $0.19 per GPU-hour |
| 4-bit | 0.7 GB: one RTX 4090 or RTX 3090, RTX 3090 from $0.19 per GPU-hour |
What it takes to fine-tune it
QLoRA trains adapters on a 4-bit frozen model, LoRA on a 16-bit one, and full fine-tuning updates every weight. Figures are before activations, which grow with batch size and sequence length.
| Method | Memory and the smallest setup |
|---|---|
| QLoRA | 0.9 GB: one RTX 4090 or RTX 3090, RTX 3090 from $0.19 per GPU-hour |
| LoRA | 3.0 GB: one RTX 4090 or RTX 3090, RTX 3090 from $0.19 per GPU-hour |
| Full fine-tuning | 20 GB: one RTX 4090 or RTX 3090, RTX 3090 from $0.19 per GPU-hour |
About the model
From its card and files on Hugging Face. Memory figures here follow the GPU memory guide.
- Parameters
- 1.2B
- Published in
- BF16
- License
- llama3.2
- Released
- 2024-09-18
- Weights
- meta-llama/Llama-3.2-1B
Deploy it on Arrakis
Open Models in the console, choose vLLM, SGLang or llama.cpp, and rent a GPU it fits on. You get an OpenAI-compatible endpoint with its own API key, and root SSH to the machine. Or run it yourself on any machine with enough GPU memory:
vLLM
vllm serve meta-llama/Llama-3.2-1B --tensor-parallel-size 1
Questions
Live prices for every GPU are on the GPU prices page.
How much GPU memory does Llama-3.2-1B need?
To serve it, about 3 GB in 16-bit, 1 GB in 8-bit, 1 GB in 4-bit, including about 20% for the KV cache and activations. To fine-tune it, about 1 GB with QLoRA, 3 GB with LoRA and 20 GB for full fine-tuning with Adam, before activations.
Can I run Llama-3.2-1B on one GPU?
Yes. In 16-bit it needs about 3.0 GB, which fits on one RTX 4090 or RTX 3090.
What does it cost to run Llama-3.2-1B?
In 16-bit it needs one RTX 4090 or RTX 3090; in 4-bit, one RTX 4090 or RTX 3090. Each setup on this page shows the lowest price per GPU-hour on Arrakis right now, and you pay by the hour from a prepaid balance.
How do I deploy Llama-3.2-1B on Arrakis?
Open Models in the Arrakis console, paste meta-llama/Llama-3.2-1B, choose vLLM, SGLang or llama.cpp, and rent a GPU it fits on. You get an OpenAI-compatible endpoint with its own API key, and root SSH to the machine.
More models
- Llama-3.2-1B-Instruct1.2B
- Llama-3.2-3B-Instruct3.2B
- Llama-2-7b-hf6.7B
- Llama-3.1-8B-Instruct8.0B
- HunyuanOCR1.1B
- MiniCPM5-1B1.1B