[GH-ISSUE #604] Qwen3.8-Flash-Next (CYBER-FROST) decodes ~40% slower on Maya than on Strata 0.2.7 with the same weights: the Qwen engine is still 0.1.27 (last synced from Strata 0.1.41, v1.0.13) #249

Open
opened 2026-10-29 21:23:14 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @talisp on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/604

In short: on one 48 GB GPU, Maya v1.1.34 decodes CYBER-FROST-3.8-PS at 78.9 tok/s on average, and Strata 0.2.7 decodes the same weights at 134.7 tok/s. That's 1.7x, same box and same draft window. Per generated token both engines do the same work (expert lookups, cache hit rate, drafts accepted), so the gap is in how fast the engine runs each step, not in what it runs. Maya's Qwen engine is 0.1.27 (CMakeLists.txt), last synced from Strata 0.1.41 in v1.0.13 (2026-10-08); Strata's is 0.1.52 now.

What we'd ask: bring the Qwen engine's decode path up to date with Strata's. Maya reads long prompts faster than Strata here (3,780 vs 2,740 tok/s at 190K tokens), so that part is worth keeping.

The full numbers are in #577 (comment). Strata doesn't load the published GGUF as is (it keeps the NextN layer inside); we ran it there on a copy with only the header changed, the tensor data byte-identical (Niko1221/Strata#4449).


Numbers (one start per row, page cache dropped before each)

Decode is the mean of six code prompts (600 tokens each, temperature 0); prompts of 11.4K, 46.9K and 190.4K tokens.

Engine Decode tok/s Draft acceptance Prompt 11.4K / 46.9K / 190.4K tok/s
Maya v1.1.34 (engine 0.1.27), the setup's config 84.23 / 69.15 / 80.98 / 81.32 (mean 78.9) 71-73% 1,871-2,259 / 3,600-3,696 / 3,774-3,788
Strata 0.2.7 (engine 0.1.52), base Qwen MTP 133.18 / 134.45 71-72% 2,203 / 2,883 / 2,742
Strata 0.2.7, the fine-tune's own MTP 136.17 / 134.83 79-80% 2,212 / 2,886 / 2,743

(The fourth Maya run, 81.32, had --ple-row-cache 320001536, the whole table.)

What we ruled out on Maya

  • The PLE (n-gram) table reads. Strata locks the 26.8 GiB table in RAM (--ple-io ram). On Maya, a row cache as big as the table gave 81.32, the same as without it. --ple-io mmap was slower with a cold cache: 62.2 and 70.6.
  • The KV format. Maya's setup uses int8 and Strata fp16. --kv fp16 on Maya gave 61.8 (with mmap), no better.
  • The expert cache. Hit rate in decode: Maya 92.8-94.6%, Strata 88.4-93.7%. Expert lookups per generated token: Maya 536-624, Strata 544-635. Maya holds 10,882 experts in VRAM (32.2 GiB) against Strata's 11,667 (34.5 GiB), a 7% difference that can't explain 1.7x.
  • The draft. Both use a window of up to 6 tokens (--spec 4) and accept ~71% with the same MTP layer.

Also seen

  • Maya's run-to-run spread is wider (69-84 against 133-136); the slow start had three prompts at 50-54 tok/s.
  • The fine-tune's own MTP (Maya's extract from blk.48) drafts better than the base Qwen MTP on Strata (79.5% vs 71.5% accepted), but decode stays about the same there.

Setup

1× NVIDIA L40S-48Q (vGPU, 48 GB, sm_89), Xeon Platinum 8580 VM (32 vCPUs, no SMT), ~504 GB RAM, Ubuntu 22.04, Linux 6.8, CUDA 12.9.

  • Model: CYBER-FROST-3.8-PS-GUFF Q5_K_M (peasantsmith/CYBER-FROST-3.8-PS-GUFF @32867bb, 112.5 GB, one file).
  • Maya: maya-cyber-frost.json as the v1.1.34 setup wrote it: --spec 4 --prefill auto --expert-cache auto --max-context 262144 --kv int8 --mtp <pack>/mtp --expert-profile <pack>/expert-profile.bin.
  • Strata: --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv fp16 --kv-resident 32768 --conversation-cache-mib 32768 --conversation-cache-slots 4 --conversation-cache-min-tokens 4000 --vram-reserve-mib 700, STRATA_ROUTE_TAIL_SKIP=0.
  • v1.1.35 changes Qwen only for three or more GPUs, so one GPU should be the same there.
Originally created by @talisp on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/604 **In short:** on one 48 GB GPU, Maya v1.1.34 decodes CYBER-FROST-3.8-PS at **78.9 tok/s** on average, and Strata 0.2.7 decodes the same weights at **134.7 tok/s**. That's 1.7x, same box and same draft window. Per generated token both engines do the same work (expert lookups, cache hit rate, drafts accepted), so the gap is in how fast the engine runs each step, not in what it runs. Maya's Qwen engine is 0.1.27 (`CMakeLists.txt`), last synced from Strata 0.1.41 in v1.0.13 (2026-10-08); Strata's is 0.1.52 now. **What we'd ask:** bring the Qwen engine's decode path up to date with Strata's. Maya reads long prompts faster than Strata here (3,780 vs 2,740 tok/s at 190K tokens), so that part is worth keeping. The full numbers are in #577 (comment). Strata doesn't load the published GGUF as is (it keeps the NextN layer inside); we ran it there on a copy with only the header changed, the tensor data byte-identical (Niko1221/Strata#4449). --- ### Numbers (one start per row, page cache dropped before each) Decode is the mean of six code prompts (600 tokens each, temperature 0); prompts of 11.4K, 46.9K and 190.4K tokens. | Engine | Decode tok/s | Draft acceptance | Prompt 11.4K / 46.9K / 190.4K tok/s | |---|---|---|---| | Maya v1.1.34 (engine 0.1.27), the setup's config | 84.23 / 69.15 / 80.98 / 81.32 (mean 78.9) | 71-73% | 1,871-2,259 / 3,600-3,696 / 3,774-3,788 | | Strata 0.2.7 (engine 0.1.52), base Qwen MTP | 133.18 / 134.45 | 71-72% | 2,203 / 2,883 / 2,742 | | Strata 0.2.7, the fine-tune's own MTP | 136.17 / 134.83 | 79-80% | 2,212 / 2,886 / 2,743 | (The fourth Maya run, 81.32, had `--ple-row-cache 320001536`, the whole table.) ### What we ruled out on Maya - **The PLE (n-gram) table reads.** Strata locks the 26.8 GiB table in RAM (`--ple-io ram`). On Maya, a row cache as big as the table gave 81.32, the same as without it. `--ple-io mmap` was slower with a cold cache: 62.2 and 70.6. - **The KV format.** Maya's setup uses int8 and Strata fp16. `--kv fp16` on Maya gave 61.8 (with mmap), no better. - **The expert cache.** Hit rate in decode: Maya 92.8-94.6%, Strata 88.4-93.7%. Expert lookups per generated token: Maya 536-624, Strata 544-635. Maya holds 10,882 experts in VRAM (32.2 GiB) against Strata's 11,667 (34.5 GiB), a 7% difference that can't explain 1.7x. - **The draft.** Both use a window of up to 6 tokens (`--spec 4`) and accept ~71% with the same MTP layer. ### Also seen - **Maya's run-to-run spread** is wider (69-84 against 133-136); the slow start had three prompts at 50-54 tok/s. - **The fine-tune's own MTP** (Maya's extract from `blk.48`) drafts better than the base Qwen MTP on Strata (79.5% vs 71.5% accepted), but decode stays about the same there. ### Setup 1× NVIDIA L40S-48Q (vGPU, 48 GB, sm_89), Xeon Platinum 8580 VM (32 vCPUs, no SMT), ~504 GB RAM, Ubuntu 22.04, Linux 6.8, CUDA 12.9. - **Model:** CYBER-FROST-3.8-PS-GUFF Q5_K_M (peasantsmith/CYBER-FROST-3.8-PS-GUFF @32867bb, 112.5 GB, one file). - **Maya:** `maya-cyber-frost.json` as the v1.1.34 setup wrote it: `--spec 4 --prefill auto --expert-cache auto --max-context 262144 --kv int8 --mtp <pack>/mtp --expert-profile <pack>/expert-profile.bin`. - **Strata:** `--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv fp16 --kv-resident 32768 --conversation-cache-mib 32768 --conversation-cache-slots 4 --conversation-cache-min-tokens 4000 --vram-reserve-mib 700`, `STRATA_ROUTE_TAIL_SKIP=0`. - **v1.1.35** changes Qwen only for three or more GPUs, so one GPU should be the same there.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#249
No description provided.