-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add Quantization then finetune tests #964
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. |
/ready |
@@ -18,11 +23,6 @@ def setUp(self): | |||
self.output = Path("./finetune_output") | |||
|
|||
def test_oneshot_then_finetune(self): |
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.
test_sparsification_then_finetune
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.
or move the recipe to an argument
parameterize or make functions, test_sparsification_then_finetune, test_quantization_then_finetune, test_oneshot_then_finetune, the latter is called by the first two
Contingent on merge of huggingface/transformers#34719
SUMMARY:
Add test to
Model must be run_compressed = False to run
Also fix a bug where in log_sparsification, the layer name is not being recognized so fails. Here nothting is being sparsified, so num params is set to zero