-
Notifications
You must be signed in to change notification settings - Fork 834
feat(runtimes): Add LoRA/QLoRA/DoRA support in LLM Trainer V2 #2832
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
feat(runtimes): Add LoRA/QLoRA/DoRA support in LLM Trainer V2 #2832
Conversation
@Electronic-Waste: GitHub didn't allow me to request PR reviews from the following users: kubeflow/kubeflow-trainer-team. Note that only kubeflow members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Pull Request Test Coverage Report for Build 18493960817Details
💛 - Coveralls |
/milestone v2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Electronic-Waste!
Please rebase your PR.
fb151ff
to
474ed47
Compare
@andreyvelich Thanks for your detailed review. I've addressed all of them. If you have any other questions, please don't hesitate to tell me:) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andreyvelich Thanks for your detailed review. I've refactored getNumProcPerNode
as you requested:)
@andreyvelich I've refactored the code. It looks tidier now. PTAL if you have time |
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
Signed-off-by: Electronic-Waste <2690692950@qq.com>
1e23622
to
b52e671
Compare
/retest |
1 similar comment
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Electronic-Waste!
/lgtm
/approve
/hold in case @astefanutti or @tenzen-y want to give additional comments.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/lgtm Thanks @Electronic-Waste! |
/hold cancel |
What this PR does / why we need it:
This PR adds support for LoRA/QLoRA/DoRA in LLM Trainer V2.
I tested it with scripts:
Results:
/cc @kubeflow/kubeflow-trainer-team @kubeflow/wg-training-leads @kramaranya @szaher @deepanker13 @franciscojavierarceo @varodrig @rudeigerc
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #2505
Checklist: