SmolVLM2-2.2B-Instruct
Hugging Face (United States) · Multimodal
Which way is for me?
🌐 Online, right now
- Or try the free demo: HuggingFaceTB/SmolVLM2 · HuggingFaceTB/SmolVLM2-HighlightGenerator
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
ggml-org/SmolVLM2-2.2B-Instruct-GGUF - From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
- Press Download, then Load, and start talking in Chat.
Or, if you use Ollama, this one command is enough:
ollama run hf.co/ggml-org/SmolVLM2-2.2B-Instruct-GGUF🧑💻 For developers
vLLM
vllm serve HuggingFaceTB/SmolVLM2-2.2B-InstructTransformers (Python)
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="HuggingFaceTB/SmolVLM2-2.2B-Instruct")llama.cpp
llama-server -hf ggml-org/SmolVLM2-2.2B-Instruct-GGUFWords used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
Developed by: Hugging Face 🤗; Model type: Multi-modal model (image/multi-image/video/text); Language(s) (NLP): English; License: Apache 2.0; Architecture: Based on Idefics3 (see technical summary)
Intended use
SmolVLM2 can be used for inference on multimodal (video / image / text) tasks where the input consists of text queries along with video or one or more images. Text and media files can be interleaved arbitrarily, enabling tasks like captioning, visual question answering, and storytelling based on visual content.
Limitations
SmolVLM is not intended for high-stakes scenarios or critical decision-making processes that affect an individual's well-being or livelihood. The model may produce content that appears factual but may not be accurate. Misuse includes, but is not limited to:
Benchmarks (from the model card)
| Model | Mathvista | MMMU | OCRBench | MMStar | AI2D | ChartQATest |
|---|---|---|---|---|---|---|
| SmolVLM2 2.2B | 51.5 | 42 | 72.9 | 46 | 70 | 68.84 |
| SmolVLM 2.2B | 43.9 | 38.3 | 65.5 | 41.8 | 84.5 | 71.6 |
Source: Hugging Face · HuggingFaceTB/SmolVLM2-2.2B-Instruct · License: apache-2.0
Hardware and running it
Local Weights are published and it runs on your own hardware.
- Minimum Q4
- 1.5 GB
- Recommended Q8
- 2.7 GB
- Full quality FP16
- 5.4 GB
On common hardware
| RTX 4060 · 8 GB | Great | FP16 · ≈ 22–36 tokens/s |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 · ≈ 81–130 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 140–240 tokens/s |
| Mac M4 Max · 128 GB | Great | FP16 · ≈ 44–73 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 270–450 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 2,140–3,570 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: