mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #246] # Issue draft — Project Maya (Maya-S-v2 IQ2_XXS, single RTX 5090D 24 GB): full 1M-context measurements, the long-context decode bottleneck, and a v1.1.11 → v1.1.15 retest #92
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#92
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 @biurquezjoselina-design on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/246
1. Full 1M ladder (v1.1.11, 2026-10-15)
Config opened
--context 1048576directly (the setup menu only offers up to 128K; passing 1M on the command line is accepted and works). 1,039,819 tokens ingested without overflow or a crash.Findings:
2. int8 KV + 256K resident window — the bottleneck is NOT KV transfer
Config:
STRATA_GLM_KV_INT8=1,STRATA_GLM_KV_RESIDENT=262144(262,144-token window resident in VRAM, 3.06 GB; expert pool 11 → 10 GB; total VRAM 22.3 GB, unchanged).With the entire 260K working set resident in VRAM as int8, decode did not move. That rules out KV transfer as the bottleneck: the per-token cost is the indexer/attention scan over the full history, and that kernel runs on ordinary CUDA cores, not tensor cores. All long-context decode numbers (6.3-9.2) correlate with expert hit-rate, not with context length or KV format. int8 KV was kept (free 3 GB, +5 % prefill, no quality loss observed); user-side knobs for decode speed are exhausted after this.
3. Retest on v1.1.15 (2026-10-17): unchanged
Same config (
maya-maya-s-v2-iq2_xxs.json, 1M context, int8 KV + 256K resident), cold process, engine rebuilt from the v1.1.15 tag (VERSION verified).Conclusion: nothing between v1.1.12 and v1.1.15 touched the long-context decode path — every number reproduces within noise. The single-digit decode at full context is still the non-tensor-core indexer scan identified in §2.
4. Why I'm posting this
The README performance tables have no data for the combination this card forces: a single 24 GB GPU with the full 1M context enabled (expert pool + resident KV window + streamed weights). These measurements fill that gap:
Happy to run any specific config or measurement that would help — the harness (
needle_1m.py,speedtest_temp.py) is already set up on this machine.@mw00 commented on GitHub (Oct 20, 2026):
Thank you for the 1M-context measurements - the needle results across the whole range are very useful. Decode after a very long prompt on one 24 GB card is limited by how much of the model fits beside the KV window; closing this report, and the findings stay here for reference.