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

  1. Download and install LM Studio (free): lmstudio.ai
  2. In LM Studio open Search (the magnifier) and type exactly:
    ggml-org/Qwen2-VL-2B-Instruct-GGUF
  3. From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
  4. 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-Instruct

Transformers (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-GGUF
Words 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)

BenchmarkInternVL2-2BMiniCPM-V 2.0Qwen2-VL-2B
MMMU val36.338.241.1
DocVQA test86.9-90.1
InfoVQA test58.9-65.5
ChartQA test76.2-73.5
TextVQA val73.4-79.7
OCRBench781605794
MTVQA--20.0
RealWorldQA57.355.862.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 GBGreatFP16 · ≈ 22–37 tokens/s
RTX 4090 · 24 GBGreatFP16 · ≈ 82–140 tokens/s
RTX 5090 · 32 GBGreatFP16 · ≈ 150–240 tokens/s
Mac M4 Max · 128 GBGreatFP16 · ≈ 45–74 tokens/s
H100 · 80 GBGreatFP16 · ≈ 270–460 tokens/s
8× H100 · 640 GBGreatFP16 · ≈ 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: