Repository navigation
Changes to support fsdp+qlora and dsz3+qlora - #1550
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. |
younesbelkada
left a comment
There was a problem hiding this comment.
Great work thanks @pacman100 ! 🚀
younesbelkada
left a comment
There was a problem hiding this comment.
Left few nits on the docs
There was a problem hiding this comment.
Thanks a lot for the amount of work you put into this, Sourab, to show how users can get DS Z3 to work with QLoRA.
I think there are a few issues in the descriptions, but nothing major, please take a look. Also, this requires the most recent version of bnb, right? Also, not sure, but probably requires accelerate, trl and transformers from source? Could be useful to mention the version requirements in the docs.
Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
Addressed this in the latest commit. |
BenjaminBossan
left a comment
There was a problem hiding this comment.
Thanks for addressing the comments, this looks great.
* changes to support fsdp+qlora and dsz3+qlora * address comments * add example and start docs * quality * deepspeed fixes * dsz3+qlora docs * section link fix * add fsdp+qlora docs * Apply suggestions from code review Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> * address comments --------- Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
* changes to support fsdp+qlora and dsz3+qlora * address comments * add example and start docs * quality * deepspeed fixes * dsz3+qlora docs * section link fix * add fsdp+qlora docs * Apply suggestions from code review Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> * address comments --------- Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
What does this PR do?
unit8as users can now use half or full precision in scenarios like FSDP+QLoRA. As such, this PR fixes the calculation of the number of parameters.