Skip to content

Conversation

qubvel
Copy link
Contributor

@qubvel qubvel commented Apr 23, 2025

This PR aims to make iterating over splits a bit more intuitive, at least in my opinion. Open to feedback though! If the current behavior was intentional, feel free to close.

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@clefourrier
Copy link
Member

Iirc, behavior is legacy from when we were doing DP by hand, hence using split start/end indices combined rank to get correct DP across workers

@qubvel qubvel marked this pull request as ready for review April 29, 2025 08:26
Copy link
Member

@NathanHB NathanHB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not know about Subset thanks !

@NathanHB NathanHB merged commit d146f9b into huggingface:main May 5, 2025
4 checks passed
hynky1999 pushed a commit that referenced this pull request May 22, 2025
This PR aims to make iterating over splits a bit more intuitive, at least in my opinion. Open to feedback though! If the current behavior was intentional, feel free to close.

---------

Co-authored-by: Nathan Habib <[email protected]>
NathanHB added a commit that referenced this pull request Sep 19, 2025
This PR aims to make iterating over splits a bit more intuitive, at least in my opinion. Open to feedback though! If the current behavior was intentional, feel free to close.

---------

Co-authored-by: Nathan Habib <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants