mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #534] Speed report: RTX 4000 Ada 20 GB, Windows 11 - v1.1.25 + --prefill-chunk 16384 is the fastest Maya-XS config (20K prompt at 816 tok/s) #214
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#214
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 @pietroMastro92 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/534
Speed report: RTX 4000 Ada 20 GB, Windows 11 — v1.1.25 +
--prefill-chunk 16384is the fastest Maya-XS config (20K prompt at 816 tok/s)A speed report for the configuration this issue list has no entry for: a single 20 GB Ada card on Windows,
DeepSeek-V4.1-Flash Maya-XS with DSpark.
The box
DeepSeek-V4.1-Flash-1017-GGUF\Maya-XS\maya-ds4), DSpark on,--dspark-conf 0.65maya-ds4v1.1.29 (and the saved v1.1.25 build for the A/B)max_tokens 150,reasoning_effort lowThe finding: the prompt chunk is the whole game on a 20 GB card
--max-context 262144 --tp 1 --threads onin all rows:--prefill-chunkThe configuration to use on a 20 GB Ada (in
maya-ds4.jsonterms):Re-measured with the long protocol: decode 20.96 tok/s, prefill 3.8K 322.1, prefill 20K 815.7, 1007 experts
in VRAM. Against the setup's default (v1.1.29 + chunk 8192 +
--mmap-experts auto): prefill 20K +60%,prefill 3.8K +35%, decode +5.6%.
Why (and what it says about #438)
--mmap-expertsis not involved: on v1.1.29,autoandoffboth copy the 14,786 CPU-lane experts into RAM(102.2 GB) and both read the 20K prompt at ~509 tok/s.
reads at ~500 (v1.1.29) or ~790-830 (v1.1.25); at >= 20480 the prompt slabs take that VRAM, the log says
experts 0.00 GB (0 of 15744 in VRAM), the prompt jumps to ~900 and the decode collapses to ~13.9.c8cb6ea("DeepSeek prompts up to 1.5xfaster on NVIDIA V100s..."), 783 tok/s at
8d071a1before it, 162 after; the expert count drops 1007 -> 958in that commit. Reported in #438 with the table.
So for a 20 GB card the v1.1.25 build with a larger chunk is, as of v1.1.29, still the fastest DeepSeek
configuration we have found: it keeps the experts in VRAM and reads long prompts at DRAM speed.
Happy to test any new tag on this box (it reproduces the numbers above between runs within ~3%).
@pietroMastro92 commented on GitHub (Oct 27, 2026):
Long-context check on the same config (added for completeness):
the bigger prompt, as expected.
7Q2X-91VK) planted in the middle of the 54K prompt came back exactlyright in an 11-token answer (
reasoning_effort low, temperature 0).So the v1.1.25 +
--prefill-chunk 16384configuration is not just the fastest one here, it also holds theneedle at 54K on this box. Numbers for the record:
@pietroMastro92 commented on GitHub (Oct 27, 2026):
One more knob turned up after the report above, on the same config:
--dspark-conf 0.50instead of thesetup's 0.65.
--dspark-confSo on this box, with the winning config, 0.50 gives +9.2% decode. Worth noting: in an earlier night, with the
setup's config (
--prefill-chunk 8192 --mmap-experts auto), 0.65 beat 0.50 - the drafter confidence has to bere-tuned when the prompt configuration changes, it is not a fixed "best value".
Final config here: v1.1.25 build,
--prefill-chunk 16384 --dspark on --dspark-conf 0.50 --mmap-experts off,decode 22.89, prefill 3.8K 325 / 20K 807 / 54K 1,070, needle at 54K correct.
@mw00 commented on GitHub (Oct 27, 2026):
Thank you for the clean protocol and the bisect - finding the exact commit saves a lot of guessing. Your v1.1.29 row (Maya-XS, 21.1 tokens/s, 518 tokens/s at 20K) goes into the DeepSeek speed table for the next release, the first single 20 GB card there.
The prompt regression itself is followed in #438, where your bisect is; we'll continue there. The
--dspark-conf 0.50finding is useful too: the drafter's confidence bar depends on the rest of the setup. Closing this one so the discussion stays in one place.@pietroMastro92 commented on GitHub (Oct 28, 2026):
Two more results on the same box, both from the 256K / several-requests questions:
1. 256K context works and stays accurate
7Q2X-91VKanswered correctlyThe server refuses an over-length prompt cleanly ("maximum context length is 262144 tokens ... requests are
never truncated"), so 256K is safe to use.
The GLM's higher context is not free, measured back to back in the same session:
2. Several requests at once (
--parallel, the v1.1.34 feature) - measuredSame prompt, 200 tokens, warm-ups, then N sequential requests vs N simultaneous ones; speedup is aggregate
tokens/s parallel / aggregate sequential. On this 20 GB card:
--parallel 2--parallel 3--parallel 2Two practical notes for anyone trying it:
--parallelmust be an engine argument (in the config'sargs), not aparallelkey in the config andnot a server flag: with the key only,
/propsstays atslots: 1.share the same RAM bandwidth and each runs slower, so the aggregate falls 18% below sequential. The release
note's 1.6x is on a V100 with most experts in VRAM, which is a different regime. For GLM, 2 slots gives
+14% (per-request latency grows from ~6.5 s to ~14 s), 3 is already over-subscribed.
@pietroMastro92 commented on GitHub (Oct 28, 2026):
Correction and completion on the
--parallelmeasurement: my first long-prompt test used the same prompttwice, so the prefix cache made the second request nearly free in the sequential arm and the numbers were
meaningless. With fresh, different prompts (2 x 17,880 tokens) the picture is:
--parallel 2So parallelism pays when decode dominates and is neutral when the prompt read dominates (the prefill is
bandwidth-bound and the two slots share it). Practical reading: for agent sessions with long prompts, 2 slots
do not hurt but do not help either; for short chats it is +14%.
Worth writing down for anyone measuring this: always use fresh prompts per arm, otherwise the conversation
cache silently makes one arm free.