Repository navigation
Conversation
This was referenced Oct 21, 2026
Contributor
✅ Dynamo PR CI passed — run 41275392215 (attempt 1) on
|
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 21, 2026 05:31
22611b0 to
3bca961
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 21, 2026 05:31
bdd1d9e to
4184504
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 21, 2026 06:30
3bca961 to
8c8f72a
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 21, 2026 06:30
4184504 to
14d65fb
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 21, 2026 06:49
8c8f72a to
b1d3c54
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 21, 2026 06:49
14d65fb to
1b66ee6
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 21, 2026 08:46
1b66ee6 to
7621e81
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 21, 2026 08:46
b1d3c54 to
8042d5e
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 22, 2026 03:01
7621e81 to
5e0d8ee
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 22, 2026 03:01
8042d5e to
05ef3fc
Compare
Aphoh
added a commit
that referenced
this pull request
Oct 22, 2026
Unify native SGLang and vLLM generate routes through backend-owned format plugins and the shared HTTP lifecycle. Include SGLang migration, the external Base64+zstd codec example, generic agent tracing, and the one-token P/D expert preservation fix. Squash the complete #16983 -> #16977 -> #16978 -> #16997 stack without changing its tested source tree. Original stack head: c6c1c80. Refs: #16675, #16674, #16640 Fixes: #16762 Co-authored-by: gongshaotian <gstian5555@outlook.com> Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 22, 2026 04:51
05ef3fc to
d87a60c
Compare
Aphoh
added a commit
that referenced
this pull request
Oct 22, 2026
Unify native SGLang and vLLM generate routes through backend-owned format plugins and the shared HTTP lifecycle. Include SGLang migration, the external Base64+zstd codec example, generic agent tracing, and the one-token P/D expert preservation fix. Reuse SSE serialization buffers and move consumed prompt snapshots to remove measured frontend CPU overhead. Squash the complete #16983 -> #16977 -> #16978 -> #16997 stack without changing its tested source tree. Stack head: d382dd1. Refs: #16675, #16674, #16640 Fixes: #16762 Co-authored-by: gongshaotian <gstian5555@outlook.com> Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 22, 2026 04:51
5e0d8ee to
780fdff
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 22, 2026 07:56
d87a60c to
80c1c33
Compare
Aphoh
added a commit
that referenced
this pull request
Oct 22, 2026
Unify native SGLang and vLLM generate routes through backend-owned format plugins and the shared HTTP lifecycle. Include SGLang migration, the external Base64+zstd codec example, generic agent tracing, and the one-token P/D expert preservation fix. Reuse SSE serialization buffers and move consumed prompt snapshots to remove measured frontend CPU overhead. Preserve one-token vLLM prompt logprobs and fill missing native token labels. Squash the complete #16983 -> #16977 -> #16978 -> #16997 stack without changing its tested source tree. Stack head: 5e09cf5. Refs: #16675, #16674, #16640 Fixes: #16762, #17088 Co-authored-by: gongshaotian <gstian5555@outlook.com> Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 22, 2026 07:56
780fdff to
3869390
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 22, 2026 09:23
80c1c33 to
60e2f34
Compare
Aphoh
added a commit
that referenced
this pull request
Oct 22, 2026
Unify native SGLang and vLLM generate routes through backend-owned format plugins and the shared HTTP lifecycle. Include SGLang migration, the external Base64+zstd codec example, generic agent tracing, and the one-token P/D expert preservation fix. Reuse SSE serialization buffers and move consumed prompt snapshots to remove measured frontend CPU overhead. Preserve one-token vLLM prompt logprobs and fill missing native token labels. Squash the complete #16983 -> #16977 -> #16978 -> #16997 stack without changing its tested source tree. Stack head: c541550. Remove duplicate vLLM sampling declarations and response-finalization plumbing. Refs: #16675, #16674, #16640 Fixes: #16762, #17088 Co-authored-by: gongshaotian <gstian5555@outlook.com> Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 22, 2026 10:07
60e2f34 to
b3e8f27
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 22, 2026 10:07
154e998 to
f62c303
Compare
Aphoh
added a commit
that referenced
this pull request
Oct 22, 2026
Unify native SGLang and vLLM generate routes through backend-owned format plugins and the shared HTTP lifecycle. Include SGLang migration, the external Base64+zstd codec example, generic agent tracing, and the one-token P/D expert preservation fix. Reuse SSE serialization buffers and move consumed prompt snapshots to remove measured frontend CPU overhead. Preserve one-token vLLM prompt logprobs and fill missing native token labels. Squash the complete #16983 -> #16977 -> #16978 -> #16997 stack without changing its tested source tree. Stack head: b2de7a8. Remove duplicate vLLM sampling declarations and response-finalization plumbing. Refs: #16675, #16674, #16640 Fixes: #16762, #17088 Remove RL-only sidecar rolling-upgrade shims; use current plugin projections and transparent sampling serialization. CPU validation: 338 tests, strict Clippy and pre-commit. Co-authored-by: gongshaotian <gstian5555@outlook.com> Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 23, 2026 02:59
b3e8f27 to
d008f44
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 23, 2026 02:59
f62c303 to
4cb9de3
Compare
Aphoh
added a commit
that referenced
this pull request
Oct 23, 2026
Unify native SGLang and vLLM generate routes through backend-owned plugins and the shared HTTP lifecycle. Include SGLang migration, the external Base64+zstd codec example, agent tracing, and vLLM prompt-logprob fixes. Remove duplicate sampling/finalization code and RL-only rolling-upgrade shims. Include the review fixes for route-test isolation and multimodal fallback fixtures. Preserve upstream live request/token metrics and SGLang HTTP connection retirement while removing the superseded generate handlers. Single-commit snapshot of #16983 -> #16977 -> #16978 -> #16997. Stack head: 1d59b49. Upstream parent: fc9b996. Refs: #16675, #16674, #16640 Fixes: #16762, #17088 Co-authored-by: gongshaotian <gstian5555@outlook.com> Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 23, 2026 07:48
4cb9de3 to
870a83a
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 23, 2026 07:48
d008f44 to
f50c73a
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 26, 2026 08:29
870a83a to
e4a0219
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 26, 2026 08:29
f50c73a to
dcadd04
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
2 times, most recently
from
October 28, 2026 06:36
bd5ff03 to
b8c26ef
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
2 times, most recently
from
October 29, 2026 04:31
13d540f to
f046df7
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 29, 2026 04:31
b8c26ef to
9fa9d00
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
October 30, 2026 04:41
f046df7 to
d2f3969
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
October 30, 2026 04:41
9fa9d00 to
bd951d8
Compare
Contributor
Author
|
/ok to test bd951d8 |
Aphoh
force-pushed
the
warnold/sglang-generate-migration
branch
from
November 1, 2026 03:45
d2f3969 to
3c596fd
Compare
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
November 1, 2026 03:45
bd951d8 to
9885500
Compare
Contributor
Author
|
/ok to test 9885500 |
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
November 1, 2026 04:34
9885500 to
eabc895
Compare
Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Signed-off-by: William Arnold <7565007+Aphoh@users.noreply.github.com>
Signed-off-by: William Arnold <warnold@nvidia.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Aphoh
force-pushed
the
warnold/sglang-generate-zstd-example
branch
from
November 1, 2026 05:02
eabc895 to
ae4af98
Compare
Contributor
Author
|
/ok to test ae4af98 |
This branch has not been deployed
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.
Based directly on
main(after #16983 merged). It does not depend on #16977 or #16997.Summary
Add an external SGLang catalog for workers that emit
Base64(zstd(bytes))inmeta_info.routed_experts. Aggregated unary and SSE responses preserve the worker's encoded value unchanged. Only the prefill/decode join decompresses the two payloads, replaces decode's stale prompt rows with prefill's prefix, and recompresses the joined result for the client. Stock SGLang requires a producer change to emit this encoding.Implement the existing SGLang
ClientCodectrait from #16983. Override sequence joining for routed experts and inherit native Base64 joining for other fields and request handling. Missing or corrupt P/D sequence data follows the native omission policy. This PR changes only the standalone example; it makes no production API or testkit changes.The standalone example extends the built-in catalog and is selected with
DYN_GENERATE_FORMAT=sglang-zstd. The example owns a simulated worker that compresses engine output, so inherited property laws exercise compressed data throughout P/D and migration.All changes are in the SGLang-owned format tree.
Part of #16675. Part of #16674.
Validation
DYN_GENERATE_FORMAT=sglang-zstd.Incremental diff: eight files, +384 / -17. CPU and simulated-worker validation only; no GPU or rebuilt-wheel qualification is claimed.