mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #272] Single L40S-48Q (vGPU) + Xeon 8580, unsloth UD-Q5_K_XL, 512K ctx, KV int8: decode ~21 tok/s - is this the ceiling, or is something mis-tuned? #101
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#101
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 @talisp on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/272
Summary
One 48 GB vGPU, 251 GiB RAM, unsloth's UD-Q5_K_XL (225 GB of experts). Decode is a steady 20-25 tok/s. Before the install we hoped for 50+ tok/s. After reading the speed reports here (#218, #260), we suspect ~21 tok/s is close to what this machine and quant can do. We would like to confirm that, and learn what is still worth tuning.
The numbers below come from the engine's own
glm stat:lines during real use (sampled, thinking on). They are not a./maya.sh --benchrun yet. We can run--benchand--reportand attachmaya-report.txtif that helps.Version
a4e1ff0, the installer build (./maya.sh --setup, nothing patched).Hardware (a VM)
nvidia-smidoes not report the PCIe gen or width inside the VM.Setup
unsloth/GLM-5.3-Flash-GGUF, UD-Q5_K_XL (rev a38483c, 6 shards).mmproj-GLM-5.3-Flash-F16.ggufplus the vocab GGUF.--max-context 524288and--kv int8. Everything else is the setup's default:--expert-cache auto --prefill auto --kv-streaming on --expert-profile data/expert-profile-glm.bin.envblock, noSTRATA_GLM_*overrides, and--calibratenot run yet.high(32768 budget), with one request at a time.What the engine reports at start
Our reading: an expert is about 18.6 MB (225.2 GB / 12096). The CPU then reads it at about 133 GB/s, and the PCIe path moves it at about 25 GB/s.
What the engine reports during decode (typical lines, ~150 requests)
draft_nis 0 in/v1/status. As we understand the docs, MTP drafting is off on one GPU by design.Comparison with reports here
Only about 14% of the expert bytes fit in VRAM here (31.35 of 225.2 GB). Our own estimate: to reach 50 tok/s (20 ms/tok), the CPU-lane time alone would have to drop by more than half.
Questions
./maya.sh --calibratelikely to help here? The engine picked 21 CPU-lane threads out of 32 vCPU.expert-profile-glm.binwas presumably made with Maya's own packs. Does it fit unsloth's UD-Q5_K_XL routing as well? Or should we build our own withSTRATA_GLM_USAGEor--expert-profile-save?STRATA_GLM_MTP_DECODE=1worth trying? The docs say it is "usually slower" in that case.--kv int8or 512K settings cost decode speed on one GPU, compared with the default KV and 128K?Thanks for the project. The install built and ran on this VM without any change, and images work with the F16 mmproj.
@talisp commented on GitHub (Oct 19, 2026):
A follow-up: two Strata changes from after 0.1.41. The CHANGELOG mentions Strata only up to 0.1.41, so we are not sure whether either of these is in Maya, or whether either applies to the GLM engine:
Strata 0.1.45, #1896: "a resident-RAM copy keeps the prompt path's lend region". Strata reports +7% decode and +2.5% prompt on an RTX 3060 when there is room in the RAM budget. Our case looks similar. The prompt path borrows about 9.2 GB of the expert pool on a 48 GB card, and the RAM tier has 192 GB pinned. Is the same idea in Maya already, planned, or not applicable?
Skipping light misses on one GPU. Strata 0.1.42 turned
STRATA_ROUTE_TAIL_SKIP=7on by default on CUDA (+13-16% decode). Maya has the opt-inSTRATA_GLM_TRUNK_KEEP_MAPandSTRATA_GLM_MISS_SKIP_W/_FROM. SETTINGS.md measures them on Maya-M / Maya-S24 (for example,_MAP=...5555555444...with KL ~0.017-0.027). On this machine about half of every token's time is the CPU lane (~150 experts/tok, ~24 of ~46 ms). Would you start from the same map orMISS_SKIP_W0.12 with_FROM=23for unsloth's UD-Q5_K_XL on one GPU? Or are the KL numbers expected to differ for a 5-bit file? We would measure KL and our own task suite before keeping anything.We can run
./maya.sh --bench/--reportwith and without these settings, and post the numbers here if that helps.@mw00 commented on GitHub (Oct 23, 2026):
Thanks for the detailed numbers. With unsloth's UD-Q5_K_XL (225 GB of experts) on one 48 GB card, most experts a token come from RAM over PCIe, so ~20-25 tok/s is about what that setup allows - nothing looks mis-tuned. The speed comes from how much of the model the GPU holds: Project Maya's own quants (Maya-M, 116 GB, or Maya-S, 96.5 GB) keep far more of each token's experts on the card, and
./maya.sh --calibratetunes the CPU lane for your Xeon. Closing as answered - feel free to reopen with a Maya-M run if it still looks low.