-
Notifications
You must be signed in to change notification settings - Fork 155
sglang-update #1225
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
Open
yhyang201
wants to merge
6
commits into
main
Choose a base branch
from
sglang-update-conc12288
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
sglang-update #1225
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
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
Oops, something went wrong.
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.
🔴 This PR adds a new
conc=12288recipe todsv4-fp4-b300-sglang(new search-space row in nvidia-master.yaml plus matching CONC=12288 branch in dsv4_fp4_b300_sglang.sh) but does not add a corresponding entry toperf-changelog.yaml. Per AGENTS.md,perf-changelog.yamlis the documented trigger for benchmark runs on push-to-main, so without an entry the new recipe will not actually run. Please append aperf-changelog.yamlentry fordsv4-fp4-b300-sglangdescribing the new conc=12288 recipe and linking to this PR (mirroring the predecessor PR #1209 which added the conc=8192 entry).Extended reasoning...
What the bug is and how it manifests
AGENTS.md is explicit that adding a new benchmark configuration requires updating
perf-changelog.yaml. The section "Adding a New Benchmark Configuration" (AGENTS.md:192-196) lists "Add corresponding entry to perf-changelog.yaml to trigger benchmark" as step 2, the "Updating Docker Images" section (AGENTS.md:296) marks it as a MUST, and AGENTS.md:174 confirms "Changes to perf-changelog.yaml trigger benchmark runs." This PR adds a brand-new search-space row{ tp: 8, ep: 8, dp-attn: true, conc-start: 12288, conc-end: 12288 }at.github/configs/nvidia-master.yaml:1886plus the matching CONC=12288 branch inbenchmarks/single_node/dsv4_fp4_b300_sglang.sh(with new tunings:CUDA_GRAPH_MAX_BS=1600,MAX_RUNNING_REQUESTS=12288,MEM_FRACTION_STATIC=0.72,SGLANG_OPT_USE_ONLINE_COMPRESS=1, etc.), but the changeset only touches those two files —perf-changelog.yamlis untouched.The specific code path that triggers it
Per AGENTS.md, the sweep workflow on push-to-main keys off entries appended to
perf-changelog.yamlto determine which configurations to (re)run. With no new changelog entry referencingdsv4-fp4-b300-sglangand the conc=12288 recipe, the workflow has no signal that there is anything new to benchmark, so the freshly added search-space row and script branch will sit dormant.Why existing code doesn't prevent it
The repo does not have an automated check that cross-references new search-space rows in
nvidia-master.yamlagainstperf-changelog.yamlentries. Compliance is enforced by convention/documentation (AGENTS.md) and prior practice. The directly analogous predecessor PR #1209 (commita3330bb), which added the conc=8192 recipe to this exact samedsv4-fp4-b300-sglangconfig, did append aperf-changelog.yamlblock (currently the last entry in the file) describing the new conc=8192 recipe and linking the PR — establishing the expected pattern that this PR omits.Impact
The whole point of this PR is to start collecting performance numbers for the conc=12288 recipe. Without the
perf-changelog.yamlentry, the recipe will not run on push-to-main and no benchmark numbers will be collected, defeating the purpose of the change. Users discovering the gap later will need a follow-up PR.How to fix it
Append a new entry to
perf-changelog.yaml(after the last entry, which is the conc=8192 entry from PR #1209) following the same shape:config-keys: [dsv4-fp4-b300-sglang], a short description such as "Add conc=12288 recipe for 1k1k on dsv4-fp4-b300-sglang", and apr-linkto PR #1225.Step-by-step proof
git show 38d849d --statshows only two files touched —.github/configs/nvidia-master.yaml(+1 line) andbenchmarks/single_node/dsv4_fp4_b300_sglang.sh(+17/-3).perf-changelog.yamlis not in the changeset.a3330bb), which added the conc=8192 row to the same config: it appended a correspondingperf-changelog.yamlentry (now the last block in the file) referencingdsv4-fp4-b300-sglangand the conc=8192 recipe.perf-changelog.yamlentry was added, and the analogous predecessor PR followed the documented protocol that this PR skips.