Repository navigation
fix(sglang): [cherry-pick 1.5.0] stop GPU Memory Service workers crashing at startup (#14360) - #14527
Merged
pvijayakrish merged 1 commit intoSep 9, 2026
Conversation
…GLang 0.5.18 (#14360) Signed-off-by: [email protected] <[email protected]> Signed-off-by: Schwinn Saereesitthipitak <[email protected]> Co-authored-by: Schwinn Saereesitthipitak <[email protected]> (cherry picked from commit 45e7111) Signed-off-by: Cursor Agent <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
Backports #14360 to
release/1.5.0so GPU Memory Service workers start successfully with SGLang 0.5.18.SGLang 0.5.18 makes
ServerArgsfields read-only after resolution. The fix enables memory saver through SGLang's public late-resolution API instead of failing on direct assignment during worker startup.Details
declare_late_resolutionAPIServerArgs.overridefallback and legacy SGLang 0.5.11/XPU direct-assignment fallbacksetup_gms()contract that automatically enables memory saverServerArgs.overrideon pinned SGLang 0.5.18This is a clean cherry-pick of merged commit
45e711149as28a195aed. The stable patch ID matches the source commit exactly.Where should the reviewer start?
lib/gpu_memory_service/integrations/sglang/__init__.py— the public-first compatibility ladder insetup_gms()components/src/dynamo/sglang/tests/test_sglang_gms_memory_saver.py— the focused regression casesRelated Issues
Validation
Backport verification
45e711149from fix(sglang): stop GPU Memory Service workers crashing at startup on SGLang 0.5.18 #14360Original fix validation
python -m pytest -v components/src/dynamo/sglang/tests/test_sglang_gms_memory_saver.py— 15 passedpython -m pytest -v -k setup_gms components/src/dynamo/sglang/tests/test_sglang_gms_memory_saver.py— 3 passedpython -m pytest -v lib/gpu_memory_service/tests/test_sglang_patches.py— 2 passedpython -m pytest -q lib/gpu_memory_service/tests— 99 passed, 1 skippedgit diff --check— passedRelease-branch CI will provide branch-specific test coverage.