Skip to content

[rust-renderer] sglang-processor lib - #41896

Merged
merrymercy merged 22 commits into
sgl-project:mainfrom
sagearc:renderer-processor-split
Sep 30, 2026
Merged

merrymercy merged 22 commits into
sgl-project:mainfrom
sagearc:renderer-processor-split

Conversation

@sagearc

@sagearc sagearc commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor
  • split out rust/sglang-processor: the renderer's library code (preprocessing, templates, tokenization, output parsing), wrapping dynamo crates, with nothing else in the crate.
  • rust/sglang-renderer: temporal state

CI States

Latest PR Test (Base): ⏳ Run #36776798524
Latest PR Test (Extra): ❌ Run #36777603744
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.

@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file deepseek labels Sep 30, 2026
@rainj-me

Copy link
Copy Markdown
Collaborator

Overall comments:

  1. split the pr to sglang-processor and sglang-render-server(temp crate, need to deprecate once we move the code the sgl-router).
  2. all files not relevant the goal of wrapper to dynamo frontend-crates, we should remove from the sglang-processor crate.

… we should remove from the sglang-processor crate

Signed-off-by: Sage Ahrac <[email protected]>
@sagearc
sagearc marked this pull request as draft September 30, 2026 18:52
@sagearc
sagearc force-pushed the renderer-processor-split branch 3 times, most recently from c97bbe0 to 38cbb3f Compare September 30, 2026 19:43
@sagearc
sagearc force-pushed the renderer-processor-split branch 5 times, most recently from 5203c79 to a1941c7 Compare September 30, 2026 19:49
@sagearc
sagearc force-pushed the renderer-processor-split branch from a1941c7 to 4797065 Compare September 30, 2026 19:50
Signed-off-by: Sage Ahrac <[email protected]>
Signed-off-by: Sage Ahrac <[email protected]>
Signed-off-by: Sage Ahrac <[email protected]>
Signed-off-by: Sage Ahrac <[email protected]>
Signed-off-by: Sage Ahrac <[email protected]>
@sagearc
sagearc marked this pull request as ready for review September 30, 2026 20:43
Signed-off-by: Sage Ahrac <[email protected]>
Signed-off-by: Sage Ahrac <[email protected]>
@rainj-me rainj-me added the run-ci CI: run the baseline test suite on this PR label Sep 30, 2026
@sagearc

sagearc commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

/rerun-failed-ci

@merrymercy
merrymercy merged commit 8e4bcc5 into sgl-project:main Sep 30, 2026
143 of 175 checks passed
@sagearc
sagearc deleted the renderer-processor-split branch October 1, 2026 11:23
hickeyma added a commit to hickeyma/sglang that referenced this pull request Oct 6, 2026
The rebase onto main dropped TextTokenizer::decode and
DynamoTokenizer::decode because both moved into sglang-processor
with sgl-project#41896 and sgl-project#42662. The pool still called decode, so the branch
stopped compiling.

Add both back in sglang-processor. A failed decode returns
InvalidRequest, so bad input still gets a 400. The pool worker
converts the error to RendererError and the test mocks now return
ProcessorError.

Signed-off-by: Martin Hickey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepseek dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants