Repository navigation
Unseeded vLLM rollout workers draw from non-deterministic PRNGs across runs, while passing a single constant seed across multi-replica deployments causes every replica to generate correlated rollout streams. - #3498
Open
copybara-service[bot] wants to merge 1 commit into
Conversation
…s runs, while passing a single constant seed across multi-replica deployments causes every replica to generate correlated rollout streams. - Add `rollout_config.seed: 42` to `base_dist_config.yaml` with non-negative `int | null` validation in `resolve_config` (leaving `null` to opt out). - Extract `node_utils.rollout_replica_index(hp)` from `worker_id` and derive each rollout replica's 32-bit seed via `tunix.common.configs.replica_seed` in `dist_rl/launch/nodes/rollout.py` (plus `"seed"` in `_FORBIDDEN_ROLLOUT_KWARGS` and updated rollout constructor goldens). PiperOrigin-RevId: 1017535113
copybara-service
Bot
requested review from
abheesht17,
hgao327,
jiangyangmu,
lc5211,
s-noghabi,
sizhit2,
tianshub and
wang2yn84
as code owners
December 1, 2026 01:16
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.
Unseeded vLLM rollout workers draw from non-deterministic PRNGs across runs, while passing a single constant seed across multi-replica deployments causes every replica to generate correlated rollout streams.
rollout_config.seed: 42tobase_dist_config.yamlwith non-negativeint | nullvalidation inresolve_config(leavingnullto opt out).node_utils.rollout_replica_index(hp)fromworker_idand derive each rollout replica's 32-bit seed viatunix.common.configs.replica_seedindist_rl/launch/nodes/rollout.py(plus"seed"in_FORBIDDEN_ROLLOUT_KWARGSand updated rollout constructor goldens).