mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #541] DeepSeek-V4.1-Flash GSQ-RCO IQ2_XS vs Maya-S on Strix Halo + 2x RX 7900 XTX: decode 41.3 → 56.8 tok/s (+38 %), 130K prompt 1,291 → 1,387 tok/s, same engine, 512K context #222
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pepuscz on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/541
A follow-up to #510, on the same Strix Halo machine (Ryzen AI Max+ 395, Radeon 8060S) with 2x RX 7900 XTX, the same engine and the same settings, at a 512K context window. Only the quant changes: ISTA-DASLab's GSQ-RCO IQ2_XS instead of Maya-S. On
--benchit decodes 38 % faster (41.3 → 56.8 tok/s), and a 130K-token prompt is read 7 % faster (1,291 → 1,387 tok/s).Model
DeepSeek-V4.1-Flash-1017 GSQ-RCO IQ2_XS from ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF (revision
653a9874): 155 GB in 4 shards, IQ2_XXS / IQ2_XS / IQ2_S experts, its dense matrices in Q5_K. Also loaded:276e0bad), as the GSQ GGUF carries none.The comparison is Maya-S (178 GB, revision
26c6aeaf) with unsloth's UD-Q8_K_XL Engram shard, exactly as in #510.Version
739f651, tagmaya-ds4-gsq-512k-20261027. The same build for both quants.mainsince: the DSpark geometry the GGUF leaves out ofds4.txt(your fix for #500), and the dense matrices: v1.1.28's DS4 loader reads them as BF16 / Q8_0 only, so we converted the 524 Q5_K matrices (attention projections, shared experts,engram_wkv, embedding, head; 5.3 GB) to Q8_0 at pack time (8.2 GB, converter). v1.1.30 reads Q5_K dense matrices directly; we will re-measure on it.Ansible. The setup is the recipe
maya-ds4-gsq-dual-xtx-512k.ymlin strix-halo-llm v2.4.0 (how to run it). It was installed from scratch, from public sources only, on the Strix Halo machine before these measurements. Our measurements are inbenchmarks/results.json(systems/maya-ds4-gsq-dual-xtx) anddocs/BENCHMARKS.md.Hardware, environment, setup
All as in #510: 2x RX 7900 XTX on PCIe 4.0 x4 each, the 8060S as the expert helper with a 95 GB pool, the model on a USB4 NVMe; Ubuntu 26.04, ROCm 7.2.4, rocBLAS with rocm-libraries#4781;
--tp 2, 512K context, the same configenv(#510's details block), only the pack path differs.Result:
--benchMaya's
--benchprocedure (v1.1.28's), the same token ids for both quants, one load each, the fans held at full speed.Result: a 130K-token prompt
The same 130,048-token code prompt as #410 and #510; 768 tokens written cold, then again with 130,047 tokens cached.
Retrieval on the same setup: all 55 values at 11 prompt lengths from 2K to 480K, and 5/5 in a 520,000-token needle, at the 512K context.
Suggested README row
Quality
On our side, same window, same engine: perplexity on 23 sequences of 2,048 tokens 7.3715 (GSQ-RCO IQ2_XS) against 7.2543 (Maya-S), +1.6 %; and on the Lucebox coding / GSM8K / math cases 29/30 against 30/30 (the miss: math_10 unrolled a recursion to its 4,096-token cap). The GSQ-RCO card reports 99.8 % task recovery at reasoning effort 50; the Maya-S card reports 92.6 % same top token and +3.2 % NLL against the original.
A question: how do the two compare on your own quality measurements - top-1 agreement and NLL against the original, as on the Maya-S card? We measure GSQ-RCO IQ2_XS within 2 % of Maya-S in perplexity at 38 % more decode on this hardware, and would like to know whether that holds against the original model before we recommend it over Maya-S.
🤖 Generated with Claude Code
@pepuscz commented on GitHub (Oct 27, 2026):
A note on the Q8_0 conversion in this report. v1.1.28 + #511-#519 reads DS4 dense matrices as BF16 / Q8_0 only, so the GSQ-RCO GGUF's 524 Q5_K dense matrices (attention projections, shared experts,
engram_wkv, embedding, head) were converted to Q8_0 at pack time: 5.3 GB → 8.2 GB.That costs something on this hardware. Apart from the embedding (host RAM), those matrices sit on the cards: about +1.4 GB of VRAM per 24 GB card, room that would otherwise hold expert slices. And decode reads about 55 % more bytes of them per token. Our rough estimate is a few percent of decode, not measured; Q8_0's tuned kernels may win some of it back.
v1.1.30 reads Q5_K dense matrices directly. Once the series is on v1.1.30 we will measure GSQ-RCO IQ2_XS with its native Q5_K matrices against the Q8_0 conversion, on the same box and settings, and post the result here.
@mw00 commented on GitHub (Oct 27, 2026):
Thank you for the side-by-side on the same box and engine. GSQ-RCO isn't in Maya's model picker and won't be added, but Maya runs it as it is: point the setup at its folder with
--model-dir. So your numbers stay here for anyone who wants to try it. The nine PRs you measured with (#511-#519) shipped in v1.1.31.On quality, from our own measurements against the full-precision model on the same text: Maya-S stays closer to the original (KL about 0.12) than GSQ-RCO IQ2_XS (about 0.26). IQ2_XS is smaller, which is where its decode speed comes from, so it's a speed-for-fidelity trade rather than a free win. Closing this one; thanks again for the careful report.