-
Notifications
You must be signed in to change notification settings - Fork 2.1k
📏 Completion length logging fix + remainder logging fix #3482
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
Conversation
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. |
Co-authored-by: Quentin Gallouédec <[email protected]>
It seems like the PR isn't working, see the CI |
I'm taking over this PR so that we can have this fix in the next release. |
TLDR: don't use I just found a subtle bug in GRPO (thankfully with no major consequences). Since we’re rewriting the sampler and ensure there’s no remainder (see here), but accelerate doesn’t detect that and assumes a remainder still exists in the dataset. As a result, using |
What does this PR do?
Fixes #3476
I'm testing using this tiny script on two gpus:
for server:
trianing script:
for training:
Before submitting
Pull Request section?
to it if that's the case.
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.