Repository navigation
feat(rl): add Slime external rollout example - #12856
Conversation
|
73a9b00 to
84babe1
Compare
84babe1 to
a725151
Compare
Signed-off-by: William Arnold <[email protected]>
Signed-off-by: William Arnold <[email protected]>
athreesh
left a comment
There was a problem hiding this comment.
can you create a slime specific guide in docs :) similar to verl and nemo-rl
Signed-off-by: William Arnold <[email protected]>
Signed-off-by: William Arnold <[email protected]>
dagil-nvidia
left a comment
There was a problem hiding this comment.
Approving.
This holds up. The manifest validates clean against the live v1beta1 DynamoGraphDeployment schema, and every assumption dynamo_generate.py makes about Slime checks out at the pinned commit: generate_streaming has the signature the adapter calls, it builds http://{args.sglang_router_ip}:{args.sglang_router_port}/generate, which is exactly why overriding those two attributes redirects generation and why rejecting https:// is right, and abort_mode matches. emit_codeowners.py reproduces CODEOWNERS and CONTRIBUTORS.md with zero drift. Loading the sidecar in-process through SGLang's --sidecar instead of running a second container is the right call while there is no published sidecar image.
Three non-blocking items.
Boundary Checklist: examples/rl/slime/README.md:160 closes the Current Boundary list with "Make sure that the system recovers", in the same section that says the example does not support external-engine fault recovery. Someone working the checklist hits a step that cannot pass. slime.md already has the right version, so I would lift its steps 5 and 6 over.
Link Follow-Up: the three examples/README.md#integration-examples links in slime.md and integration-reference.md render text promising examples/rl/slime/. Keeping lychee green before that directory exists on main is the right tradeoff, but worth a tracked follow-up to repoint them after this merges, or they stay indirect forever.
SGLang Floor: Prerequisites do not name a minimum SGLang version. lib/sidecar/sglang/README.md puts the native gRPC server at v0.5.16+, and the manifest passes --grpc-port. The Dynamo sglang-runtime image covers it, so this is a save-someone-a-debug line, not a real gap.
One process note. Full CI has not run against e7faee9: backend-status-check, dynamo-status-check, and deploy-status-check are all missing because pull-request/12856 is still sitting at 84babe15. That needs a fresh /ok to test e7faee9 before this can merge.
|
/ok to test e7faee9 |
(#15011) Signed-off-by: Ishan Dhanani <[email protected]> Signed-off-by: William Arnold <[email protected]> Co-authored-by: William Arnold <[email protected]> Co-authored-by: Ryan McCormick <[email protected]> Co-authored-by: Zero Rains <[email protected]>
Summary
dynamo.sglang.sidecarin one Dynamo SGLang runtime container.runtimeVersionOverridemust use the same Dynamo version.nvidia.com/gpuresource on clusters that use the NVIDIA device plugin.engine-0andengine-1Services.--rollout-external-engine-addrsaddresses./generateroute.examples/rl/to the RL team.Validation
mainatebedc6cc13.Qwen/Qwen3-0.6Bwithdynamo-frontend:1.4.2andsglang-runtime:1.4.2./v1/modelsand/v1/chat/completionsroutes returned HTTP 200.1.5.0.dev20260903frontend and SGLang runtime images.successful.dynamo.sglang.sidecarstarted native gRPC discovery.4c193f1against both worker sets.regularengines./generateroute returned HTTP 200.git diff --checkcommand passed.bash -n examples/rl/slime/deploy-dynamo.sh examples/rl/slime/launch-slime.shcommand passed.main.CODEOWNERSfile matches.github/codeowners/areas.yaml.Limitations
sglang-runtime:1.5.0image is not available./generateroute returned HTTP 200.GenerateReqInput.batch_sizebefore request normalization./generateroute separately.nvidia.com/gpu.