请求加入做种队列,或现在用 pf download JRamirez-UAB/Qwen3.6-35B-A3B-EXL3-4.00bpw-24GB 获取(CLI 指南)。
Install from this card, not from generic snippets. This is an EXL3 checkpoint: vLLM loads it only together with exllamav3 and our plugins. Follow Requirements & install and Quick start; a plain
pip install vllm, Transformers or SGLang cannot load it.
An EXL3 quantization of Qwen/Qwen3.6-35B-A3B made with exllamav3's per-tensor bit-allocation
("SC") pipeline, with a 6-bit lm_head, 6-bit vision tower, 4-bit MTP head and INT8 token embeddings. Qwen's 35B-A3B MoE (3B active parameters, 256 experts, hybrid GatedDeltaNet attention, vision and MTP). We did not find another EXL3 of it that keeps vision and MTP and runs under vLLM.
It is served with vLLM (continuous batching) through our vllm-quantpack plugin, which includes EXL3 support for the MoE experts (fused exllamav3 kernel). On a single RTX 3090 (24 GB) the main revision runs the full 262,144-token context with vision, MTP and
2 concurrent sessions with ≈1 GB of VRAM to spare.
Tested setup: RTX 3090 (24 GB, Ampere, power limit 350 W), vLLM 0.31.0 + exllamav3 1.5.1 + the OrcaSAQ2 plugin + our
qwen38_exl3_vision0.3.1 plugin, weights downloaded from this repo, the Quick start configuration (2026-10-14). Only this setup has been tested.
Our focus. We quantize and evaluate models for one use case: a local Linux system-administration agent (opencode with tool calling) for a university IT department, used in Spanish. Our calibration traces include real sysadmin/agent conversations in Spanish, and our quality checks (tool calls with the real opencode request, agent tasks with real command execution, long-context retrieval, long answers in Spanish) reflect that use. KL divergence is also reported on turboderp's public trace, so it can be compared and reproduced. Numbers for other domains or languages may differ.
All Qwen3.6-35B-A3B variants we publish, measured on 2026-10-14 under the same conditions (see Family comparison for every number):
| Variant | Weights | Context on one RTX 3090 | KLD vs BF16 | Agent tasks | Decode, 1 request | Pick it for |
|---|---|---|---|---|---|---|
| EXL3 4.00 (this repo) | 17.62 GiB | 262,144 with vision | 0.0066 | 23/30 | 118.3 tok/s | a 24 GB GPU with the full 262,144 context and vision |
| EXL3 3.50 (this repo) | 15.66 GiB | 262,144 with vision | 0.0113 | 20/30 | 118.9 tok/s | the same service with a smaller download and more free memory |
| Branch | Size |
|---|---|
main |
18.9 GB of weights |
3.50bpw |
16.8 GB of weights |
Download a branch with hf download JRamirez-UAB/Qwen3.6-35B-A3B-EXL3-4.00bpw-24GB --revision <branch> --local-dir <dir>.
Measured on 2026-10-14 for every variant in the same way: weights downloaded from Hugging Face, one RTX 3090 24 GB (power limit 350 W, no other use), vLLM 0.31.0 (EXL3: + exllamav3 1.5.1 + plugins), each variant with its own Quick start configuration. KLD and perplexity come from exllamav3's qbench (see How to read it).
| Variant | Weights | KLD mean / median (internal · public) | Perplexity (BF16 3.0617 · pub. 2.0468) | Needle (8 facts) near max. context | Tools: real opencode request | Agent tasks (10 × 3) | Reasoning xhigh: correct · tokens |
Vision |
|---|---|---|---|---|---|---|---|---|
EXL3 4.00 bpw (main, this repo) |
17.62 GiB | 0.0066 / 0.0023 · pub. 0.0082 / 0.0012 | 3.0590 · pub. 2.0492 | 8/8 at 241,437 | 54/60 | 23/30 | 37/48 · 141,832 | 15/15 |
EXL3 3.50 bpw (3.50bpw, this repo) |
15.66 GiB | 0.0113 / 0.0041 · pub. 0.0142 / 0.0021 | 3.0785 · pub. 2.0516 | 8/8 at 241,437 | 58/60 | 20/30 | 40/48 · 128,129 | 15/15 |
| Variant | Context on one RTX 3090 | Sessions | Prefill near max. context | Decode, 1 / 2 / 8 requests (tok/s) | MTP tokens per step | VRAM really free at peak |
|---|---|---|---|---|---|---|
| EXL3 4.00 | 262,144 with vision | 2 | 1,246 tok/s | 118.3 / 204.5 / 201.3 | 1.90 | 1,076 MiB |
| EXL3 3.50 | 262,144 with vision | 2 | 1,286 tok/s | 118.9 / 208.7 / 200.5 | 1.90 | 3,080 MiB |
How to read it:
qbench (lower is better). Internal: our sysadmin/agent evaluation set (not published, separate from the calibration data); public: turboderp's qbench_prompts_gen.json, reproducible by anyone. GPTQ checkpoints were evaluated as a BF16 copy holding the dequantized weights. These two columns come from qbench, not from this campaign.generation_config.json); a try counts when it calls a valid tool with valid arguments and the expected command. Agent: 10 sysadmin tasks run with opencode run and real command execution, 3 runs, at the recommended temperature; with sampling on, the same checkpoint varies by about ±2 of 30 between runs, so other measurements in this card may differ by that much. Reasoning: 6 checkable problems × 8 at xhigh; total reasoning tokens over the 48. Vision: our 4-image test.memory.free while serving (nvidia-smi every 0.5 s, from the end of start-up to the end of the run); we require ≥100 MiB.How many sessions fit with each Quick start configuration (KV size in tokens as reported by vLLM at start-up; a session uses the KV of its own context, and vLLM never runs more than max sessions at once):
| Variant | KV pool (tokens) | Max sessions | 32k each | 64k each | 128k each | Full context each |
|---|---|---|---|---|---|---|
| EXL3 4.00 | 287,575 | 2 | 2 | 2 | 2 | 1 × 262,144 |
| EXL3 3.50 | 287,575 | 2 | 2 | 2 | 2 | 1 × 262,144 |
Few users or many users. The Quick start configuration is tuned for 1–2 simultaneous users (fastest single request). For more users, the many users option below (measured the same day, same GPU) gives more total throughput; each request gets slower when many run at once. Same model, same quality: only the serving settings change.
| Variant | Configuration | Decode by simultaneous requests (aggregate tok/s) | N sessions at once, needle 8/8 | Tools (5 × 3) | VRAM really free |
|---|---|---|---|---|---|
| EXL3 4.00 | Quick start (2 sessions, MTP 1) | 1: 118 · 2: 204 · 8: 201 | — | 54/60 | 1,076 MiB |
| EXL3 4.00 | many users (32 sessions of up to 262,144 tokens, MTP 1, CUDA graphs up to 64 tokens) | 1: 121 · 4: 340 · 8: 523 · 16: 716 · 32: 669 | 16/16 of 12k | 15/15 | 798 MiB |
| EXL3 3.50 | Quick start (2 sessions, MTP 1) | 1: 119 · 2: 209 · 8: 200 | — | 58/60 | 3,080 MiB |
| EXL3 3.50 | many users (32 sessions of up to 262,144 tokens, MTP 1, CUDA graphs up to 64 tokens) | 1: 118 · 4: 340 · 8: 528 · 16: 687 · 32: 643 | 16/16 of 12k | 15/15 | 2,800 MiB |
Earlier measurements, before the controlled comparison of 2026-10-14: other dates, vLLM versions or settings, as stated in each table. Use Family comparison above to compare variants.
| Revision | bpw | Weights | KLD internal · public | GPU | Context | Decode with MTP, 1 / 2 sessions (tok/s) | Prefill 62k → 237k (tok/s) | Needle | Vision | Tools A · B · C (of 30) | Reasoning xhigh (48 problems) |
Really free at peak |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
main |
4.00 | 17.62 GiB | 0.0066 · 0.0082 | RTX 3090 | 262,144 | 120.6 / 204.9 | 2,459 → 1,261 | 8/8 at 237k | 15/15 | 28 · 30 · 30 | 133,765 (39/48) | 1,065 MiB |
3.50bpw |
3.50 | 15.66 GiB | 0.0113 · 0.0142 | RTX 3090 | 262,144 | 117.8 / 204.5 | 2,431 → 1,248 | 8/8 at 237k | 15/15 | 27 · 30 · 30 | 133,827 (40/48) | 3,069 MiB |
How to read it:
qbench on an internal sysadmin/agent evaluation
set (not published) and on turboderp's public trace (qbench_prompts_gen.json). Lower is better.xhigh at the model's default temperature, B = xhigh at T=0.3,
C = thinking off at T=0.3. Reasoning: total reasoning tokens over 6 checkable problems × 8 tries (T=0.6), and how many were correct.opencode run, 4 sysadmin tasks × 2 with real tool execution): 6/8 (4.00) · 7/8 (3.50).--max-model-len 262144, fp8 KV cache, MTP 1, 2 sequences, prefix caching, 1 image per request (≤1 MP). RTX 3090 rows: KV 3.5e9 B (287,575-token pool).Measured on 2026-10-14 with the same software and GPU as Family comparison, on our EXL3 4.00 build of Qwen3.6-35B-A3B (loops come from the model and the sampling, not from the quantization format): 5 long Spanish sysadmin prompts × 6 runs per temperature, up to 16,000 tokens, top_p 0.95 and top_k 20; a loop = more than 30 % repeated 8-grams. Serving: the Quick start with a 32k context and 8 sessions.
| Temperature | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1.0 |
|---|---|---|---|---|---|---|---|---|
| Loops / 30 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
| Answers that finished before 16,000 tokens / 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 |
From temperature 0.3 up, loops are rare (at most 1 of 30). This repo's default (generation_config.json) is 1.0.
Other models, same test and setup (loops / 30):
| Model (build) | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1.0 |
|---|---|---|---|---|---|---|---|---|
| Qwen3.8-27B · EXL3 3.85 | 12 | 12 | 7 | 8 | 1 | 1 | 1 | 0 |
| Qwen3.8-27B-pi · EXL3 3.85 | 9 | 4 | 9 | 10 | 4 | 2 | 1 | 0 |
| Qwopus3.8-27B-Flash-V2 · EXL3 3.85 | 3 | 1 | 2 | 1 | 2 | 0 | 0 | 0 |
| Swift 1.5 (Qwen3.8-27B) · EXL3 3.85 | 7 | 5 | 3 | 4 | 3 | 1 | 1 | 0 |
| Ornith-1.5-9B · EXL3 6.00 (16 GB) | 6 | 2 | 3 | 1 | 1 | 0 | 0 | 0 |
| NeoHorse-1-9B · EXL3 6.00 (16 GB) | 6 | 3 | 3 | 1 | 0 | 0 | 0 | 0 |
| Ornith-1.5-35B-A3B · EXL3 4.00 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Qwopus3.6-35B-A3B-Coder · EXL3 4.00 | 9 | 13 | 12 | 6 | 11 | 6 | 5 | 4 |
| Swift 1.5 Qwen3.8-Flash-Next (125B-A6B) · EXL3 2.25 · vLLM | 24 | 24 | 21 | 21 | 17 | 8 | 0 | 0 |
| Qwen3.8-Flash-Next (125B-A6B) · EXL3 2.25 · vLLM | — | — | 13 | 7 | 5 | 2 | 0 | 0 |
Before you install (checked on a clean Ubuntu 24.04 host with an A40, 2026-10-28):
uv venv --python 3.12 uses the system Python 3.12 when there is one, and Triton
compiles a small C helper every time vLLM starts; without the headers every vllm serve stops with
fatal error: Python.h: No such file or directory. On Debian/Ubuntu: sudo apt-get update && sudo apt-get install -y python3.12-dev build-essential.nvcc at start and fails with
Could not find nvcc and default cuda_home='/usr/local/cuda' doesn't exist).uv cache clean frees it), plus the model.EXL3 is not a native vLLM format. One plugin is loaded through vLLM's vllm.general_plugins entry point:
Use exllamav3 1.5.1 (with 1.6.x the KLD is the same, but tool calls without reasoning got worse in our tests) and Python 3.12 (the exllamav3 wheels are cp312).
uv venv --python 3.12 venv
uv pip install --python venv/bin/python vllm==0.31.0 --torch-backend=auto # torch 2.13.0
uv pip install --python venv/bin/python flashinfer-cubin==0.7.0.post1 flashinfer-jit-cache==0.7.0.post1+cu130 \
--extra-index-url https://flashinfer.ai/whl/ --extra-index-url https://flashinfer.ai/whl/cu130/ --index-strategy unsafe-best-match # FlashInfer kernels
W=exllamav3-1.5.1+cu132.torch2.13.0-cp312-cp312-linux_x86_64.whl
curl -L -o /tmp/$W "https://github.com/turboderp-org/exllamav3/releases/download/v1.5.1/${W/+/%2B}"
uv pip install --python venv/bin/python /tmp/$W vllm-quantpack
venv/bin/python -c "import torch; from exllamav3.ext import exllamav3_ext; print(torch.__version__, torch.cuda.get_device_name(0))"
Plugin (2026-10-28): vllm-quantpack (
pip install vllm-quantpack) replaces the OrcaSAQ2 +qwen38_exl3_visionplugins. The measurements in this card were made with the previous stack (OrcaSAQ2 + our plugins); this checkpoint was then served again with vllm-quantpack 0.1.0 following this card on a clean install (text, image and tool calls checked). The previous files stay inplugin/for reference.
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True VLLM_USE_FLASHINFER_SAMPLER=0 VLLM_DISABLE_SHARED_EXPERTS_STREAM=1
vllm serve JRamirez-UAB/Qwen3.6-35B-A3B-EXL3-4.00bpw-24GB \
--served-model-name qwen3.6-35b-a3b \
--limit-mm-per-prompt '{"image":1,"video":0}' \
--mm-processor-kwargs '{"max_pixels":1003520}' \
--max-model-len 262144 \
--kv-cache-dtype fp8_e4m3 \
--kv-cache-memory-bytes 3500000000 \
--max-num-batched-tokens 1024 \
--max-num-seqs 2 \
--enable-prefix-caching \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}' \
--compilation-config '{"max_cudagraph_capture_size":16}' \
--reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder
3.50bpw branch: add --revision 3.50bpw (same flags; validated as in the table).On 48 GB GPUs raise --kv-cache-memory-bytes (10e9 B gives an 821k-token pool: room for 8 sessions; add --max-num-seqs 8). For more sessions, raise max_cudagraph_capture_size with them
(see Important notes: ≥ max-num-seqs × 2 with MTP 1).
For many users (measured on 2026-10-14, same GPU): the same command with --max-num-seqs 32 --compilation-config '{"max_cudagraph_capture_size":64}' — 32 sessions of up to 262,144 tokens, MTP 1, CUDA graphs up to 64 tokens. Aggregate decode 669 tok/s with 32 requests (Quick start: 201 with 8); a single request runs at 121 tok/s (118 with the Quick start); 16 of 16 simultaneous sessions returned all 8 needle facts; 798 MiB of VRAM really free. Rule for CUDA graphs: they must cover sessions × (1 + MTP) tokens per step.
How we use it as a coding / sysadmin agent from opencode (opencode 1.18.x). limit.context must match --max-model-len of your
vllm serve command (262144 in the Quick start above).
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"local-vllm": {
"npm": "@ai-sdk/openai-compatible",
"name": "local vLLM",
"options": { "baseURL": "http://127.0.0.1:8000/v1" },
"models": {
"qwen3-6-35b-a3b-exl3-4-00bpw-24gb": {
"name": "Qwen3.6-35B-A3B-EXL3-4.00bpw-24GB (local)",
"tool_call": true,
"temperature": true,
"attachment": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 262144, "output": 22000 }
}
}
}
},
"agent": {
"build": { "model": "local-vllm/qwen3-6-35b-a3b-exl3-4-00bpw-24gb", "temperature": 1.0 },
"plan": { "model": "local-vllm/qwen3-6-35b-a3b-exl3-4-00bpw-24gb", "temperature": 1.0 }
}
}
"temperature": true in the model, otherwise opencode sends no temperature to a custom model and vLLM falls back to its defaults.generation_config.json default.output: 22000 opencode compacts the history at ≈context − 22k tokens of input.opencode run from scripts, close stdin (</dev/null).Qwen3.6 reasons a lot. On our 48 short checkable problems it spends ≈130k reasoning tokens at any reasoning_effort and some answers run into the cap (39-41/48 correct). Both bitrates behave the same, so this comes from the model, not from the quantization. Cap it with thinking_token_budget: with "thinking_token_budget": 512 in the request the same set took 22,737 reasoning tokens and 47/48 correct in 241 s (4.00 bpw); 1024 → 41,880 (45/48); 2048 → 72,375 (47/48). It requires --reasoning-parser qwen3 (enforced by vLLM, also with MTP).
VLLM_DISABLE_SHARED_EXPERTS_STREAM=1 is required. The fused exllamav3 MoE kernel synchronises its blocks through global counters and needs the whole GPU;
vLLM (0.30 and 0.31) otherwise runs the shared expert on a parallel CUDA stream and decoding hangs after a few seconds. The plugin sets it, but export it yourself too.max_cudagraph_capture_size ≥ max-num-seqs × (1 + MTP tokens), so that every decode step is replayed from a graph (16 is enough for the
2 sessions of the Quick start). Plugin 0.2.1 and later (this repo ships 0.3.2) runs every step of up to 256 tokens in exllamav3's fused MoE kernel; 0.2.0 only did so up to
32 tokens (8 experts per token × tokens ≤ 256) and fails at start with a larger capture size. RTX 3090, vLLM 0.30, 32 sequences, MTP 1, short prompts:
0.2.0 (graphs ≤ 32) and 0.2.1 (≤ 128) give the same 106 / 378 / 615 tok/s in total with 1 / 8 / 16 requests at once; with 32 at once, 499 → 587 tok/s.
Graphs plus MTP 1 matter more than the plugin: with MTP 3 and graphs ≤ 16, 8-32 requests ran 1.7-1.8× slower. KL divergence 0.2.1 vs 0.2.0: 0.0155,
the same as between two runs of 0.2.0 (0.0152). On 24 GB use at most 128 (256 does not fit while capturing).nvidia-smi --query-gpu=memory.free. Size the KV cache
with --kv-cache-memory-bytes, not --gpu-memory-utilization. The KV cache of these models is small (≈13 KB/token in fp8: only 10 of the 40 layers are
full attention, with 2 KV heads), which is why 262k fits next to the 19 GB of weights.quantization_config.bits not being an integer is expected (EXL3 bits is an average).--tool-call-parser qwen3_coder and --reasoning-parser qwen3. reasoning_effort accepts xhigh, medium and low; they are prompt instructions, not limits.sc_measure --shaped, --max-sys 24) on a 196 × 2048-token calibration trace,
bit allocation with sc_optimize, conversion with the same trace. The trace was generated by Qwen3.8-27B (same tokenizer) on prompts from exllamav3's SC set
plus internal Linux sysadmin/agent conversations (not published); with a trace generated by the model itself the KLD was not better (Ornith 4.00: 0.0171 vs 0.0163).lm_head 6 bits, vision tower 6 bits, MTP head 4 bits, codebook mul1, out_scales: always.scripts/embed_int8.py from the converted checkpoint (≈−0.5 GB of VRAM, no measurable change).Qwen/Qwen3.6-35B-A3B revision 995ad96e. Chat template and tokenizer are the base model's.What was checked for this checkpoint, how, and where the numbers are (measured on 2026-10-14; the method and every figure are in Family comparison).
Artifact integrity
SHA256SUMS in this repo).522b28ccc6f4; later commits change only metadata, documentation or the plugin, never the .safetensors files.model.safetensors.index.json on start-up (a missing tensor or a wrong shape would stop it): checked from a fresh download.quantization_config.json, plugin 0.3.1, embed_int8.py): downloaded again from this repo and re-tested: loads; vision 15/15 needle 64k 8/8; tool calls 14/15; engine errors 0.Quantization
quantization_config.json; its tensor_storage entry for embed_tokens describes the INT8 qweight + BF16 scales actually stored (updated on 2026-10-14; the plugin only reads the .trellis entries).scripts/embed_int8.py) is reproducible: re-running it on the source checkpoint gives the published qweight and scales bit for bit (checked on Ornith-1.5-9B 6.00 bpw); its reported error now uses the stored BF16 scales (0.00806 vs 0.00803 with FP32 scales).qbench on two traces (ours and turboderp's public one).Chat template
enable_thinking: false, reasoning_effort low / xhigh): all pass (prueba_plantillas.py). With Transformers directly, pass tool-call arguments as dicts (vLLM converts JSON strings itself).Runtime
Scope: results apply to the revision, software stack (vLLM 0.31.0 + exllamav3 1.5.1 + plugins), hardware and settings stated above; other setups are not tested.
sudo, and give the agent a non-privileged account and a test machine where you can.Reports of installations, both working and failed ones, are very welcome in the Community tab: GPU(s), driver, vLLM version, the full command line and the result (speed, context, or the error).
qbench evaluation, public trace from turboderp's repos);
OrcaSAQ2-kernel (EXL3 in vLLM); vLLM.model-00002-of-00003.safetensors 8.3 GBmodel-00001-of-00003.safetensors 8.0 GBmodel-00003-of-00003.safetensors 2.6 GB有文件?提交种子。
提交种子Qwen/Qwen3.6-35B-A3B