Skip to content
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

Fix End Epoch Default #39

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Fix End Epoch Default #39

merged 2 commits into from
Jul 25, 2024

Conversation

Satrat
Copy link
Contributor

@Satrat Satrat commented Jul 25, 2024

SUMMARY:
In the port from sparseml -> llm-compressor, the default start and end epochs were changed from None to -1. This was causing all modifiers without a specific end to immediately terminate.

Changing the default back to None fixed the issue, but also revealed some additional issues with the distillation modifier which was previously not running in the tests

TEST PLAN:
All tests passing, added additional check to unit test for sparsity being maintained after constant pruning (previously we were only testing repeated runs of sparsegpt preserve sparsity)

@Satrat Satrat merged commit d5be854 into main Jul 25, 2024
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants