Skip to content

Conversation

@SunMarc
Copy link
Member

@SunMarc SunMarc commented Oct 6, 2025

What does this PR do?

This PR removes local_rank from TrainingArguments. This arg can be safely replaced by local_process_index. This arg was never meant to be set and was supposed to be there to be overwritten by torch distributed.

@HuggingFaceDocBuilderDev

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.

Copy link
Member

@Cyrilvallez Cyrilvallez left a comment

Choose a reason for hiding this comment

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

Yes, again happy to remove those old legacy arguments!

@SunMarc SunMarc merged commit 0419ff8 into main Oct 9, 2025
26 checks passed
@SunMarc SunMarc deleted the rm-local-index branch October 9, 2025 16:54
@SunMarc
Copy link
Member Author

SunMarc commented Oct 10, 2025

Reverted in the end here : #41504

AhnJoonSung pushed a commit to AhnJoonSung/transformers that referenced this pull request Oct 12, 2025
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.

4 participants