GLM-5.2-W4AFP8-SGL-TP8: cap waiting queue at 16#120
Open
Evrard-Nil wants to merge 1 commit into
Open
Conversation
Add --max-queued-requests 16 so the sglang scheduler rejects (429) once 16 requests are waiting behind the running batch instead of letting the queue grow unbounded. Context length already serves the full 1M tokens (--context-length 1048576), so no change there.
|
✅ OpenCodeReview: No comments generated. Looks good to me. |
PierreLeGuen
approved these changes
Jun 25, 2026
PierreLeGuen
left a comment
Contributor
There was a problem hiding this comment.
Single-line config change adding --max-queued-requests 16 to the shared x-glm52-cmd sglang args block in prod/GLM-5.2-W4AFP8-SGL-TP8.yaml. Caps the admission queue so excess requests get rejected rather than silently buffered behind the 256 running slots; no other files touched and behaves as described.
prod/GLM-5.2-W4AFP8-SGL-TP8.yaml— flag folds cleanly into the folded-scalar command, inserted between--max-running-requests 256and--cuda-graph-max-bs 128, no duplicate. Consistent with the same flag/value already used inprod/GLM-5.1-SGL-AWQ-TP4.yaml.
Local checks: docker compose config renders the command with --max-queued-requests 16; YAML parses cleanly; validate_otel_labels.rb, validate_proxy_dependencies.rb, and validate_proxy_environment.rb all passed.
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.
Sets a bounded admission queue on the GLM-5.2 W4AFP8 TP8 config.
Change
--max-queued-requests 16to the shared sglang command block. Once 16 requests are waiting behind the running batch, sglang sheds new ones (429) rather than letting the queue grow unbounded.Context length
--context-length 1048576). The header documents that W4AFP8's halved weight footprint is what frees the VRAM to run 1M at TP8.--max-running-requests 256is unchanged.🤖 Generated with Claude Code