Instructions to use Xylolabs/Qwen3.5-2B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Xylolabs/Qwen3.5-2B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Xylolabs/Qwen3.5-2B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Xylolabs/Qwen3.5-2B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xylolabs/Qwen3.5-2B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
- Ollama
How to use Xylolabs/Qwen3.5-2B-GGUF with Ollama:
ollama run hf.co/Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Xylolabs/Qwen3.5-2B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Xylolabs/Qwen3.5-2B-GGUF with Docker Model Runner:
docker model run hf.co/Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
- Lemonade
How to use Xylolabs/Qwen3.5-2B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.5-2B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Xylolabs/Qwen3.5-2B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Xylolabs/Qwen3.5-2B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "Xylolabs/Qwen3.5-2B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3.5-2B GGUF
The Qwen3.5-2B text decoder runs in llama.cpp on CUDA, Metal or CPU. The weights exclude the vision tower and MTP block.
Files
| File | Size |
|---|---|
Qwen3.5-2B-Q8_0.gguf |
2.01 GB |
Qwen3.5-2B-Q6_K.gguf |
1.57 GB |
Qwen3.5-2B-Q5_K_M.gguf |
1.45 GB |
Qwen3.5-2B-Q4_K_M.gguf |
1.29 GB |
Qwen3.5-2B-Q4_K_S.gguf |
1.22 GB |
Qwen3.5-2B-IQ4_XS.gguf |
1.17 GB |
Qwen3.5-2B-Q3_K_M.gguf |
1.11 GB |
Qwen3.5-2B-Q2_K.gguf |
1.00 GB |
Qwen3.5-2B.imatrix |
3.31 MB |
| File | Size | SHA-256 |
|---|---|---|
Qwen3.5-2B-BF16.gguf |
3.78 GB | 84f054ec3d9d9b0e62197a700c77cd74a9570af7ba529787b75d100a54fd8897 |
Qwen3.5-2B-IQ2_M.gguf |
0.86 GB | 5a0405828bd5e4a32c9326efaa2ff91f1b3df5034cfa01e958fdb3f51d31fcd3 |
Qwen3.5-2B-IQ2_S.gguf |
0.84 GB | d7108d5b5bd153edac525bbe6db0021a6c7f5924811225334f96a70513545e19 |
Qwen3.5-2B-IQ2_XS.gguf |
0.83 GB | c33cbee9a1833c16fefb2920e754026ef18b671497524b33bd03299f62d3a004 |
Qwen3.5-2B-IQ2_XXS.gguf |
0.77 GB | 32f5a28215d4cb5fe5e1b60b0475bf319b744efb765954825217b0f834b58bc0 |
Qwen3.5-2B-IQ3_M.gguf |
1.06 GB | 45f4e67e13bd386dce9154743a47e738935f08e8ca76c16a6dffa41c779798e1 |
Qwen3.5-2B-IQ3_S.gguf |
1.06 GB | 26592d96e55a68ed5dbc5c4b01dc643a610070752388750f3516f0ec2902591c |
Qwen3.5-2B-IQ3_XS.gguf |
1.03 GB | e2c14ea63438b644ab4c26bb8dfc10f464c3886e76ec9c4302d66989db51e4bf |
Qwen3.5-2B-IQ3_XXS.gguf |
0.93 GB | e43f9bb5c065960c4701b0e499fcf103b99937070a0ca6b1c11bce521fc40885 |
Qwen3.5-2B-IQ4_NL.gguf |
1.22 GB | 14690ffae711d8d5a4337114862299f801bbc2ed416d369353a2e4f40a79947e |
Qwen3.5-2B-Q3_K_L.gguf |
1.17 GB | 6d0d5902fb05cc03497a8abdcc32a6a7890f065d77f0267dfc901cbd00a0895f |
Qwen3.5-2B-Q3_K_S.gguf |
1.03 GB | 2bcf4e8eb5b399c32fd243e59c6ba9f4fd1cca34ba55760b8cf177c0487c4afc |
Qwen3.5-2B-Q4_0.gguf |
1.22 GB | 3840569068a9c4d548e1ea047f4bb839ad565b88558095ff5ffc5b6924e15f28 |
Qwen3.5-2B-Q5_K_S.gguf |
1.39 GB | 2b0eec75e6591827645567f658b5c105720a301f41f3ca032c2dee7e28bc005d |
Qwen3.5-2B-IQ2_M.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ2_S.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ2_XS.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ2_XXS.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ3_M.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ3_S.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ3_XS.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ3_XXS.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-IQ4_NL.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-Q3_K_L.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-Q3_K_S.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-Q4_0.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-Q5_K_S.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
Qwen3.5-2B-Q3_K_M.imatrix.gguf |
1.65 MB | 2ef0696b05214e997a86471f97ee0e1745c97b6fe692ff39c9481c6ec0748dea |
How to run
The GGUFs in the 2026-12-01 update use split tensors (ssm_beta, ssm_alpha, and attn_qkv) and require llama.cpp b7990 or newer. The earlier files use fused tensors (ssm_beta_alpha and attn_qkv_gate) and require b12343 or newer.
./build/bin/llama-server -m Qwen3.5-2B-Q4_K_M.gguf --jinja -ngl 99 -c 32768
Accuracy
The reference weights were BF16. The evaluation used WikiText-2, chat and held-out text (40/20/20 chunks of 512).
| Quant | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 |
|---|---|---|---|---|---|---|---|
| BF16 | 3.78 GB | ||||||
| Unsloth UD-Q8_K_XL | 2.83 GB | 0.000624 | 98.29% | 0.000683 | 98.45% | 0.000703 | 98.25% |
| Unsloth Q8_0 | 2.01 GB | 0.000993 | 98.19% | 0.001158 | 97.69% | 0.001552 | 96.98% |
| Q8_0 | 2.01 GB | 0.000994 | 98.13% | 0.001150 | 98.10% | 0.001549 | 96.94% |
| Unsloth UD-Q6_K_XL | 1.86 GB | 0.001687 | 97.59% | 0.002058 | 97.55% | 0.002491 | 96.28% |
| Unsloth Q6_K | 1.57 GB | 0.003357 | 96.46% | 0.003713 | 96.69% | 0.004818 | 95.37% |
| Q6_K | 1.57 GB | 0.003009 | 96.81% | 0.003536 | 96.92% | 0.004490 | 95.61% |
| Unsloth UD-Q5_K_XL | 1.47 GB | 0.006865 | 95.40% | 0.007933 | 95.33% | 0.009408 | 93.69% |
| Q5_K_M | 1.45 GB | 0.006627 | 95.60% | 0.007707 | 95.22% | 0.008852 | 93.98% |
| Unsloth Q5_K_M | 1.44 GB | 0.007071 | 95.17% | 0.008377 | 95.16% | 0.010058 | 93.45% |
| Unsloth UD-Q4_K_XL | 1.34 GB | 0.015937 | 93.21% | 0.019416 | 93.02% | 0.021794 | 90.82% |
| Q4_K_M | 1.29 GB | 0.019793 | 92.65% | 0.025111 | 92.28% | 0.025923 | 90.37% |
| Unsloth Q4_K_M | 1.28 GB | 0.021505 | 92.49% | 0.026772 | 92.14% | 0.030468 | 89.35% |
| Q4_K_S | 1.22 GB | 0.024261 | 91.88% | 0.030402 | 90.88% | 0.031901 | 89.12% |
| Unsloth Q4_K_S | 1.22 GB | 0.025608 | 91.88% | 0.032718 | 90.75% | 0.038861 | 88.35% |
| Unsloth IQ4_XS | 1.17 GB | 0.032803 | 90.36% | 0.038893 | 89.88% | 0.048181 | 86.94% |
| IQ4_XS | 1.17 GB | 0.032163 | 90.54% | 0.039276 | 89.37% | 0.045511 | 86.86% |
| Unsloth UD-Q3_K_XL | 1.16 GB | 0.053395 | 88.58% | 0.068021 | 87.23% | 0.074806 | 83.84% |
| Unsloth Q3_K_M | 1.11 GB | 0.077712 | 85.79% | 0.099994 | 84.65% | 0.122111 | 79.57% |
| Q2_K | 1.00 GB | 0.218839 | 77.65% | 0.302113 | 74.33% | 0.330154 | 67.29% |
| Unsloth UD-Q2_K_XL | 0.97 GB | 0.237274 | 76.33% | 0.325645 | 74.72% | 0.367697 | 66.90% |
The new quantized files use block GPTQ (--intra col) and our own importance matrices. The BF16 file is the reference copy.
| Quant | File | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 |
|---|---|---|---|---|---|---|---|---|
| BF16 | Qwen3.5-2B-BF16.gguf |
3.78 GB | 0.000000 | 99.99% | 0.000000 | 100.00% | 0.000000 | 99.98% |
| Q5_K_S | Qwen3.5-2B-Q5_K_S.gguf |
1.39 GB | 0.004808 | 95.97% | 0.006531 | 96.12% | 0.007042 | 94.88% |
| Q4_0 | Qwen3.5-2B-Q4_0.gguf |
1.22 GB | 0.021823 | 92.28% | 0.030439 | 91.45% | 0.029936 | 88.43% |
| IQ4_NL | Qwen3.5-2B-IQ4_NL.gguf |
1.22 GB | 0.017866 | 92.95% | 0.023525 | 92.20% | 0.023946 | 90.67% |
| Q3_K_L | Qwen3.5-2B-Q3_K_L.gguf |
1.17 GB | 0.048648 | 89.18% | 0.077433 | 87.12% | 0.075778 | 83.61% |
| Q3_K_M | Qwen3.5-2B-Q3_K_M.gguf |
1.11 GB | 0.042317 | 89.75% | 0.067093 | 87.57% | 0.063851 | 84.67% |
| IQ3_M | Qwen3.5-2B-IQ3_M.gguf |
1.06 GB | 0.064686 | 87.37% | 0.088499 | 85.00% | 0.092582 | 81.55% |
| IQ3_S | Qwen3.5-2B-IQ3_S.gguf |
1.06 GB | 0.070765 | 86.75% | 0.095006 | 84.41% | 0.100730 | 80.57% |
| Q3_K_S | Qwen3.5-2B-Q3_K_S.gguf |
1.03 GB | 0.067466 | 87.52% | 0.106632 | 84.14% | 0.099392 | 81.67% |
| IQ3_XS | Qwen3.5-2B-IQ3_XS.gguf |
1.03 GB | 0.079781 | 85.90% | 0.108668 | 83.71% | 0.112514 | 79.82% |
| IQ3_XXS | Qwen3.5-2B-IQ3_XXS.gguf |
0.93 GB | 0.094157 | 84.84% | 0.140218 | 81.31% | 0.137603 | 78.77% |
| IQ2_M | Qwen3.5-2B-IQ2_M.gguf |
0.86 GB | 0.164918 | 80.99% | 0.235443 | 77.53% | 0.238387 | 72.98% |
| IQ2_S | Qwen3.5-2B-IQ2_S.gguf |
0.84 GB | 0.312898 | 73.25% | 0.492944 | 68.86% | 0.497906 | 62.06% |
| IQ2_XS | Qwen3.5-2B-IQ2_XS.gguf |
0.83 GB | 0.349812 | 72.43% | 0.533974 | 67.84% | 0.543041 | 59.80% |
| IQ2_XXS | Qwen3.5-2B-IQ2_XXS.gguf |
0.77 GB | 0.358337 | 71.75% | 0.592788 | 65.65% | 0.556842 | 59.69% |
License and notices
Apache License 2.0. See LICENSE and NOTICE.
Updates
- 2026-12-01: Added BF16 and 13 block GPTQ levels; replaced Q3_K_M.
- 2026-11-29: Added the importance matrix
Qwen3.5-2B.imatrixused for the quantized levels. - 2026-11-29: Charts redrawn in the dark theme with fewer point labels.
- 2026-11-28: Charts and CSV now use Hugging Face owner names for third-party files.
- Downloads last month
- 5,584
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit

