Repository navigation
Conversation
Author
|
/ok to test 879688d |
aoshen02
force-pushed
the
feat/multi-server-group
branch
from
August 6, 2026 09:59
879688d to
e99ee59
Compare
Author
|
/ok to test e99ee59 |
Adds policy.generation.server_groups: N named VllmGeneration replica groups of one policy (e.g. low-latency + high-throughput) on disjoint GPUs, each with its own vllm_cfg/vllm_kwargs overrides and RayVirtualCluster. MultiVllmGeneration fans lifecycle calls out to the groups; refit joins every group into the single train+inference NCCL broadcast world via per-group rank_offset, so one broadcast updates all groups. NeMo Gym receives the flat concatenation of all group URLs. v1 scope: GRPO + NeMo Gym, non-colocated, default NCCL refit (asserted in setup). Unset server_groups leaves all existing paths unchanged. Co-authored-by: Claude Fable 5 <[email protected]> Signed-off-by: aoshen02 <[email protected]>
aoshen02
force-pushed
the
feat/multi-server-group
branch
from
August 6, 2026 10:14
e99ee59 to
decfb20
Compare
Author
|
/ok to test decfb20 |
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.
Summary
Adds optional heterogeneous vLLM server groups for NeMo Gym. Each named group gets a disjoint GPU budget and may override only
vllm_cfgandvllm_kwargs; the existing GRPO/Gym lifecycle and refit path remain unchanged.Without
policy.generation.server_groups, the default path is unchanged and no multi-group code runs. With groups enabled, their HTTP endpoints are flattened into the existing NeMo Gympolicy_base_urllist.Configuration
Example:
All groups inherit the common model, context length, HTTP-server, and refit settings. Groups join one NCCL broadcast world using disjoint rank ranges, so one refit updates every group.
Reproduction
git clone https://github.com/NVIDIA-NeMo/RL.git cd RL git fetch origin pull/3520/head:pr-3520 git checkout pr-3520This uses Qwen/Qwen3-0.6B, the official Workplace Assistant dataset, two GRPO steps, four training GPUs, and eight inference GPUs across three GB200 nodes. The effective groups are
low_latency(TP=1, four replicas) andhigh_throughput(TP=4, one replica), for five HTTP endpoints.Validation
Job 12674 completed with exit code 0.
/tokenizeprobes passed.Raw validation artifacts: GitHub Gist
Scope
v1 supports GRPO + NeMo Gym, the vLLM backend, non-colocated inference, the default NCCL refit transport, no
cluster.segment_size, and groups that each fit within one node. Same-node port contention is handled by the existing bind-retry behavior.Checks
[email protected] check/format: clean.[email protected]: 0 errors.AI-assisted (Claude); every changed line was reviewed by the submitter.