-
Notifications
You must be signed in to change notification settings - Fork 93
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
[Training] Unifying Preprocess + Postprocessing logic for Train/Oneshot #1212
base: main
Are you sure you want to change the base?
Conversation
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed. |
Signed-off-by: George Ohashi <[email protected]>
Signed-off-by: George Ohashi <[email protected]>
…nto processing Signed-off-by: George Ohashi <[email protected]>
: Signed-off-by: George Ohashi <[email protected]>
Order of reviews: #1206 <-- Here #1207 #1209 #1212 #1214 SUMMARY: Rename data_args to dataset_args TEST PLAN: Pass tests FInd `data_args` using `grep` --------- Signed-off-by: George Ohashi <[email protected]> Co-authored-by: Dipika Sikka <[email protected]>
model_args: ModelArguments, | ||
dataset_args: DatasetArguments, | ||
recipe_args: RecipeArguments, | ||
training_args: TrainingArguments, | ||
model_args, | ||
dataset_args, | ||
recipe_args, | ||
training_args, |
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.
why remove the type hints here?
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.
circular import
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.
With what?
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.
Parse_args from init in llmcompressor.args.
Also this main function will be killed when stage runner is removed, so type annotation here is not a priority compared to module structure to put logic outside of /transformers modules
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.
Circular import but we're still importing them at the top?
from llmcompressor.args import ( |
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.
Oh nice, must have been a different PR. Added back!!
model_args: ModelArguments, | ||
dataset_args: DatasetArguments, | ||
recipe_args: RecipeArguments, | ||
training_args: TrainingArguments, | ||
model_args, | ||
dataset_args, | ||
recipe_args, | ||
training_args, |
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.
With what?
Order of reviews:
#1206
#1207
#1209
#1212 <-- Here
#1214
SUMMARY:
src/llmcompressor/transformers/finetune/text_generation.py
and intosrc/llmcompressor/entrypoints/utils.py
TEST PLAN:
Pass tests