Qwen3.8-Flash-Next Brisk-Coder (oQ4e, MTP)
Brisk with half of the experts removed, using the RCO Coder expert mask published by ISTA-DASLab. ISTA chose which 256 of the 512 experts per layer to keep for code, agentic use and vision, and published the list. I applied their list to my 4-bit MLX weights and kept everything else from Brisk: the weight edit against the "Wait, let me reconsider…" loops, the LoRA that stops thinking once the answer works, and the full MTP head. The routed experts take half the memory: about 44 GB with the n-gram table left on SSD instead of about 86 GB for Brisk, or 79 GB with everything in RAM, which is what oMLX does on a 128 GB Mac. Speed is the same as Brisk.
This is a coding model. Outside code it is clearly worse than Brisk (MMLU 89 → 77 % in English), and Polish chat is broken; other languages are probably affected too, but I did not test them. See Limitations.
At a glance
| Built from | blazkepa/Qwen3.8-Flash-Next-Brisk-oQ4e-MTP + the expert mask from ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF (tensor-allocation/*.rco-allocation.txt) |
| What changed vs Brisk | in every one of the 48 layers the routed experts and the matching router rows not in ISTA's list are removed (512 → 256, top-10 routing unchanged); the remaining experts are byte-identical, nothing is re-quantised; attention, Gated DeltaNet, shared expert, n-gram table and vision tower are byte-identical to Brisk |
| MTP head | kept whole (its own 512 experts, 1.7 GB, byte-identical to Brisk) in model-mtp.safetensors; config.json sets mtp_num_experts: 512 |
| On disk / in memory | 79 GB / all of it in RAM in oMLX on a 128 GB Mac (oMLX shows 74 GiB; it keeps everything resident when it fits). With the n-gram table on SSD, as oMLX does when the model does not fit, about 44 GB: an estimate from a measurement outside oMLX, not measured in oMLX |
| Speed | single stream, MTP on, warm: 116 tok/s short context, 88 tok/s at 19 k context (Brisk 112 / 88); without MTP 70 / 62; draft acceptance 91 % / 86 %; measured fully resident, while Brisk runs with its n-gram table on SSD |
| Tested with | oMLX 0.8.0 (macOS app), MacBook Pro M5 Max 128 GB, macOS 26 |
expert_mask.json lists the kept experts per layer. I checked them against ISTA's allocation file: 12 288 of 12 288 indices match.
Run it
oMLX on Apple Silicon, installed as on the norev card; tested only on 0.8.0. I only ran it on a
128 GB Mac. On 64 GB oMLX should move the n-gram table to SSD and it may fit with one request at a time; I have not tried it and do not
know the speed in that mode. The separate MTP expert count (mtp_num_experts) is read by the Qwen4-Exp code in oMLX 0.8.0; older
versions and other loaders may not know it.
hf download blazkepa/Qwen3.8-Flash-Next-Brisk-Coder-oQ4e-MTP \
--local-dir ~/.omlx/models/blazkepa/Qwen3.8-Flash-Next-Brisk-Coder-oQ4e-MTP
omlx restart # new model directories are picked up at start; the folder name is the model id
Meant to be used with thinking on. My thinking runs used temperature 0.6 / top_p 0.95 / top_k 20; generation_config.json keeps
Qwen's 1.0, which I did not test on this model.
Results
Same setup as on the norev and Brisk cards: one machine, oMLX, a fixed 100-task subset of LiveCodeBench release_v6 (23 easy / 31 medium / 46 hard, contests 2025-02-15 … 04-06; the tasks predate the model, so possibly contaminated), my own harness. These numbers are not comparable with ISTA's LiveCodeBench score, which uses their own setup; only the differences between the rows matter.
Thinking mode, xhigh, temperature 0.6 / top_p 0.95 / top_k 20, 32 768 tokens, oMLX 0.8.0, one run each:
| pass@1 | easy / medium / hard | hit token limit | total tokens | |
|---|---|---|---|---|
| base + ISTA mask | 68 | 23 / 29 / 16 | 29 | 1.66 M |
| norev + ISTA mask | 74 | 23 / 29 / 22 | 23 | 1.46 M |
| this model (Brisk + ISTA mask) | 77 | 23 / 28 / 26 | 19 | 1.31 M |
| for scale, all 512 experts (base and norev on oMLX 0.7.4): base | 63 | 23 / 25 / 15 | 33 | 1.71 M |
| norev | 69 | 23 / 28 / 18 | 28 | 1.47 M |
| Brisk, two runs | 75 / 78 | 22–23 / 28–29 / 25–26 | 20 / 17 | 1.32 / 1.30 M |
The thinking runs of the masked models were made before the MTP head was added back. With greedy decoding the output with and without MTP is byte-identical (3 prompts × 768 tokens), so I did not repeat them. The 68 vs 63 is not evidence that the mask helps: 8 / 3 on tasks (p = 0.23), on different oMLX versions.
Paired on tasks against base + ISTA mask: this model +10 / −1 (sign test p = 0.012), all ten gains on hard tasks; on the 67 tasks both solve it uses 34 % fewer tokens. Ten tasks hit the limit only with the mask alone, none only with this model. The single loss is a medium task where the model thought for under 500 tokens and wrote wrong logic, the same kind of failure as on the Brisk card. Most of the gain comes from norev (74 with the mask); the LoRA adds 74 → 77 (+5 / −2, p = 0.45), within noise on its own. Against Brisk with all experts: +5 / −3 and +4 / −5, i.e. no difference I can see.
Without thinking, greedy, 8 192 tokens, measured earlier on norev + ISTA mask (not on this model): 53 of 100, same as norev with all experts, with 11 instead of 23 answers at the limit and 43 % fewer tokens. The stop LoRA made Brisk's non-thinking answers about 38 % longer (see the Brisk card), so expect this model to be somewhere in between; I did not measure it.
Limitations
- Languages and general knowledge. ISTA's mask was calibrated on code, agentic and vision data. On norev + mask: MMLU (399 English questions) 89.0 % → 77.4 %, MMLU translated to Polish 86.0 % → 68.4 %. In Polish chat the model answers in English or falls into repetition loops. I did not test other languages.
- One thinking run per variant; Brisk's two runs differ by 3 points, so treat single differences of a few points as noise. The paired comparison above is the stronger evidence.
- This is ISTA's expert selection on my 4-bit oQ4e weights, not their GGUF (GSQ, about 1.9 bits per original weight; 58 GB on disk, about 30 GB resident). I did not measure their model.
- Agentic use, SWE-bench-style tasks and vision are untested.
- One quantisation, one machine, temperature 0.6 instead of Qwen's 1.0 in thinking mode.
Provenance, credit and license
Qwen/Qwen3.8-Flash-Next (Qwen Team) → GBP-DE/Qwen3.8-Flash-Next-oQ4e-WLSRefit-MTP (revision 8a284d64) →
norev (weight edit, no training) →
Brisk (LoRA trained on norev's own outputs, merged) → this repository
(expert mask applied, MTP head kept).
The expert selection is the work of ISTA-DASLab: RCO (arXiv 2605.00649,
github.com/IST-DASLab/RCO), published with their
Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF release (the repository is tagged
Apache-2.0). All I did was apply it to these weights; expert_mask.json is derived from their allocation file. Thank you for publishing the allocation file.
In expert_mask.json, mtp_dropped: true and bytes_after describe the masking step, which removed the MTP head; the mtp_* fields
record that it was then added back whole. ablation.json is the norev edit report (unchanged); the LoRA merge report is on the Brisk
repository. checksums.sha256 lists the SHA-256 of every file. The masking and MTP scripts and the LiveCodeBench results are on
github.com/blazkepa/flash-next-norev.
Qwen Community License 1.0, the license file of the original model is included unchanged.