mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 19:04:50 +07:00
[GH-ISSUE #82] Speed data: 2x RTX A4000 16 GB (PCIe 3.0 x16), Xeon W-2135, 128 GB DDR4 - unsloth UD-IQ4_XS (157 GB), 9.0 tok/s decode #32
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#32
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 @speja969 on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/82
Machine
Setup
c189f7a)./setup.sh --gguf-dir <folder> --gpus 0,1 --context 32768 --nvcc /usr/local/cuda-13.0/bin/nvcc --plain, images on (Maya's mmproj)glm5next. It needed the workaround for shard 1 from my separate issue.--bench(32K context)Engine lines from run 2 (also in the attached report):
Through the API (temperature 0, thinking off)
At 96K: state/KV 0.86 GB on CUDA1 (0.37 GB at 32K), expert slots 820 + 805. The context was changed to 96K in the dashboard after the bench, so the attached config says 96K while the bench section is from 32K.
Observations
STRATA_GLM_SPLITyet.--fit on -c 32768 -fa on) gave about 4.4 tok/s decode on this machine. That was not measured with the same harness.mmproj-BF16.ggufhas the same projector type (glm5next) and 348 tensors, but noclip.vision.ffn_clamp, so Maya's encoder would run it without the clamp. Not tested.Not measured
llama.cpp with the same harness,
STRATA_GLM_SPLITor--gpus 1,0,STRATA_GLM_KV_INT8, image requests.Attached:
maya-report.txt(./maya.sh --bench, then./maya.sh --report).maya-report.txt
@mw00 commented on GitHub (Oct 10, 2026):
Thank you for the full report.
"STRATA_GLM_SPLIT": "21"and"19"in the config's"env"block: GPU 0 then takes layers 0-20 or 0-18 (auto gave it 0-22);./maya.sh --benchfor each, and post the decode.@speja969 commented on GitHub (Oct 11, 2026):
Thanks for the explanation. I ran the splits, but first, two changes since my report:
Context is 98304 for all runs. Each row is one
./maya.sh --bench(3 answers of 256 tokens, greedy, thinking off), run in the order shown.envSTRATA_GLM_SPLIT=21STRATA_GLM_SPLIT=19STRATA_GLM_RAM_RESIDENT=1RAM_RESIDENT=1,PROMOTE_MIN=6Moving layers to GPU 1 made decode slower, step by step. Later runs had more usage history, which should favour them, and they were still slower. With 256 GB the auto split gave GPU 0 one layer more than before (24 instead of 23). It predicted 69.2 ms a token;
glm statmeasured 85-108 ms.GPU 0's 100% utilisation is probably not the limit. During the runs:
The two cards take turns at 100%, which looks like the pipelined decode rather than a saturated GPU 0.
RAM-resident: with everything in RAM,
RAM_RESIDENT=1+PROMOTE_MIN=6is about 4-5% faster than auto. That is more than the 9.7-9.9 run-to-run spread. Per token:RAM_RESIDENT=1+PROMOTE_MIN=6So nowhere near the 4090 D's 1.9x: here every token still pulls ~100 experts over PCIe 3.0 and the CPU lane computes ~80. I'm keeping auto +
RAM_RESIDENT=1+PROMOTE_MIN=6.mmproj: kept Maya's. unsloth's BF16 file also loads and gave practically the same answers on two test images (a TUI screenshot and a 3D scene), but yours has the clamp.
@mw00 commented on GitHub (Oct 12, 2026):
Thank you for the follow-up runs - a clear result for this box: the auto split,
RAM_RESIDENT=1andPROMOTE_MIN=6. Closing; if you try v1.1.3, its expert profile (#88) fills VRAM by a ranking measured on GLM-5.3-Flash's routing, which matters most right after a start.