SGLang Sidecar
Experimental. The sidecars and their deployment examples are experimental. Manifests, flags, and behavior may change without notice.
dynamo-sglang-sidecar connects a Dynamo worker to SGLang’s Rust server
(SGLANG_RUST_SERVER=1, SGLang v0.5.23 or later) through its native gRPC
service, sglang.api.v1. See
Sidecar Backends
for the architecture.
For the best and latest support, use the upstream SGLang nightly image,
which carries the latest gRPC server updates: lmsysorg/sglang:dev.
Launch Locally
See lib/sidecar/sglang/launch/
for all topologies. For example, aggregated serving on one GPU:
The scripts start SGLang with SGLANG_RUST_SERVER=1.
In a second terminal:
Deploy on Kubernetes
See lib/sidecar/sglang/deploy/
for all manifests. For example, aggregated serving:
Before applying, replace <your-registry>/dynamo-sidecar in the manifest with a
sidecar image and create the hf-token-secret
Secret that the manifest reads.
For multinode, see the TP example and the attention-DP example.
Topologies
The frontend reaches each sidecar over Dynamo’s request, discovery, and event planes; the sidecar reaches the engine over its native gRPC API. Dashed arrows carry KV events.
Single-Node TP
One engine on one node, with one sidecar.
Multi-Node TP
One engine spans two nodes. Only the leader node has a sidecar; the follower node holds the remaining TP ranks.
Multi-Node DP
Attention DP across two nodes, with one sidecar per node (shown with DP=4, two ranks per node).