-
Notifications
You must be signed in to change notification settings - Fork 116
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
integrate Liger into training #275
Conversation
khai-meetkai
commented
Oct 18, 2024
•
edited
Loading
edited
- integrate https://github.com/linkedin/Liger-Kernel into training, this can reduce the memory and speed.
- Also update the versions for requirements
- Refactor train.py and train_lora.py
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.
Non-approval before I test liger with LoRA
functionary/train/train_lora.py
Outdated
@@ -98,6 +98,10 @@ class TrainingArguments(transformers.TrainingArguments): | |||
default="v2", metadata={"help": "choose prompt template to use for training"} | |||
) | |||
|
|||
use_liger: bool = field( | |||
default=False, metadata={"help": "Whether use liger or not"} |
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.
Add Triton supported hardware here for users to be informed of this restriction. https://github.com/triton-lang/triton?tab=readme-ov-file#compatibility
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.
^