Skip to content

fix(training): apply DROID RLDS shuffle only when enabled#997

Open
Bartok9 wants to merge 1 commit into
Physical-Intelligence:mainfrom
Bartok9:salvage/openpi-746-conditional-shuffle
Open

fix(training): apply DROID RLDS shuffle only when enabled#997
Bartok9 wants to merge 1 commit into
Physical-Intelligence:mainfrom
Bartok9:salvage/openpi-746-conditional-shuffle

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 11, 2026

Copy link
Copy Markdown

Summary

  • Gate final_dataset.shuffle(...) on the existing shuffle constructor argument in droid_rlds_dataset.py.

Motivation

DroidRldsDataset(shuffle=False) still shuffled after dataset mixing. That breaks deterministic evaluation / debugging.

Salvage of #746 by @zavidnyi — rebased to current main (original PR conflicted).

Verification

  • Diff is a single conditional around the existing shuffle_buffer_size call
  • self.shuffle = shuffle now matches actual pipeline behavior

Attribution

Salvage of #746 by @zavidnyi — rebased to main

Salvage of Physical-Intelligence#746 by @zavidnyi — rebased to main.

The constructor exposes shuffle= but always shuffled the concatenated
dataset. Gate dataset.shuffle on the flag so evaluation can be deterministic.
@Bartok9 Bartok9 requested a review from kvablack as a code owner July 11, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant