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 | 4.1 GB: one RTX 4090 or RTX 3090 |
| 8-bit | 2.1 GB: one RTX 4090 or RTX 3090 |
| 4-bit | 1.0 GB: one RTX 4090 or RTX 3090 |
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 | 1.2 GB: one RTX 4090 or RTX 3090 |
| LoRA | 4.1 GB: one RTX 4090 or RTX 3090 |
| Full fine-tuning | 27 GB: one RTX 5090 |
About the model
From its card and files on Hugging Face. Memory figures here follow the GPU memory guide.
- Parameters
- 1.7B
- Context window (tokens)
- 8,192
- Published in
- BF16
- License
- apache-2.0
- Released
- 2024-10-31
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 serve HuggingFaceTB/SmolLM2-1.7B-Instruct --tensor-parallel-size 1
Questions
Live prices for every GPU are on the GPU prices page.
How much GPU memory does SmolLM2-1.7B-Instruct need?
Can I run SmolLM2-1.7B-Instruct on one GPU?
What does it cost to run SmolLM2-1.7B-Instruct?
How do I deploy SmolLM2-1.7B-Instruct on Arrakis?
More models
- SmolLM3-3B3.1B
- LFM3-1.7B1.7B
- DeepSeek-R1-Distill-Qwen-1.5B1.8B
- MiniCPM-V-4.7-1B1.6B
- Qwen2.5-1.5B-Instruct1.5B
- Qwen2.5-1.5B1.5B