Repository navigation
feat(vllm): publish RL worker metadata - #13607
Conversation
biswapanda
left a comment
There was a problem hiding this comment.
Ported review summary from @connorcarpenter15 on superseded PR #13529:
Left some nit picky comments mainly about tests and helper functions. One question I have is about the new HTTP endpoint. Why do we need this? I thought all control routes were exposed through gRPC.
Original review: #13529 (review)
edbad8d to
ccbe3e6
Compare
ccbe3e6 to
5e2fcbf
Compare
|
RL pieces lgtm. Will hold off on approval until @connorcarpenter15 approves sidecar changes, since we overlap in codeowner groups. |
connorcarpenter15
left a comment
There was a problem hiding this comment.
Overall LGTM, I would just like to defer merging this PR until the vLLM PR lands on main. Do you need help pushing that for review @biswapanda?
WalkthroughThe change adds validated RL admin URLs and worker world size metadata. RL route responses and discovery responses serialize this metadata with protocol version 1. Backend configuration propagates it to RL endpoints. The vLLM sidecar derives metadata from parallelism information and accepts a routable HTTP endpoint. ChangesRL worker metadata
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: 🟠 High · up to The vLLM sidecar may publish an incorrect RL world size when decode-context parallelism is zero or inconsistent, which can create an incorrect weight-transfer group; this correctness issue should be fixed before merge. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description provides a detailed summary, implementation details, dependencies, and validation results. However, it omits the required Related Issues section and does not identify where reviewers should start. Resolution Add the required Related Issues section. Link the relevant issues or confirm that no related issue exists. Add a Where should the reviewer start? section with specific files or components for review, and align the description headings with the repository template where practical. Full details: Docstring CoverageExplanation Docstring coverage is 38.64% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 44 functions across 9 files. (5 skipped: 5 unsupported.)
✨ Finishing Touches 💡 1⚔️ Resolve merge conflicts 💡
Comment |
PR vllm-project/vllm#53204 has landed in vLLM main now |
cb70599 to
3d4230d
Compare
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
e91588c to
207d71b
Compare
|
/ok to test 207d71b |
Signed-off-by: Biswa Panda <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Resolve conflicts from #13607 (publish RL worker metadata), which added `world_size` to `ParallelismInfo` while this branch resynced the vendored vLLM protocol. - proto/control.proto, proto/README.md: keep this branch's copy. It is byte-identical to upstream vLLM 1f9444a3 (2026-08-25), which is newer than main's pin 2991f864 (2026-08-21) and a strict superset of it; main's copy is a pruned vendor that drops `max_loras` and `supports_lora`. Recorded SHA-256 digests already match the files. - mocker/servers/vllm: take main's `world_size: 1`. The mocker hardcodes TP=PP=PCP=1, and `rl_worker_metadata` computes `world_size * data_parallel_size`, so this branch's `world_size: dp_size` reported dp_size^2 as the RL world size. - sidecar/vllm/src/tests.rs: git auto-merged this file without a conflict and stacked both sides' `world_size` into one `ParallelismInfo` literal, which does not compile (E0062). Both sides had chosen 2; dropped the duplicate. Verified on the merged tree: - cargo check --workspace --all-targets (excluding the kvbm CUDA chain, which needs nvcc): clean, no warnings - cargo test -p dynamo-vllm-sidecar --lib: 53 passed, 0 failed Signed-off-by: Julien Darve <[email protected]>
Signed-off-by: Biswa Panda <[email protected]>
Summary
Stack
Supersedes #13529 without changing its reviewed commit history.
Validation
cargo fmt --allcargo test -p dynamo-vllm-sidecar --lib(25 passed)cargo clippy -p dynamo-vllm-sidecar --all-targets -- -D warningsgit diff --checkReview follow-up evidence
Summary by CodeRabbit