Qwen2-VL-2B-Instruct
Qwen (Alibaba) (China) · Multimodal
🧠 2.2B📄 32K context🔓 Open weights (downloadable)⚖️ apache-2.0
Which way is for me?
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
ggml-org/Qwen2-VL-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/Qwen2-VL-2B-Instruct-GGUF🧑💻 For developers
vLLM
vllm serve Qwen/Qwen2-VL-2B-InstructTransformers (Python)
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="Qwen/Qwen2-VL-2B-Instruct")llama.cpp
llama-server -hf ggml-org/Qwen2-VL-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
We're excited to unveil Qwen2-VL, the latest iteration of our Qwen-VL model, representing nearly a year of innovation.
Limitations
While Qwen2-VL are applicable to a wide range of visual tasks, it is equally important to understand its limitations. Here are some known restrictions:
Benchmarks (from the model card)
| Benchmark | InternVL2-2B | MiniCPM-V 2.0 | Qwen2-VL-2B |
|---|---|---|---|
| MMMU val | 36.3 | 38.2 | 41.1 |
| DocVQA test | 86.9 | - | 90.1 |
| InfoVQA test | 58.9 | - | 65.5 |
| ChartQA test | 76.2 | - | 73.5 |
| TextVQA val | 73.4 | - | 79.7 |
| OCRBench | 781 | 605 | 794 |
| MTVQA | - | - | 20.0 |
| RealWorldQA | 57.3 | 55.8 | 62.9 |
Source: Hugging Face · Qwen/Qwen2-VL-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.3 GB
On common hardware
| RTX 4060 · 8 GB | Great | FP16 · ≈ 22–37 tokens/s |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 · ≈ 82–140 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 150–240 tokens/s |
| Mac M4 Max · 128 GB | Great | FP16 · ≈ 45–74 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 270–460 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 2,180–3,640 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: