mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5247] [Benchmark] 4x RTX 4090 48 GB (sm_89) + DeepSeek-V4.1-Flash 2.25 bpw (IQ2_XS), 0.2.10: 256K and 1M context, DS4_SPLIT=9,11,10,10 fits all 15,744 experts in VRAM #3123
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3123
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 @Moeblack on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5247
What did you measure, or what went wrong
Measurements of the stock 0.2.10 release (
strata-dsv410.1.56sm_89build) on a 4 x RTX 4090 48 GB machine with the 2.25 bpwIQ2_XSset at 256K and 1M context (--parallel 4), including multi-turn sessions up to 301K tokens andDS4_SPLIT=9,11,10,10to fit all 15,744 experts in VRAM at 1M context. (docs/DEEPSEEK41.mdnotes thatsm_89had only a single-card 2.00 bpw report so far.)Setup
sm_89, 49,140 MiB each, PCIe, no NVLink, 450 W power limit), 2 x Intel Xeon Gold 6330 @ 2.00 GHz (56C/112T across 2 NUMA nodes), 251 GiB RAM, Ubuntu 22.04.5 LTS (Linux 6.8.0-138-generic), driver 595.99.02, CUDA 13.20.1.56-linux-x86_64-cuda-cuda13(06698c674)deepseek-v4.1-flash-ist-das-2.25bpw(IQ2_XS4-shard abliterated setAtomicChat/DeepSeek-V4.1-Flash-1017-Abliterated-GSQ-RCO-GGUF, where shards 1-3 are byte-identical toISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF, plusDeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf, UnslothDSpark-Q8_0, andmmproj-BF16.gguf), packed withtools/dsv41/pack_gguf.pyand the shippeddata/dsv41/profile-2.25.bin--tp 2logstensor parallel 2 -> 1: the experts' 256-value blocks split n_ff 2304 no other way (each GPU its own layers)and runs layer-split across the 4 cards.)Method
maya ds4 serve: request N: prompt ... generated ...).--max-context 262144), default auto layer split (5,12,11,12).--max-context 1048576), default auto layer split (5,12,11,12), including live multi-turn conversations reaching 286K-301K tokens.--max-context 1048576 --vision-resident) withDS4_SPLIT=9,11,10,10in the environment so GPU0 takes 9 trunk layers instead of 5.Results
1. VRAM placement & expert residency across stock configurations
5, 12, 11, 122304/2304,4608/4608,4224/4224,4542/460820015 / 963 / 2239 / 8935, 12, 11, 122304/2304,4419/4608,4180/4224,4404/460819301 / 889 / 885 / 883DS4_SPLIT=9,11,10,10)9, 11, 10, 103840/3840,4224/4224,3840/3840,3840/38403969 / 2987 / 5143 / 6365Startup log excerpt for Arm 3 (
1M context + DS4_SPLIT=9,11,10,10 + --vision-resident):2. Throughput measurements (stock 0.1.56 engine)
0 + 25451 / 519(86.9%)1 conversations running0 + 9,0106 / 60 + 5,75234 / 400 + 9..15each564 / 643total0 + 25438 / 526(83.3%)284,628 + 1,701286,727 + 6,563293,384 + 6,100299,546 + 568829.0
843.1
484.1
94
62
62
145.29
139.11
142.45
308 / 33978 / 7851 / 5551 / 551 conversations running)DS4_SPLIT=9,11,10,10) · Python LRU code0 + 40Findings
[0..4]) to GPU0 and 35 trunk layers ([5..39]) to GPU1–3 before accounting for the 1M KV cache (--parallel 4). At 1M context this spills 437 experts (4.2 GB) from GPU1–3 to the CPU lane while GPU0 has 19.3 GiB free. SettingDS4_SPLIT=9,11,10,10moves 4 trunk layers to GPU0 and keeps all 15,744 experts in VRAM with 3–6 GiB free on every card.--parallel 4), multi-turn conversations reaching 286K–301K tokens reused prefix slots cleanly (0.0 srestore from RAM) and maintained 125–145 tok/s single-stream decode and 829–843 tok/s incremental prefill on 6K-token turns.Reproduction status
Measured locally
@Niko1221 commented on GitHub (Nov 5, 2026):
Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.
The Strata project