Qwopus3.8-27B-Flash-V2 — EXL3 3.85 bpw, for 24 GB GPUs (vision + MTP, served with vLLM)
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 Jackrong/Qwopus3.8-27B-Flash-V2 made with
exllamav3's per-tensor bit-allocation ("SC") pipeline with our own calibration, a 5-bit lm_head,
a 6-bit vision tower, a 4-bit MTP head and INT8 token embeddings. It is served with vLLM (continuous batching) through our vllm-quantpack plugin,
with the base Qwen3.8 chat template for reliable tool calls. KL divergence against BF16: 0.0060 (≈6× lower than our W4A16 GPTQ version).
It runs a 215k-token context with vision and MTP speculative decoding on a single 24 GB RTX 3090; the 3.70bpw branch (since 2026-10-14) runs
226k with vision and 4 sessions (see Variants).
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.
Highlights (one RTX 3090 24 GB, measured on 2026-10-14; details in Family comparison):
- KLD 0.0060 against BF16 on our evaluation set (0.0048 on turboderp's public trace).
- 215,000 with vision on one 24 GB GPU with MTP (3.40 tokens per step); needle 8/8 at 197,991.
- Tool calls with the real opencode request 54/60, opencode agent tasks 27/30 (10 sysadmin tasks × 3 runs), images 15/15.
- Reasoning 48/48 at
xhighwith 23,460 reasoning tokens in total. - Decode 86.9 / 140.5 / 145.3 tok/s with 1 / 2 / 8 requests; 320 MiB of VRAM really free at peak.
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.
What is in this repository
Which one to use
All Qwopus3.8-27B-Flash-V2 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 |
|---|---|---|---|---|---|---|
| GPTQ INT4 | 14.21 GiB | 222,000 (text) · 176,128 with vision | 0.0357 | 29/30 | 114.3 tok/s | the longest context on stock vLLM (+ a 4-line patch): 222,000 text-only, or 176,128 with vision |
| GPTQ INT8 g64 | 15.75 GiB | 176,000 (text) · 131,072 with vision | 0.0145 | 25/30 | 97.3 tok/s | a more faithful GPTQ (KLD 0.0145) on stock vLLM (+ the same patch), with less context |
| EXL3 3.85 (this repo) | 13.62 GiB | 215,000 with vision | 0.0060 | 27/30 | 86.9 tok/s | the closest to BF16 (KLD 0.0060) with vision at 215,000; needs exllamav3 + our plugin |
| EXL3 3.70 (this repo) | 13.19 GiB | 226,000 with vision | 0.0073 | 25/30 | 83.9 tok/s | more context (226,000) and 4 sessions with vision, a little less faithful than 3.85 |
Variants / revisions
| Revision | Linear layers (achieved) | lm_head |
Vision | MTP head | Embeddings | Size | KLD (ours / pub.) |
|---|---|---|---|---|---|---|---|
main |
3.85 bpw (3.866), SC allocation | 5 bits | 6 bits | 4 bits | INT8 per row | 13.62 GiB | 0.0060 / 0.0048 |
3.70bpw |
3.70 bpw, SC allocation | 5 bits | 6 bits | 4 bits | INT8 per row | 13.19 GiB | 0.0073 / 0.0060 |
Made without YAQA (on our Swift EXL3 quantizations YAQA changed the KLD by 0–3 %).
The 3.70bpw branch (added 2026-10-14). We first held it back: in our opencode agent tasks it fell into repetition loops in 3 of 8 runs, issuing the same
command 33–70 times. Those runs used temperature 0.3, our setting at the time, which is the range where this family loops (see Sampling and repetition
loops). Re-tested on 2026-10-14 at temperature 1.0 (this repo's generation_config.json) with the 3.70bpw Quick start below on an RTX 3090: 0 of 30
loops on long answers (3 of 30 at 0.6), tool calls with the real opencode request 30/30, agent tasks 27/30 (10 tasks × 3 runs; the 3 misses were the
same file written as errors.txt instead of the requested errores.txt, not loops), 119 MiB really free at peak. So the loops came from the low temperature,
not from the quantization. Earlier results for this branch: tools 59/60 · 60/60, images 18/18.
Files and reproducibility
model-*.safetensors,config.json(quantization_config:exl3, 3.85 bits, head 5, vision 6, MTP 4),quantization_config.json(per-tensor allocation).chat_template-xml-tools.jinja: the base Qwen3.8 chat template (XML tool calls), recommended for tool calling (Apache-2.0, Qwen).plugin/qwen38_exl3_vision/: our vLLM plugin (vision tensors and padding).scripts/embed_int8.py: re-encodesembed_tokensto INT8 per row.- The calibration and evaluation sets are internal and not published; the public KLD figures use turboderp's
qbench_prompts_gen.json, so they can be reproduced with exllamav3'sqbenchagainst the BF16 model.
Results
Family comparison (Qwopus3.8-27B-Flash-V2, same conditions)
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 (GPTQ: + the embedding patch / 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 1.6706 · pub. 1.4288) | Needle (8 facts) near max. context | Tools: real opencode request | Agent tasks (10 × 3) | Reasoning xhigh: correct · tokens |
Vision |
|---|---|---|---|---|---|---|---|---|
GPTQ W4A16 + INT4 embeddings (mtp-int8) |
14.21 GiB | 0.0357 / 0.0129 · pub. 0.0251 / 0.0024 | 1.7436 · pub. 1.4707 | 8/8 at 204,551 | 55/60 | 29/30 | 47/48 · 18,090 | 15/15 |
GPTQ W4A16 g64 + INT8 embeddings (main) |
15.75 GiB | 0.0145 / 0.0047 · pub. 0.0115 / 0.0011 | 1.7029 · pub. 1.4507 | 8/8 at 162,208 | 57/60 | 25/30 | 48/48 · 17,965 | 15/15 |
EXL3 3.85 bpw (main, this repo) |
13.62 GiB | 0.0060 / 0.0018 · pub. 0.0048 / 0.0004 | 1.6815 · pub. 1.4379 | 8/8 at 197,991 | 54/60 | 27/30 | 48/48 · 23,460 | 15/15 |
EXL3 3.70 bpw (3.70bpw, this repo) |
13.19 GiB | 0.0073 / 0.0022 · pub. 0.0060 / 0.0005 | 1.6856 · pub. 1.4409 | 8/8 at 208,158 | 57/60 | 25/30 | 48/48 · 26,996 | 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 |
|---|---|---|---|---|---|---|
| GPTQ INT4 | 222,000 (text) · 176,128 with vision | 2 | 603 tok/s | 114.3 / 192.2 / 189.5 | 3.20 | 284 MiB · vision config: 930 MiB |
| GPTQ INT8 g64 | 176,000 (text) · 131,072 with vision | 2 | 644 tok/s | 97.3 / 173.0 / 175.1 | 3.21 | 196 MiB · vision config: 840 MiB |
| EXL3 3.85 | 215,000 with vision | 2 | 554 tok/s | 86.9 / 140.5 / 145.3 | 3.40 | 320 MiB |
| EXL3 3.70 | 226,000 with vision | 4 | 543 tok/s | 83.9 / 145.7 / 258.8 | 3.21 | 148 MiB |
How to read it:
- KLD / perplexity: next-token KL divergence against the BF16 model with exllamav3's
qbench(lower is better). Internal: our sysadmin/agent evaluation set (not published, separate from the calibration data); public: turboderp'sqbench_prompts_gen.json, reproducible by anyone. GPTQ checkpoints were evaluated as a BF16 copy holding the dequantized weights. These two columns come fromqbench, not from this campaign. - Needle: 8 facts spread through one prompt at about 92 % of the served context; all 8 must come back. Tools: the real request of the opencode agent (system prompt + 11 tools), 3 cases × 20 tries, at the model's default sampling (
generation_config.json); a try counts when it calls a valid tool with valid arguments and the expected command. Agent: 10 sysadmin tasks run withopencode runand 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 atxhigh; total reasoning tokens over the 48. Vision: our 4-image test. - Prefill / decode: prefill from the needle prompt; decode is aggregate throughput with 1 / 2 / 8 simultaneous requests (temperature 0; with more requests than Sessions, the extra ones wait). MTP tokens per step: vLLM's speculative-decoding metrics over the whole run.
- VRAM really free: lowest
memory.freewhile serving (nvidia-smi every 0.5 s, from the end of start-up to the end of the run); we require ≥100 MiB. - Older sections below keep their own date and setup; use this table to compare variants.
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 |
|---|---|---|---|---|---|---|
| GPTQ INT4 | 223,441 | 2 | 2 | 2 | 1 | 1 × 222,000 |
| GPTQ INT4 (vision config) | 178,923 | 2 | 2 | 2 | 1 | 1 × 176,128 |
| GPTQ INT8 g64 | 178,816 | 2 | 2 | 2 | 1 | 1 × 176,000 |
| GPTQ INT8 g64 (vision config) | 132,423 | 2 | 2 | 2 | 1 | 1 × 131,072 |
| EXL3 3.85 | 216,433 | 2 | 2 | 2 | 1 | 1 × 215,000 |
| EXL3 3.70 | 231,757 | 4 | 4 | 3 | 1 | 1 × 226,000 |
Few users or many users. The Quick start configuration is tuned for 1–4 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 |
|---|---|---|---|---|---|
| GPTQ INT4 | Quick start (2 sessions, MTP 3) | 1: 114 · 2: 192 · 8: 190 | — | 55/60 | 284 MiB |
| GPTQ INT4 | many users (8 sessions of up to 222,000 tokens, MTP 3) | 1: 113 · 2: 190 · 4: 340 · 8: 481 | 8/8 of 22k | 15/15 | 174 MiB |
| GPTQ INT8 g64 | Quick start (2 sessions, MTP 3) | 1: 97 · 2: 173 · 8: 175 | — | 57/60 | 196 MiB |
| GPTQ INT8 g64 | many users (8 sessions of up to 165,000 tokens, MTP 3) | 1: 96 · 2: 166 · 4: 316 · 8: 460 | 8/8 of 22k | 14/15 | 386 MiB |
| EXL3 3.85 | Quick start (2 sessions, MTP 3) | 1: 87 · 2: 140 · 8: 145 | — | 54/60 | 320 MiB |
| EXL3 3.85 | many users (8 sessions of up to 215,000 tokens, MTP 3) | 1: 88 · 2: 142 · 4: 257 · 8: 314 | 8/8 of 22k | 14/15 | 138 MiB |
| EXL3 3.70 | Quick start (4 sessions, MTP 3) | 1: 84 · 2: 146 · 8: 259 | — | 57/60 | 148 MiB |
| EXL3 3.70 | many users (8 sessions of up to 220,000 tokens, MTP 3) | 1: 78 · 2: 143 · 4: 254 · 8: 293 | 8/8 of 22k | 15/15 | 358 MiB |
Benchmarks and validated configurations (single RTX 3090 24 GB, 350 W)
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.
Quality: KL divergence against BF16 (2026-10-02)
| Model | KLD mean / median (internal set) | Perplexity (BF16 1.6706) | KLD mean / median (public trace) | Perplexity (BF16 1.4288) |
|---|---|---|---|---|
EXL3 3.85 bpw (main) |
0.0060 / 0.0018 | 1.6815 | 0.0048 / 0.0004 | 1.4379 |
| W4A16 GPTQ (sibling repo) | 0.0357 / 0.0129 | 1.7436 | 0.0251 / 0.0024 | 1.4707 |
Service configuration (quick start above)
| Test | main 3.85 bpw (215,000) |
|---|---|
| KV pool | 216,433 tokens (KV 8.42e9 B) |
| Idle: used / really free | 23,406 / 719 MiB |
| 8 facts in one long prompt (greedy) | 8/8 at 200,069 tokens, 371.3 s (539 tok/s) |
| 2 simultaneous sessions | 2 × ≈99k, 8/8 in both, 723 tok/s aggregate |
| Decode, 1 request, t=0 / 0.6 | 77.1 / 72.8 tok/s |
| Decode, 2 concurrent, t=0 / 0.6 | 141.0 / 131.6 tok/s |
| Images (4 synthetic tasks, 18 checks; 2026-10-02 battery) | 4/4 tasks, 18/18; follow-up turn on the same image (prefix cache) 2.6 → 1.4 s |
| Real opencode request, tool calls (xhigh, 3 cases × 20; T=1.0 / T=0.3) | 58/60 / 60/60 (the 2 misses: full multi-turn session at T=1.0), 0 parse errors |
| Peak used / really free | 23,834 MiB / 291 MiB, no OOM |
Images: failed-service screenshot, chart, dense firewall ruleset, and a terminal where the port is held by another process while the journal shows a dead PID as a trap (the model must take the right PID from the image and free the port). This battery replaces an older 3-image one (8/9), whose first image wrongly required that dead PID; the PID is still checked in a follow-up turn.
Reasoning and agent tasks
6 problems with checkable answers (arithmetic, word problem, counting, logic, subnetting, systemd) × 8 tries, temperature 0.6, total reasoning tokens over
48 requests; agent = 4 sysadmin tasks × 2 with opencode run (xhigh, temperature 0.3, real tool execution, reasoning counted by a proxy):
| Model | low | medium | xhigh | Correct (low · medium · xhigh) | Agent: ok · reasoning tokens · time |
|---|---|---|---|---|---|
EXL3 3.85 (main) |
20,970 | 19,871 | 19,310 | 48 · 47 · 48 | 7/8 · 2,814 · 312 s |
| W4A16 GPTQ (sibling repo, 2026-10-02) | 21,854 | 23,177 | 20,852 | 48 · 48 · 48 | 6/8 · 2,741 · 246 s |
The only agent failures (one of two runs here, both runs with W4A16) were on the log-summary task. The level (low / medium / xhigh) does not regulate
the amount of reasoning.
Agent turns and 8 sessions (--max-num-seqs 8, same KV pool)
| Revision | Turn: time to first token / total (median) | First turn (no cache) | 8 sessions: needle each, aggregate prefill | Decode with 8 sessions (t=0 / 0.6) | Really free (min) |
|---|---|---|---|---|---|
main 3.85 |
3.2 / 4.2 s | 13.7 s | 8 × 23k, 8/8 in all, 972 tok/s | 298.8 / 274.8 tok/s | 145 MiB |
Agent turn = the real opencode request (≈13.5k → 14.4k tokens over 10 turns) with prefix caching. For comparison, the W4A16 sibling needs 2.6 / 3.3 s per turn and reaches 460 tok/s with 8 sessions, but only up to a 200k pool and without vision.
MTP acceptance
On the mixed workload of the family table: 3.03 tokens per step, per-position acceptance 0.85 / 0.67 / 0.52.
Sampling and repetition loops
Measured on 2026-10-14 with the same software and GPU as Family comparison, on our EXL3 3.85 build of Qwopus3.8-27B-Flash-V2 (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 | 3 | 1 | 2 | 1 | 2 | 0 | 0 | 0 |
| Answers that finished before 16,000 tokens / 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 |
From temperature 0.8 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 |
| 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 |
| Qwen3.6-35B-A3B · EXL3 4.00 | 0 | 0 | 1 | 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 |
Requirements & install (vLLM 0.31 + exllamav3 1.5.1 + vllm-quantpack)
Before you install (checked on a clean Ubuntu 24.04 host with an A40, 2026-10-28):
- An NVIDIA driver that supports CUDA 13.2 (tested with 595.84) and uv.
- The Python 3.12 headers and a C compiler.
uv venv --python 3.12uses the system Python 3.12 when there is one, and Triton compiles a small C helper every time vLLM starts; without the headers everyvllm servestops withfatal 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. - No CUDA toolkit is needed: the FlashInfer line below installs prebuilt kernels (without it, vLLM looks for
nvccat start and fails withCould not find nvcc and default cuda_home='/usr/local/cuda' doesn't exist). - Disk: about 20 GB for the venv, as much again for uv's cache (
uv cache cleanfrees it), plus the model.
EXL3 is not a native vLLM format. One plugin is loaded through vLLM's vllm.general_plugins entry point:
- vllm-quantpack (ours, on PyPI): EXL3 linear, embedding and MoE layers through exllamav3's kernels, plus the vision tower and the MTP head.
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.
Quick start (single RTX 3090, 24 GB)
main (3.85 bpw), vision + MTP 3, 215k context, 2 concurrent sequences, 1 image per request (≤1 MP) — our validated configuration:
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True VLLM_USE_FLASHINFER_SAMPLER=0
vllm serve JRamirez-UAB/Qwopus3.8-27B-Flash-V2-EXL3-3.85bpw-24GB \
--served-model-name qwopus3.8-27b \
--limit-mm-per-prompt '{"image":1,"video":0}' \
--mm-processor-kwargs '{"max_pixels":1003520}' \
--max-model-len 215000 \
--kv-cache-dtype fp8_e4m3 \
--kv-cache-memory-bytes 8420000000 \
--max-num-batched-tokens 1024 \
--max-num-seqs 2 \
--enable-prefix-caching \
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
--reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder \
--chat-template chat_template-xml-tools.jinja
3.70bpw, vision + MTP 3, 226k context, 4 concurrent sequences (validated on 2026-10-14 with 119 MiB really free at peak): same command with
--revision 3.70bpw --max-model-len 226000 --kv-cache-memory-bytes 9000000000 --max-num-seqs 4.
8 concurrent sessions: add --max-num-seqs 8 and keep the same KV cache (the pool is shared: 8 × ≈23k tokens at once, or one long session).
Validated with 145 MiB really free at peak.
For many users (measured on 2026-10-14, same GPU): the same command with --max-num-seqs 8 — 8 sessions of up to 215,000 tokens, MTP 3. Aggregate decode 314 tok/s with 8 requests (Quick start: 145 with 8); a single request runs at 88 tok/s (87 with the Quick start); 8 of 8 simultaneous sessions returned all 8 needle facts; 138 MiB of VRAM really free. Rule for CUDA graphs: they must cover sessions × (1 + MTP) tokens per step.
Using it with opencode (how we tested)
This checkpoint is meant to be used as a coding / sysadmin agent from opencode (tested with opencode 1.18.33). Tool calling is
measured with the real opencode request (its long system prompt and 11 tools, captured and replayed against vLLM) and with opencode run agent tasks;
context, speed, memory and image tests are run directly against the vLLM API.
{
"$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": {
"qwopus3.8-27b": {
"name": "Qwopus3.8-27B-Flash-V2 EXL3 (local)",
"tool_call": true,
"temperature": true,
"attachment": true,
"modalities": { "input": ["text", "image"], "output": ["text"] },
"limit": { "context": 215000, "output": 22000 },
"variants": {
"none": { "chat_template_kwargs": { "enable_thinking": false } },
"low": { "chat_template_kwargs": { "reasoning_effort": "low" } },
"medium": { "chat_template_kwargs": { "reasoning_effort": "medium" } },
"xhigh": { "chat_template_kwargs": { "reasoning_effort": "xhigh" } }
}
}
}
}
},
"agent": {
"build": { "model": "local-vllm/qwopus3.8-27b", "variant": "xhigh", "temperature": 1.0 },
"plan": { "model": "local-vllm/qwopus3.8-27b", "variant": "xhigh", "temperature": 1.0 }
}
}
Temperature 1.0 (since 2026-10-13; it was 0.3): our first agent tests of this family used 0.3, but at 0.3 the model falls into repetition loops on long answers (see Sampling and repetition loops), and in our agent tests (10 real sysadmin tasks × 3 runs with
opencode run) 1.0 scored the same as 0.3 within one task.limit.context=--max-model-len; withoutput: 22000opencode compacts the history at ≈context − 22ktokens of input.Declare
"temperature": truein the model, otherwise opencode sends no temperature to a custom model (checked by capturing the requests).Tool calling needs
--chat-template chat_template-xml-tools.jinjaand--tool-call-parser qwen3_coder; with the original template andhermesopencode receives empty answers.Without
attachment/modalitiesopencode will not send images; drop them if you serve with--language-model-only.Start opencode inside a project directory (it takes a git snapshot before each step); for
opencode runfrom scripts, close stdin (</dev/null).
Important notes
- For tool calling, use the base Qwen3.8 template with
--tool-call-parser qwen3_coder(--chat-template chat_template-xml-tools.jinja). The original Qwopus V2 template asks for JSON tool calls (Hermes style), but the model often answers in Qwen3.8's XML format (<function=...><parameter=...>) or with malformed JSON, and thehermesparser silently drops those calls: the client receives an empty answer withfinish_reason=stop. The two templates differ only in how tools and tool calls are rendered. On the W4A16 version: 59/60 with the XML template, 29/60 with the original one andhermes. - Memory. The driver reserves 453 MiB of the 24,576 MiB that vLLM cannot use: read the real headroom with
nvidia-smi --query-gpu=memory.used,memory.free --format=csv, not as 24,576 − used. Size the KV cache with--kv-cache-memory-bytes, never with--gpu-memory-utilization(the profiling of this hybrid GatedDeltaNet model under-estimates the activations).--max-num-batched-tokens 1024andexpandable_segmentslower the peak by ≈350 MiB at no measurable cost. With MTP, KV capacity grows in block-sized steps: check theGPU KV cache sizeline (8,420,000,000 B → 216,433 tokens) and keep--max-model-lenbelow it. Measured peak (2 sessions, vision): 23,834 MiB used, 291 MiB really free. - Hugging Face page warnings: the "Model size" shown by Hugging Face (≈8B params) counts the packed storage elements of the safetensors files
(EXL3 packs ≈4 weights into each
int16), not parameters: this is the 27B model at ≈3.85 bits per weight. The Configuration Parsing Warning "quantization_config.bitsmust be an integer" is also expected: for EXL3bitsis the average bits per weight of a per-tensor allocation (the per-tensor values are inquantization_config.json); exllamav3 and the OrcaSAQ2 plugin read it as a float. VLLM_USE_FLASHINFER_SAMPLER=0is recommended by the OrcaSAQ2 plugin (flashinfer's JIT sampler is fragile; torch's is equivalent).--reasoning-parser qwen3;reasoning_effortaccepts onlyxhigh,mediumandlow(highreturns HTTP 400); they are prompt instructions, not limits. The Qwopus author recommends temperature 0.3 for agentic/coding work (repository default 1.0).- On Ampere (sm86) the fp8 KV cache works with the FlashInfer attention backend (the default).
- Why it is slower than W4A16 on Ampere (per-layer micro-benchmarks on the 3090): with 1 row the EXL3 kernel matches Marlin, but with the 4–8 rows of an
MTP verification step decoding the trellis becomes compute-bound and costs ≈6 ms more per step; the plugin path adds ≈2.6 ms, and a higher-bit
lm_head≈1–2 ms. Ada / Blackwell GPUs should lose less. Prefill is ≈8 % slower. - Stability (our machine): our RTX 3090 hung twice at its factory 370 W limit with very long prompts (once inside an exllamav3 kernel, once with an
unrelated model); after setting a 350 W power limit and a more aggressive fan curve, none of our EXL3 tests (up to 245k-token prompts) hung again. If you
see Xid errors in
dmesg, try a lower power limit first.
Quantization recipe
| Step | What we did |
|---|---|
| Calibration trace | Generated by Qwopus3.8-27B-Flash-V2 itself (reasoning_effort: xhigh, MTP enabled) with exllamav3's sc_trace: 196 prompts: 157 from exllamav3's own sc_trace set (logic, maths, code, science; English and Spanish) and 39 of our own generic sysadmin/agent conversations (invented examples, no real system data; not published). The trace is the model's own xhigh answers to them, ≈620k generated tokens (277 rows: a second turn in 81 conversations); 250 sequences × 2048 tokens used for conversion |
| Reference and sensitivity | sc_rfn_probe against a 2.00 bpw reference, sc_measure --shaped --max-sys 24 (per-tensor sensitivity on the trace) |
| Bit allocation | sc_optimize at the target rate with a 5-bit lm_head (-hb 5, -al 2.0) → per-tensor recipe (achieved 3.866 bpw for main) |
| Conversion | exllamav3 1.5.1 convert.py with the recipe, the calibration trace, vision 6 bits (-vb 6), MTP 4 bits (-mb 4); codebook mul1, output scales always |
| Embeddings | embed_tokens re-encoded to INT8 per row (absmax / 127, BF16 scales; 0.8 % relative error) in the OrcaSAQ2 plugin's format (≈1.2 GiB less VRAM); script included |
- Tokenizer, chat template and generation config unchanged. For tool calling use the extra template
chat_template-xml-tools.jinja(the base Qwen3.8 template, see Important notes). - Hardware: one RTX PRO 6000 Blackwell / L40S per job; conversion peaked at ≈33 GiB of RAM,
sc_measureat ≈57 GiB. sc_optimizepredicted a KLD of 0.0060 for 3.85 bpw; the measured value is 0.0060.
Integrity and validation
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
- Every weight file is checked against our local copy with SHA-256 before publication (
SHA256SUMSin this repo). - The measurements used the weights downloaded from this repo at commit
91cec682a4dd; later commits change only metadata, documentation or the plugin, never the.safetensorsfiles. - vLLM loads every tensor listed in
model.safetensors.index.jsonon start-up (a missing tensor or a wrong shape would stop it): checked from a fresh download. - After the metadata update of 2026-10-14 (
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
- Per-tensor bit allocation is recorded by exllamav3 in
quantization_config.json; itstensor_storageentry forembed_tokensdescribes the INT8qweight+ BF16scalesactually stored (updated on 2026-10-14; the plugin only reads the.trellisentries). - The INT8 embedding conversion (
scripts/embed_int8.py) is reproducible: re-running it on the source checkpoint gives the publishedqweightandscalesbit 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). - Fidelity: KL divergence against the BF16 Qwopus3.8-27B-Flash-V2 with exllamav3's
qbenchon two traces (ours and turboderp's public one).
Chat template
- The published template renders correctly in 40 edge cases (empty and very long system prompt, no tools, two tool calls in one message, nested JSON and multi-line arguments, images with tools, two images, earlier reasoning, multi-turn with several tool results) × the reasoning settings (
enable_thinking: false,reasoning_effortlow / xhigh): all pass (prueba_plantillas.py). With Transformers directly, pass tool-call arguments as dicts (vLLM converts JSON strings itself).
Runtime
- Load, long-context needle, vision, tool calls with the real opencode request, 10 agent tasks × 3 runs, concurrency and VRAM: see Family comparison; engine errors during the run: 0.
- On a desktop RTX 3090 that also drives the display (300 W): Quick start at 215,000 tokens: 317 MiB really free.
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.
Limitations
- Review the commands before they run. As an agent, the model proposes shell commands and opencode can execute them: review them before running anything as root or with
sudo, and give the agent a non-privileged account and a test machine where you can. - Quality was not evaluated with standard benchmarks; the checks are KL divergence against BF16, long-context retrieval, tool calling, vision on synthetic images, short reasoning problems and agent tasks.
- The full 262,144 context does not fit at this rate on 24 GB with MTP and vision.
- Decode is ≈20 % slower than our W4A16 GPTQ version on Ampere; the OrcaSAQ2 plugin is young and describes itself as a correctness path.
- Qwopus is the weakest of our three 27B families as an agent (7/8 here, 6/8 for the W4A16, at temperature 0.3); at temperature 1.0 the
3.70bpwbranch scored 27/30 (see Variants). - The fp8 KV cache uses the default scale 1.0.
- All numbers come from one machine and one software stack.
Feedback welcome
I would be grateful for reports of installations of this checkpoint, both working and failed ones, especially on GPUs other than the RTX 3090. Please open a discussion in the Community tab with your GPU(s), driver, vLLM / exllamav3 / plugin versions, the full command line and the result (speed, context, or the error message).
Credits & license
Credits & acknowledgements
- Base model: Jackrong/Qwopus3.8-27B-Flash-V2, built on Qwen/Qwen3.8-27B.
- exllamav3 and the EXL3 format by turboderp (MIT), including the SC pipeline,
qbenchand the public evaluation trace; EXL3 is based on QTIP (Tseng et al.). - vLLM integration: the OrcaSAQ2 plugin by Continuum AI Corp; vLLM.
- Our W4A16 sibling builds on the INT4-embedding work of Marcin116, born2bewild and syv-ai.
License
Apache-2.0, same as the base model. This is a community quantization, not an official release of Jackrong or Qwen. The OrcaSAQ2 plugin and exllamav3 are not redistributed here; install them from their repositories under their own licenses.