Repository navigation
[Data] Always pin the seed when doing file-based random shuffle - #50924
Merged
Merged
Conversation
raulchen
approved these changes
Feb 27, 2025
raulchen
left a comment
Contributor
There was a problem hiding this comment.
LGTM. but you seemed to put the wrong title for this PR
alexeykudinkin
force-pushed
the
ak/rnd-fls-shfl-fx
branch
from
February 27, 2025 21:45
3ffe109 to
dec9915
Compare
raulchen
enabled auto-merge (squash)
February 27, 2025 21:47
alexeykudinkin
force-pushed
the
ak/rnd-fls-shfl-fx
branch
from
February 28, 2025 01:26
afabea6 to
6e427b4
Compare
Signed-off-by: Alexey Kudinkin <[email protected]>
Signed-off-by: Alexey Kudinkin <[email protected]>
Signed-off-by: Alexey Kudinkin <[email protected]>
Signed-off-by: Alexey Kudinkin <[email protected]>
Signed-off-by: Alexey Kudinkin <[email protected]>
alexeykudinkin
force-pushed
the
ak/rnd-fls-shfl-fx
branch
from
March 8, 2025 04:10
2d40b29 to
1b374aa
Compare
qinyiyan
pushed a commit
to qinyiyan/ray
that referenced
this pull request
Mar 13, 2025
…project#50924) ## Why are these changes needed? Right now we're not pinning seed unless it's provided which could lead to non-determinism when tasks are retried. Instead we always pin the seed to either of - User-specified seed - `time.time()` --------- Signed-off-by: Alexey Kudinkin <[email protected]>
park12sj
pushed a commit
to park12sj/ray
that referenced
this pull request
Mar 18, 2025
…project#50924) ## Why are these changes needed? Right now we're not pinning seed unless it's provided which could lead to non-determinism when tasks are retried. Instead we always pin the seed to either of - User-specified seed - `time.time()` --------- Signed-off-by: Alexey Kudinkin <[email protected]>
dhakshin32
pushed a commit
to dhakshin32/ray
that referenced
this pull request
Mar 27, 2025
…project#50924) ## Why are these changes needed? Right now we're not pinning seed unless it's provided which could lead to non-determinism when tasks are retried. Instead we always pin the seed to either of - User-specified seed - `time.time()` --------- Signed-off-by: Alexey Kudinkin <[email protected]> Signed-off-by: Dhakshin Suriakannu <[email protected]>
wingkitlee0
added a commit
to wingkitlee0/ray
that referenced
this pull request
Mar 17, 2026
We set use_timestamp_as_default=True to pin the seed at plan time so that retried shuffle tasks produce the same output. See ray-project#50924. Signed-off-by: Kit Lee <[email protected]>
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.
Why are these changes needed?
Right now we're not pinning seed unless it's provided which could lead to non-determinism when tasks are retried.
Instead we always pin the seed to either of
time.time()Related issue number
Checks
git commit -s) in this PR.scripts/format.shto lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/under thecorresponding
.rstfile.