Qwen2-VL-7B-Instruct
Qwen (Alibaba) (China) · Multimodal
🧠 8.3B📄 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-7B-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-7B-Instruct-GGUF🧑💻 For developers
vLLM
vllm serve Qwen/Qwen2-VL-7B-InstructTransformers (Python)
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="Qwen/Qwen2-VL-7B-Instruct")llama.cpp
llama-server -hf ggml-org/Qwen2-VL-7B-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-8B | MiniCPM-V 2.6 | GPT-4o-mini | Qwen2-VL-7B |
|---|---|---|---|---|
| MMMU val | 51.8 | 49.8 | 60 | 54.1 |
| DocVQA test | 91.6 | 90.8 | - | 94.5 |
| InfoVQA test | 74.8 | - | - | 76.5 |
| ChartQA test | 83.3 | - | - | 83.0 |
| TextVQA val | 77.4 | 80.1 | - | 84.3 |
| OCRBench | 794 | 852 | 785 | 845 |
| MTVQA | - | - | - | 26.3 |
| VCR en easy | - | 73.88 | 83.60 | 89.70 |
Source: Hugging Face · Qwen/Qwen2-VL-7B-Instruct · License: apache-2.0
Hardware and running it
Local Weights are published and it runs on your own hardware.
- Minimum Q4
- 5.6 GB
- Recommended Q8
- 9.9 GB
- Full quality FP16
- 19.9 GB
On common hardware
| RTX 4060 · 8 GB | Usable | Q4 · ≈ 21–35 tokens/s |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 · ≈ 22–36 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 39–65 tokens/s |
| Mac M4 Max · 128 GB | Usable | FP16 · ≈ 12–20 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 73–120 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 580–970 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: