qwenFS: Exact Paging, Drifting Text, Not Worth Adopting

An independent check of the public repo vixhal-baraiya/qwenFS on Qwen3.5-2B, M1 Pro, 32 GB found exact paging but drifting text, and merged decode runs at 11.45 / 23.45 = 0.49x of plain, so it is not worth adopting.

FILES: EXACTFrom disk, fresh session,merged model.forced tokens5989/5989reads47/47 TEXT: DRIFTSGreedy decode of one 512-tokenprompt, MPS bf16.positions that match21/256splits at token 20 COST: RISESQwen3.5-2B, M1 Pro, 32 GB,MPS bf16, merged / plain.decode11.45 / 23.45 = 0.49xmemory11,228 / 4,413 = 2.54x01x = plain3x
Fig. 1. The files are exact, the text drifts, the cost rises. Speed and memory are for Qwen3.5-2B on M1 Pro, 32 GB, MPS bf16.

Every forced-token and read count reproduced

Standalone circuitforced tokens, readsseed 06308/6308, 70/70seed 16372/6372, 70/70all 128 files5355/5355, 23/23from disk5989/5989, 47/4706372 forced tokens Merged modelforced tokens, reads9,484-token session4201/4201, 50/50--files 63576/3576, 44/44128 files, one prefill5355/5355no read countcircuit seed 06308/6308, 70/70from disk5989/5989, 47/4706372 forced tokens
Fig. 2. Every forced-token and read count matches the README, on the standalone circuit and in the merged model. --files 6 is this run's guess at the session the README meant.

Without paging, the counts fall

With pagingFrom disk, fresh session.Bar = share of the total.forced tokens5989/5989reads47/47 Control: no pagingControl without paging.Bar = share of the total.forced tokens1802/5989reads34/47
Fig. 3. From disk in a fresh session, paging gives 5989/5989 forced tokens and 47/47 reads. The control without paging gets 1802/5989 and 34/47.

Mean KL on varied text is above the README

MPS bf16mean KL, plain vs mergedREADME 2.5e-3their 4 texts2.41e-3139 positionsvaried text1.66e-239 prompts, 5,910 positions01.66e-21.66e-2 / 2.5e-3 = 6.6x CPU fp32mean KL, plain vs mergedREADME 2.5e-3their 4 texts2.12e-3139 positionsfirst 12 prompts8.30e-31,762 positions01.66e-2prompt sets differ: 39 vs 12
Fig. 4. Mean KL on varied text is above the README's 2.5e-3 in both setups. The panels use different prompt sets (39 prompts vs the first 12), so the gap between panels is not a pure device effect.

Top-1 agreement drops on varied text

MPS bf16top-1 agreement, plain vs mergedvaried text96.3%5692/5910 positionstheir 4 texts138/139139 positionsREADME: all 139050%100% CPU fp32top-1 agreement, plain vs mergedfirst 12 prompts96.4%1699/1762 positionstheir 4 texts139/139139 positionsREADME: all 139050%100%
Fig. 5. Top-1 agreement between plain and merged. MPS bf16 over 5,910 positions of varied text gets 5692/5910 = 96.3%; on their 4 texts (139 positions) it gets 138/139, where the README claims all 139. CPU fp32 over 1,762 positions (first 12 prompts) gets 1699/1762 = 96.4%.

Code and math drift the most

MPS bf16: highestmean KL, plain vs mergedcode2.28e-21,625 positions, top-1 1592/1625math1.94e-21,004 positions, top-1 973/1004non-English1.53e-2560 positions, top-1 533/56002.28e-2 MPS bf16: lowermean KL, plain vs mergedprose1.28e-2824 positions, top-1 778/824lists/markdown1.20e-2387 positions, top-1 375/387chat1.19e-21,510 positions, top-1 1441/151002.28e-2
Fig. 6. Mean KL by category on MPS bf16 (5,910 positions in all), sorted high to low on one scale. Code and math drift the most.

Most disagreements are near-ties, some are real changes

218 disagreementsMPS bf16, 5,910 positions,by plain log-prob gap168 near-ties (gap ≤ 0.2)41 (gap 0.3 to 0.9)9 real changes (gap ≥ 1.0) Example: arithmetictext so far89 + 111 =plainmerged34log-prob gap 3.9 Example: arithmetic stepat that point in the textplainmerged06 Example: C codetext so farNode *n = malloc(sizeof *plainmerged(Node Example: end tokenat that point in the textplainmergedwould not emit<|im_end|>
Fig. 7. Of 218 top-1 disagreements (MPS bf16, 5,910 positions), 168 are near-ties and 9 are real changes. The gap is the plain model's own log-prob gap between its top-1 and the merged model's top-1. The four small panels are examples, 4 of the 9 changes with gap ≥ 1.0, not the full list.

FS tokens never won top-1, but they can hold real mass

MPS bf16share of probability mass onFS tokens, 5,910 positionsmean share2.5e-3too thin to seemax share0.41801 CPU fp32share of probability mass onFS tokens, 1,762 positionsmean share2.3e-3too thin to seemax share0.41401
Fig. 8. In no case did an FS token win top-1. At some ordinary-text positions the mass reaches about 42%, so a sampler could emit one.

Rounding does not explain the drift

CPU fp32, 882 positionsfirst 6 prompts, mean KLbf16 gain rounding only1.82e-6too small to see at this scaletop-1 882/882rest of the merge8.28e-3top-1 853/882total8.29e-3top-1 853/882noise floor (plain, MPS)3.05e-4plain fp32 vs plain bf16 (MPS)top-1 872/88208.29e-3 The mathmean KL, CPU fp32, 882 positionsrounding share of total1.82e-6 / 8.29e-3 = 0.02%too small to seescale 0 to 100%rest of merge vs noise floor8.28e-3 / 3.05e-4 = 27x030xline at 1x = noise floor, whichis plain fp32 vs plain bf16 (MPS)
Fig. 9. In CPU fp32 over 882 positions (first 6 prompts), bf16 gain rounding adds 1.82e-6 of mean KL. The rest of the merge adds 8.28e-3, about 27x the ordinary bf16 noise floor (plain fp32 vs plain bf16, measured on MPS).

This run did not localize the cause. The report lists these as candidates only:

  • the "EPS-sized" output code left in the residual;
  • the RMSNorm eps acting on a mean taken over 4096 dims instead of 2048;
  • any FS dims not exactly cleared before Qwen's layers.

Speed on Qwen3.5-2B, M1 Pro, 32 GB: merged decode is about half as fast

Decode speedQwen3.5-2B, M1 Pro, 32 GB,MPS bf16, median of 3 runsREADME: about 20plain23.45 tok/smerged11.45 tok/s025 tok/s11.45 / 23.45 = 0.49x Prefill speedQwen3.5-2B, M1 Pro, 32 GB,MPS bf16, median of 3 runsplain519.9 tok/smerged218.5 tok/s0600 tok/s218.5 / 519.9 = 0.42x
Fig. 10. Qwen3.5-2B on M1 Pro, 32 GB, MPS bf16, 512-token prefill + 256-token greedy decode, 3 runs, medians. Merged decode is 11.45 / 23.45 = 0.49x of plain, below the README's "about 20" tok/s. Each panel has its own zero-based scale.

Memory and size rise by 2x to 2.6x

MemoryQwen3.5-2B, M1 Pro, 32 GB,MPS bf16, merged / plainMPS driver peak2.54x11,228 / 4,413 = 2.54x01x = plain3x SizeQwen3.5-2B, merged / plainparameters2.58x4.857 / 1.882 = 2.58xon disk2.13x9,499,340 / 4,464,224 KB = 2.13x01x = plain3x
Fig. 11. On Qwen3.5-2B, M1 Pro, 32 GB, MPS bf16, the merged model's MPS driver peak is 2.54x of plain. It also has 2.58x the parameters and takes 2.13x the disk.

The scenario eval held up

No doc3 seeds, 57 turnsturns, scale 0 to 57README49/57measured57/57scenarios, scale 0 to 21README17/21measured21/21unneeded calls, scale 0 to 40README40measured15 With doc3 seeds, 57 turnsturns, scale 0 to 57README57/57measured57/57scenarios, scale 0 to 21README21/21measured21/21unneeded calls, scale 0 to 40README0measured0
Fig. 12. Scenario eval: 3 seeds, 57 turns, temperature 0.7, with a keyword-match pass check. This run did not check why its no-doc result beat the README's.

Verdict

The paging is exact, but the merged model's generated text drifts and its costs rise, so qwenFS is not worth adopting.

README claims against measured results

README claim Measured Status
Circuit, seed 0: 6308/6308 forced, 70/70 6308/6308, 70/70 (14,268-token session) match
Circuit, seed 1: 6372/6372 forced, 70/70 6372/6372, 70/70 (14,521 tokens) match
All 128 files: 5355/5355 5355/5355 prefill, 23/23 reads exact (generate) match
From disk, fresh session: 5989/5989, 47/47 5989/5989, 47/47 (standalone and merged); control without paging 1802/5989, 34/47; save over mount twice "unchanged" match
Merged: exact on 9,484-token session 9,484 tokens: 4201/4201 prefill, 50/50 reads (generate) match
Merged: exact on 6-file session --files 6: 8,108 tokens, 3576/3576, 44/44 (this run's guess at which session the README meant) match
Merged: 128-file session in one prefill 5355/5355 match
(extra) Merged, circuit seed 0 session 6308/6308, 70/70 match
Qwen's text: top-1 unchanged at all 139 positions Their test on MPS: 138/139. Same texts in this run: 138/139 (MPS bf16), 139/139 (CPU fp32) mismatch (1 position)
KL about 2.5e-3 Their 139 positions: 2.51e-3 (their test), 2.41e-3 (MPS bf16), 2.12e-3 (CPU fp32). Varied text: 1.66e-2 (MPS bf16, 5,910 positions), 8.30e-3 (CPU fp32, first 12 prompts, 1,762 positions) match on their texts, mismatch in general
KL is "from rounding the rescaled norm gains to bf16" Rounding alone: KL 1.82e-6, top-1 882/882 (CPU fp32, 882 positions). Rest of the design: KL 8.28e-3 (CPU fp32, 882 positions) mismatch
No doc: 49/57 turns, 17/21 scenarios, 40 unneeded calls 57/57, 21/21, 15 mismatch, better
With doc: 57/57, 21/21, 0 57/57, 21/21, 0 match
TUI test 27/27 checks match
About 20 tok/s on MPS Qwen3.5-2B, M1 Pro, 32 GB, MPS bf16: merged decode 11.45 tok/s (plain 23.45) mismatch
About 16 GB free memory needed MPS driver peak 11.2 GB at a 512+256 run; merge step peak RSS 17.2 GB; peak system use during tests left at least 34% free roughly consistent

Setup and sources

  • Machine: M1 Pro, 32 GB, macOS 26.5.2, MPS.
  • Software: torch 2.15.0, transformers 5.22.1, no causal_conv1d or flash-linear-attention (PyTorch fallback kernels). Their code was not modified.
  • Run date: 2026-11-04.
  • Fidelity text is teacher-forced with no tool calls, 39 prompts.
  • Source: vixhal-baraiya/qwenFS at b12435435232a09fb447089b5fa0fff2f5c69506.

Tags: Local inference Benchmarks Evaluation

All ship logs