You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[QST] What is the typical token load (S) used in the e2e benchmark? #6
Hi authors, thanks for your great work. The idea of dynamic balanced EP is rather intriguing.
The README shows an end-to-end training benchmark comparing MoonEP vs DeepEP v2 on H20 with EP=8, sweeping maxvio. However, it does not state the number of input tokens per rank S (or equivalently,
global batch size / sequence length) used in that benchmark.
This matters because MoonEP's benefit model is:
Benefit: eliminating compute hotspots caused by routing imbalance
Cost: NVLink-based weight prefetch (bandwidth ~450 GB/s on H20) vs. local HBM reads (~4 TB/s)
If I understand correctly, at small S (few tokens per expert), the workload is memory-bound on expert weights. In that regime, prefetching weights over NVLink is strictly more expensive than reading them locally, and there is
little compute imbalance to eliminate. The crossover point where MoonEP's balance benefit outweighs its prefetch cost depends directly on S.
Questions:
What value of S (tokens per rank) was used in the e2e benchmark?
Was the benchmark run in a compute-bound or memory-bound regime per expert?
Is there data or a rough estimate for the minimum S below which MoonEP's overhead exceeds its benefit (i.e., the break-even point)?
This would help users decide whether MoonEP is appropriate for their workload, particularly for inference or small-batch training scenarios.
changed the title [-][QST] What is the typicak token load (S) used in the e2e benchmark?[/-][+][QST] What is the typical token load (S) used in the e2e benchmark?[/+]on Jul 28, 2026
We use an 16K sequence length (topk 8) for benchmarking. Moonep is well suited for training and prefill. However, during decoding, the small number of tokens makes weight-prefetching overhead significant relative to dispatch overhead.
Activity
[-][QST] What is the typicak token load (S) used in the e2e benchmark?[/-][+][QST] What is the typical token load (S) used in the e2e benchmark?[/+]asp0ex commentedon Jul 31, 2026
We use an 16K sequence length (topk 8) for benchmarking. Moonep is well suited for training and prefill. However, during decoding, the small number of tokens makes weight-prefetching overhead significant relative to dispatch overhead.
asp0ex commentedon Jul 31, 2026
We believe S x K must be at least several times larger than H' (moe expert intermediate size).