Repository navigation
[rust-processor] Gate render, tokenizer and parser behind cargo features - #42663
Merged
Merged
Conversation
sherlockwu
requested review from
Fridge003,
HaiShaw,
ishandhanani,
ispobock,
rainj-me,
sogalin and
yctseng0211
as code owners
October 5, 2026 22:07
sherlockwu
force-pushed
the
kan/sglang-processor-features
branch
from
October 6, 2026 02:07
3b0ebed to
4505131
Compare
ShangmingCai
approved these changes
Oct 6, 2026
ShangmingCai
left a comment
Collaborator
There was a problem hiding this comment.
Looks good, need a rebase
All three are on by default. A host that only renders and tokenizes, such as sgl-router, can drop `dynamo-parsers` and its ruff/harmony dependency tree. The renderer image's test stage checks that subset. Co-Authored-By: Claude Opus 5.5 <[email protected]>
sherlockwu
force-pushed
the
kan/sglang-processor-features
branch
from
October 6, 2026 16:48
4505131 to
cb9879b
Compare
ishandhanani
approved these changes
Oct 6, 2026
3 tasks done
cursor Bot
pushed a commit
to cipheraxat/sglang
that referenced
this pull request
Oct 9, 2026
…res (sgl-project#42663) Co-authored-by: Kan Wu <[email protected]> Co-authored-by: Claude Opus 5.5 <[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.
sgl-router only needs rendering from
sglang-processor, so it should not have to pull indynamo-parsersand its ruff-parser and openai-harmony dependency tree.Stacked on the layout PR.
Modifications
render,tokenizerandparserfeatures, all on by default. Each one gates its module and its Dynamo crate.render,tokenizersubset.Checks
cargo clippy --all-targets -- -D warningsandcargo testpass for each feature set: none,render,tokenizer,parser,render,tokenizer, and the default.CI States
Latest PR Test (Base): ✅ Run #37498574556
Latest PR Test (Extra): ❌ Run #37498574240
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.