mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #427] Speed report: RTX 3090 + Ryzen 7 7700 (DDR5), unsloth UD-IQ4_XS: MISS_SKIP + DEFER_CPU + ROUTE_AFFINITY stack to +66% on one GPU #172
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#172
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 @ConnorJ on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/427
A speed report from a single-GPU box, with one finding that may be new: three existing opt-in settings stack more than additively here. DEFER_CPU and ROUTE_AFFINITY come from #252, and #302 measured affinity on 4× 3090. So the stacking and a quality caveat are the only parts that add anything.
Setup
8ceadd7), Ubuntu 24.04, kernel 6.8, driver 595.99, CUDA 12.6.--gguf-dir.--kv-streaming on,MAYA_GLM_RAM_GB=116(fixed so the other model keeps RAM). The tiers come out at 12.95 GB of VRAM (27–41 slots per layer) and a 115.98 GB RAM tier../maya.sh --bench(greedy, thinking off, 3 × 256 tokens), one config at a time:STRATA_GLM_MISS_SKIP_W=0.12STRATA_GLM_MISS_SKIP_FROM=23STRATA_GLM_ROUTE_AFFINITY=0.02STRATA_GLM_DEFER_CPU=1A second harness (review / code / prose answers of 1.5–2.5K tokens, temperature 1.0, reasoning effort low). Four identical baselines agreed within ±0.3%:
DEFER_CPU=1aloneROUTE_AFFINITY=0.02aloneDEFER_CPU+ROUTE_AFFINITYMISS_SKIP_W0.10 / 0.12 / 0.14 (FROM23)How I read it. On this box the CPU lane paces decode: about 44 ms of an 85 ms token, for about 100 missed experts. MISS_SKIP and AFFINITY both shrink the CPU's share, to about 79 experts and 32 ms with the skip alone. Once that work is small enough, DEFER_CPU can hide what is left behind the next layer's GPU work. On its own it has little to hide behind (+6%). So DEFER only pays once the other two are on.
Quality caveat. I ran two code-review and debugging probes of my own, 3 runs each, at temperature 1.0. It is a small sample, so read it as a signal rather than a measurement.
I run MISS_SKIP alone. I haven't measured KL on this file.
Other results:
CPU_LANE6 or 7,KDA_GRAPH=1, the prefetch settings,CKPT_EVERY=0, and 64K context (all within ±0.5%).MTP_DECODE=1on one GPU: −13%.--calibrate: found the default PCIe share (0.52) best. PCIe share 0 was −25%.Two optional ideas. Feel free to ignore.
route_affinity/defer_cpu, likemiss_skip_winstrata_tune. A server could then stay exact by default and let clients opt in.--gguf-dirpacks, the pack-time line "dropped 26 tensors of blk.45+ (the runner skips MTP…)" reads as "no MTP for this file", even though the split loads blk.45 from the shards.Measured and written up with Claude Code; the numbers are from my machine.
maya-report.txt (defaults run)
@mw00 commented on GitHub (Oct 27, 2026):
Thank you for the careful stacking test, and for checking quality instead of trusting the speed alone. Your measurements stay here for anyone tuning a single GPU, with your caveat: the three switches together changed answers in your probes, so
MISS_SKIPalone is the safer choice. The per-request switch and the misleading pack-time MTP line are noted. Closing as done.