Views
No views yet
[!IMPORTANT] This VLM requires TWO files — a text backbone GGUF and themmprojvision encoder GGUF. Download one text backbone (e.g. Q4_K_M) and the mmproj file. Both must be in the same folder.
| Filename | Size | RAM Required | Quant | Quality | Best For |
|---|---|---|---|---|---|
Qwen2.5-VL-3B-Instruct-Q2_K.gguf | 1.19 GB | ~2.7 GB | Q2_K | ⭐ | Extreme compression, significant quality loss. |
Qwen2.5-VL-3B-Instruct-Q3_K_L.gguf | 1.59 GB | ~3.1 GB | Q3_K_L | ⭐⭐⭐ | Slightly better than Q3_K_M, still a compromise. |
Qwen2.5-VL-3B-Instruct-Q3_K_M.gguf | 1.48 GB | ~3.0 GB | Q3_K_M | ⭐⭐⭐ | Very small file. Quality drop noticeable. |
Qwen2.5-VL-3B-Instruct-Q3_K_S.gguf | 1.35 GB | ~2.9 GB | Q3_K_S | ⭐⭐ | Very high compression, high quality loss. |
Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf | 1.80 GB | ~3.3 GB | Q4_K_M ✅ Recommended | ⭐⭐⭐⭐ | Best balance of size and quality. Recommended for most users. |
Qwen2.5-VL-3B-Instruct-Q4_K_S.gguf | 1.71 GB | ~3.2 GB | Q4_K_S | ⭐⭐⭐½ | Good speed/size balance, slight quality loss. |
Qwen2.5-VL-3B-Instruct-Q5_K_M.gguf | 2.07 GB | ~3.6 GB | Q5_K_M | ⭐⭐⭐⭐½ | Better quality than Q4, slightly larger. Great if you have the RAM. |
Qwen2.5-VL-3B-Instruct-Q5_K_S.gguf | 2.02 GB | ~3.5 GB | Q5_K_S | ⭐⭐⭐⭐ | Large but accurate. |
Qwen2.5-VL-3B-Instruct-Q6_K.gguf | 2.36 GB | ~3.9 GB | Q6_K | ⭐⭐⭐⭐⭐ | Near-perfect quality, very large. |
Qwen2.5-VL-3B-Instruct-Q8_0.gguf | 3.06 GB | ~4.6 GB | Q8_0 | ⭐⭐⭐⭐⭐ | Closest to original quality. Use when RAM is not a concern. |
| Filename | Size | Notes |
|---|---|---|
Qwen2.5-VL-3B-Instruct-mmproj-f16.gguf | 1.25 GB | Always F16 — vision encoder is not quantized |
⚠️ You need BOTH files — one text backbone + the mmproj — to run this VLM.
python benchmark.py --model Qwen2.5-VL-3B-Instruct to generate results.Dhptl/Qwen2.5-VL-3B-Instruct in LM Studioollama run dhptl/qwen2.5-vl-3b-instruct1# Download both files to the same directory, then:
2./llama-llava-cli \
3 -m Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf \
4 --mmproj Qwen2.5-VL-3B-Instruct-mmproj-f16.gguf \
5 --image /path/to/your/image.jpg \
6 -p "Describe this image in detail." \
7 -n 5121./llama-cli \
2 -m Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf \
3 -p "You are a helpful assistant." \
4 --conversation1from llama_cpp import Llama
2from llama_cpp.llama_chat_format import Llava16ChatHandler
3
4# Load VLM with mmproj
5chat_handler = Llava16ChatHandler(clip_model_path="./Qwen2.5-VL-3B-Instruct-mmproj-f16.gguf")
6llm = Llama(
7 model_path="./Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf",
8 chat_handler=chat_handler,
9 n_gpu_layers=-1,
10 n_ctx=4096,
11 logits_all=True,
12)
13
14# Text + image inference
15response = llm.create_chat_completion(
16 messages=[
17 {
18 "role": "user",
19 "content": [
20 {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}},
21 {"type": "text", "text": "What do you see in this image?"}
22 ]
23 }
24 ]
25)
26print(response["choices"][0]["message"]["content"])| Component | File | Purpose |
|---|---|---|
| Text Backbone | Qwen2.5-VL-3B-Instruct-Q4_K_M.gguf | Language understanding & generation |
| Vision Encoder (mmproj) | Qwen2.5-VL-3B-Instruct-mmproj-f16.gguf | Image feature extraction (always F16) |
Why is mmproj always F16? The vision encoder maps image pixels to token embeddings. Quantizing it causes visible visual artifacts and degraded image understanding. It stays at F16 (half precision) which is already very efficient at ~1-2GB for most models.
| Format | Bits/weight | Quality |
|---|---|---|
| Q3_K_M | ~3.3 | ⭐⭐⭐ |
| Q4_K_M | ~4.5 | ⭐⭐⭐⭐ ← recommended |
| Q5_K_M | ~5.6 | ⭐⭐⭐⭐½ |
| Q8_0 | ~8.5 | ⭐⭐⭐⭐⭐ |