mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #494] Speed report: 10x RTX 3090 (TP2) + 64 GB — DeepSeek-V4.1-Flash-1017 EXL3 2.9 bpw: 97 tok/s decode, 1,900–2,390 tok/s prefill, 1M context (v1.1.28) #197
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#197
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 @DoktorMincs on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/494
Ten RTX 3090s on one box, the 2.9 bpw EXL3 pack (414 GB: 211 GB trunk + 203 GB Engram) as five tensor-parallel
pairs (
--tp 2), 1M context and DSpark drafting. The numbers below are a context sweep — two runs at each of fourlengths against the live server. The engine's own STAT line is the authority for prefill and decode; the client clock
only for TTFT.
6afa525, 2026-10-25); stock engine built here for sm_86 with CUDA 13.3--max-context 1048576 --tp 2 --reserve-mib 600 --dspark on;DS4_ATTN_SLAB_MB=8,DS4_W16_MB=16,DS4_REQUIRE_ALL_RAM=0,DS4_PREFILL_STATS=1;--calibratenot used (it hangs on this pack — see below)Context sweep (
bench_ttft.py, 2 runs per length, 128 max tokens, a fresh nonce at the start of every prompt — 0tokens reused in all 8 runs):
rows; mean 97.0 tok/s.
setup, so TTFT is essentially the prefill.
(2,092 / 2,341 / 1,806 at 32K / 128K / 400K with v1.1.26). The 400K prompt costs 210.8 s before its first token:
the engine read 398,235 tokens at 1,889 tok/s, generated 74 in 843 ms (87.7 tok/s), expert cache 100.0% hit.
SW Power Cap; a 210 s run at ~1.85 kW did not trip the supply.systemctl starttoready:.What the engine reports: five tensor-parallel pairs (layers 0–5 | 6–13 | 14–23 | 24–31 | 32–39), memory.used
16,226–23,552 MiB per card and 576–7,902 MiB free. 641 routed experts live on the CPU lane (8.5 GB of RAM); during
the sweep the CPU lane served 0.0% of the experts and the expert cache hit 100.0%. DSpark kept 53 of 67 drafts
(79%) at 400K. The lead GPU (0) also holds the three DSpark blocks and the vision tower: 1.16 GB of dense weights
against 0.52–0.96 GB on the others, and 576 MiB free against 7,902 MiB on its pair member.
Two things worth knowing:
GPUs 0/1 sat at 0% and 210 MHz while the other eight ran at 100%, and the engine never answered (
reading the prompt ... 40 s so far). A restart fixed it; a 1,480-token probe then passed in 3.7 s and the full sweep ran. Thiswas seen at v1.1.26, v1.1.27 and v1.1.28, on this pack, always the first large prompt after a start.
--calibratehangs deterministically (2 of 2) on this pack with 10 GPUs: the weight load finishes and theengine never prints
ready:, leaving an orphan engine; it is not used. On one earlier crash (a different, locallyre-packed variant) the same path logged
exl3 mv: an illegal memory accessand Xid 13 (out-of-range address) onGPUs 0/1 — possibly a useful lead for the hang.
The pack is a local EXL3 2.9 bpw build, not a stock download: its
attn.wo_bmatrices were re-packed into aseparate shard. Its quality numbers would not transfer to another install; the speed numbers above do not depend on it.
maya-report.txt(from./maya.sh --report) is below. Happy to run any setting or kernel variant you would finduseful on a 10-GPU box.
maya-report.txt
@SunYong0821 commented on GitHub (Oct 26, 2026):
How did you manage to get the context to 1M? When I set it to 1M, it directly told me it's not supported.
@DoktorMincs commented on GitHub (Oct 26, 2026):
Probably the problem is with your engine version. The 1M context for DSV4.1 is supported in the v1.1.28.
@mw00 commented on GitHub (Oct 27, 2026):
Thank you - ten RTX 3090s at 97 tokens/s with a 1M context goes into the DeepSeek speed table for the next release, and the sweep up to 400K is very useful.
We're keeping this open for the two hangs: the first chunked prompt after a start, and
--calibrateon this pack. v1.1.31 changed how a tensor-parallel group reads long prompts (#520), so a retest there would tell us whether the first-prompt hang is still around. If it is, the engine log around the stall would help.@mw00 commented on GitHub (Oct 27, 2026):
Thanks again for the 10-GPU numbers. v1.1.34 fixes a tensor-parallel hang that matches the first half of this: one group's GPUs idle while the others spin (details in #539). A member could leave a chunk its partner was already running when a Stop came, or when another group's device ended its run early. With five groups, that second case is more likely. v1.1.34 also adds a watchdog: a request with no progress for 10 minutes ends the engine with a line
maya ds4 serve: where it stopped: ..., and the server starts it again.With v1.1.34, could you check whether the first prompt after a boot still stalls? If it does, please send that
where it stoppedline and the last ~100 lines of the engine log.The
--calibratehang is a separate case: it stops beforeready:, so the watchdog doesn't cover it. Next time it happens, could you send the last ~100 lines of the engine log the calibration writes (maya-ds4.logbeside the config, or the path--calibrateprints)? Those show which load step it waits on.Released in v1.1.34: https://github.com/mw00/project-maya/releases/tag/v1.1.34
@DoktorMincs commented on GitHub (Oct 28, 2026):
Reproduced on v1.1.34, so it's still there. One detail that may narrow it down: it happened on the first chunked prompt, not the first prompt.
Same box and same pack as before: ten 3090s, --tp 2 across five pairs (layers 0–5 | 6–13 | 14–23 | 24–31 | 32–39), --max-context 1048576 --reserve-mib 600 --dspark on, the local EXL3 2.9 bpw pack, engine built from the v1.1.34 tag (
b042645) for sm_86 with CUDA 13.3.After boot the first request was 38 prompt tokens and went through fine — 764 ms to read, 45 tokens in 2 s. The next one was 1,827 prompt tokens and hung. The log says "reading the prompt: 1,827 tokens, 10 s so far" and then every ten seconds up to 130 s, never the "1,827 of 1,827" line, no chunk progress. The client got nothing back and the connection just ended when we restarted the server.
While it was stuck, GPUs 0 and 1 sat at 0% and 210 MHz (P8, 30 and 27 W), and GPUs 2 through 9 were pinned at 100%, around 1,950 MHz and 150–170 W. Same picture as v1.1.26 through v1.1.28.
The last thing the engine printed before going quiet was "ds4: CUDA0 prompt attention on the tensor cores (sm_86)" and the same line for CUDA1. On a healthy run all ten print that before the token progress line. No Xid, no CUDA error, nothing else in the log, and the engine didn't end by itself — it took a SIGKILL after the server stopped it.
Worth knowing it isn't deterministic. Yesterday a 1,737-token probe passed 20 times in a row across two clean boots, and the request after a cancelled prefill answered in 0.6 s. The same ~1.8k prompt has passed at about 570 tok/s prefill on other boots. When it does hang, it's always this pair-0 signature.