-
Notifications
You must be signed in to change notification settings - Fork 2.1k
🚀 Supporting deepspeed>=0.16.4
's rename
#2963
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
deepspeed>=0.16.4
's rename
TypeError: '>=' not supported between instances of 'list' and 'tuple' |
Thanks a lot @jamesbraza |
by the way, is this change needed as well? #2871 |
Yes, testing it now. Clearly I didn't test this PR previously, as @yeruoforever reported it had a |
Hi @qgallouedec I have completed my validations, this PR is ready for merge. I had to also pull in:
|
Thanks, but I can't see the above mentionned changes. Did you pushed them? |
b96a236
to
320394b
Compare
The other ones I mentioned weren't related to this PR, so they're not here. They are all here: https://github.com/Future-House/trl/tree/working-grpo-2025-02-27 |
320394b
to
f3e48db
Compare
Thanks! Just commit the suggestions and we are good to merge. |
f3e48db
to
a8766fb
Compare
Yeah I always do, but for some reason that checkbox isn't present in this PR's right panel :/ Regardless, PR is ready for review again |
Thanks! |
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. |
deepspeed>=0.16.4
's renamedeepspeed>=0.16.4
's rename
* Added else clause to avoid NameError on optimizer_offload * Accounted for deepspeed's renaming in 0.16.4 * Switched to packaging.version.parse over the (broken) tuple split * Moved from NotImplementedError to RuntimeError in else clause
* Added else clause to avoid NameError on optimizer_offload * Accounted for deepspeed's renaming in 0.16.4 * Switched to packaging.version.parse over the (broken) tuple split * Moved from NotImplementedError to RuntimeError in else clause
Fixes #2962