colibri 2.4.0: Qwen4-35B-A3B with CUDA, Vulkan and on the CPU, and pictures on the GPU. 13 pull requests, 11 of them from 4 contributors. The full list is in CHANGELOG.md.
Measured on an RTX PRO 4000 Blackwell (24 GB) with an i5-13500 and 62 GB of RAM.
Qwen4-35B-A3B
35 billion parameters, 3 billion of them at work for each token: 256 experts in each of its 40 layers, 8 of them a token. Qwen4 runs in the Qwen3.8 engine with its n-gram table, its vision tower and its MTP head, its chat template with reasoning_effort from off to xhigh, and its XML tool calls.
./start-here.sh --model qwen4-35b # unsloth's UD-Q4_K_XL
./start-here.sh --model qwen4-35b-iq3 # ISTA-DASLab's GSQ-RCO IQ3_XXS, 14 GB of weights
| tok/s | |
|---|---|
| UD-Q4_K_XL, CUDA chain | 78-106 |
| with RadixArk's DFlash2 drafter | 72-133 |
--vram 8, 131072 positions
| 29-39 (a ten-turn chat at 30-50, the chain never lost) |
| Vulkan | 61-65 |
| CPU | 9.6-13 |
| the official FP8 checkpoint, CUDA / CPU | 17-61 / 7.1-10.8 |
| ISTA-DASLab GSQ-RCO IQ3_XXS, CUDA / Vulkan | 105-132 / 79-80 |
| ISTA-DASLab GSQ-RCO IQ2_S, CUDA | 118-140 |
- ISTA-DASLab's GSQ-RCO GGUFs import from their folder as downloaded:
coli importlinks the n-gram table they ship once for every build inngram/. - DFlash2: RadixArk's drafter, 1.73 tokens a forward against the MTP head's 1.59 (3.54 against 2.06 on code).
Pictures on the GPU
- The CUDA and Vulkan chains turn a picture's rows by Qwen4's interleaved 3D positions, so a request with a picture keeps its prompt and its answer on the card: a 448 x 448 picture's first token in 0.6 s instead of 66-73, a 1920 x 1080 one in 2.9 s, the same words as the CPU's.
- The Qwen vision towers (Qwen3.6 and Qwen4) run their blocks on the CUDA card one after the other, the next block's weights crossing while one computes: a 1280 x 960 picture's first token in 1.9 s instead of 14.2.
- Qwen pictures go to 2048 tokens unless
Q36_MAX_IMAGE_TOKENS/Q38_MAX_IMAGE_TOKENSsays otherwise: a 12-megapixel photo's first token in 2.9 s, where a 2560 x 1920 picture had taken 293 s beside a full expert tier.
Fixed: v2.3.0's KV plan on smaller cards
- A dense model's trunk (#3249): the whole context's KV mirrors were taken out of the CUDA tier's allowance before the trunk, so Qwen3.8-27B at 32768 positions on a 10 GB card left trunk matrices on the CPU and turned the chain and the MTP head off (54.6 -> 10.0 tok/s). The trunk now comes first: 44 tok/s against 13 with 8.9 GB free.
- Places for other conversations (#3247): with
--kv-slotsabove 1, the places that keep a whole context took half of the card's free memory before the experts. A card short of its experts now keeps the experts and room for long prompts: Qwen3.6 at--kv-slots 8with 15 GB free decodes at 57-62 tok/s with CUDA (48-55 in v2.3.0) and 58-63 with Vulkan (38-49); with the whole card, 98-102 with CUDA and 79-90 with Vulkan (58-60 and 54-62). - The Vulkan frame governor (#3247):
COLI_VK_FRAME_MSdefaults to 1500 and steps back up under half of it, so a slow card's prompt frames no longer stay at their smallest after the first long prompt.
COLI_KV_PLAN=0 and COLI_VK_FRAME_MS=1500 are no longer needed for these cases.
From contributors
- Qwen4-35B-A3B support (KairaCode, #3240): the model, DFlash2's auto-causal drafter, and CUDA chain work (split-K partials on by default);
indexed_attentionlayers (#3269), theqwen4pre-tokenizer (#3270), drafter configs that do not fit their target refused (#3268), the official FP8 checkpoint (#3260). - Qwen4's vision (mstekh, #3275): the tower from an mmproj, the interleaved M-RoPE.
- Qwen4 against the official model (Anionex): fused GGUF rows checked against the official Qwen4Moe (#3264), and the next attention mix for causal DFlash2 (#3263).
- The chain's reserve as a plan (kreuzzelg, #3252, #3253), lowered until it fits, and the official FP8 checkpoint (#3256).
Thanks
To KairaCode, mstekh, Anionex and kreuzzelg for the pull requests, and to Haukr777 and slavikdenis for the reports and measurements that found v2.3.0's regressions (#3247, #3248, #3249).