Repository navigation
[NVIDIA][AgentX] Run GB300 DSV4.1-Flash agg TP4 c1 as a batch-1 NVIDIA megakernel point / [NVIDIA][AgentX] 将 GB300 DSV4.1-Flash 聚合 TP4 c1 改为 batch-1 NVIDIA megakernel 点 #4434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Oseltamivir
merged 7 commits into
main
from
weireweire/dsv41flash-gb300-sgl-agg-bs1-mega
Oct 26, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c76710a
feat(agentx): run GB300 DSV4.1-Flash agg TP4 c1 as a batch-1 NVIDIA m…
weireweire c989f08
chore(agentx): fill in PR number 4434 for the waiver and changelog li…
weireweire 228ab0a
Merge remote-tracking branch 'origin/main' into weireweire/dsv41flash…
weireweire 710e015
fix(agentx): pin FlashMLA for GB300 DSV4.1-Flash agg TP4 c4/c16 and T…
weireweire 17c23eb
Merge remote-tracking branch 'origin/main' into weireweire/dsv41flash…
weireweire 6e0aec9
feat(agentx): move GB300 DSV4.1-Flash agg to the 10-25 SGLang nightly…
weireweire 323ec75
Merge branch 'main' into weireweire/dsv41flash-gb300-sgl-agg-bs1-mega
Oseltamivir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 (optional) Published server-side token counters for the TP4 c1 point will be about 4x too high, unlike c4/c16 on the same curve.
enable-metrics-for-all-schedulersmakes all four TP ranks of this non-DP-attention worker record scheduler metrics. Each rank's series carries a distincttp_ranklabel, andsum_statin backends/sglang.py adds them all. Fix: dropenable-metrics-for-all-schedulersfromoverride_tp4_c1, since it only helps with dp-attention. The alternative is to have the sglang adapter keep one TP rank per counter.Why this was flagged
The override at agg-variants.yaml:139 runs TP4 without dp-attention (master row dp-attn: false, nvidia-master.yaml:9434). SGLang documents this flag as making schedulers on all TP ranks, not only TP 0, record metrics. That yields one series per
tp_rankfor scheduler counters such assglang:realtime_tokens.SglangBackend.populate(infx/results/agentic/backends/sglang.py:108-113) sumsrealtime_tokens{mode=prefill_compute}across every series viasum_stat(common.py:135-153). Soserver_metrics.tokens.prompt_by_source.computedin the published aggregate (agentic/init.py:244) comes out roughly 4x the real value. Any other scheduler-side counter summed there is inflated the same way. On the base branch only TP rank 0 records these, and c4/c16/tp2 still do, so the c1 point is inconsistent with its curve. compute_server_metrics (server_metrics.py:55-59) nulls onlygpu_total_tokensfor dynamo-sglang replicas. It does not normalize the summed counters.Verification: agg-variants.yaml:139 adds
enable-metrics-for-all-schedulers: truetooverride_tp4_c1only, a TP4 point with no dp-attention.sum_stat(common.py:135-153) adds every matching series and does not dedupe bytp_rank. Sotokens.prompt_by_source.computed(sglang.py:140) comes out about 4x too high for TP4 c1. The c4/c16 points on the same curve don't set the flag, so they report only TP0.