Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip now failing test in the Trainer tests #28421

Merged
merged 2 commits into from
Jan 10, 2024
Merged

Conversation

muellerzr
Copy link
Contributor

What does this PR do?

huggingface/accelerate#2319 introduced a revert on the DataLoader sampling logic to not use a SeedableRandomSampler by default as users were taken aback by the performance differences, so we've set it to False by default. This test is now back to its old way, where it was failing for ages.

As noted in the skip, one of my next items to hit is a configuration for Accelerator that can be passed to the TrainingArguments that can customize this, but for now it's not the case.

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@ArthurZucker

@muellerzr muellerzr requested a review from ArthurZucker January 9, 2024 19:53
@muellerzr muellerzr changed the title Fix now failing test in the Trainer tests Skip now failing test in the Trainer tests Jan 9, 2024
Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Alright thanks for the explanation

@muellerzr muellerzr merged commit a777f52 into main Jan 10, 2024
18 checks passed
@muellerzr muellerzr deleted the fix-resume-with-randomness branch January 10, 2024 11:02
staghado pushed a commit to staghado/transformers that referenced this pull request Jan 15, 2024
MadElf1337 pushed a commit to MadElf1337/transformers that referenced this pull request Jan 15, 2024
wgifford pushed a commit to wgifford/transformers that referenced this pull request Jan 21, 2024
AjayP13 pushed a commit to AjayP13/transformers that referenced this pull request Jan 22, 2024
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.

2 participants