Skip to content

Conversation

@jlamypoirier
Copy link
Collaborator

@jlamypoirier jlamypoirier commented Jan 7, 2026

✨ Description

Changes extracted from #428 that do not directly relate to pipeline RL, most implortantly:

  • Generalize distributed dim creation to handle non-trivial strides, ex. tensor_and_sequence_data with pipeline_first and model_and_sequence_data.
  • Improve distributed test utils to make usage much simpler. The new version handles the boilerplate for running multiple "subtests" within one distributed run, and uses torch.multiprocessing.spawn instead of a subprocess call, which eliminates the need for independent scripts.

@jlamypoirier jlamypoirier marked this pull request as ready for review January 7, 2026 04:49
@jlamypoirier jlamypoirier changed the title Distributed and testing teaks Distributed and testing tweaks Jan 8, 2026
@jlamypoirier jlamypoirier merged commit 91b28fa into main Jan 13, 2026
4 checks passed
@jlamypoirier jlamypoirier deleted the jlp_subtest branch January 13, 2026 01:08
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.

3 participants