-
Notifications
You must be signed in to change notification settings - Fork 72
open source delta loss #1300
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
open source delta loss #1300
Conversation
for more information, see https://pre-commit.ci
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.
Pull request overview
This PR adds delta loss functionality to the auto-round quantization scheme system, making it the default AutoScheme method.
Changes:
- Introduces a new delta loss-based auto scheme implementation with gradient computation and dynamic programming optimization
- Updates the auto_scheme module to import and register the delta loss method as the default
- Implements three wrapper classes for different quantization scenarios (standard, GGUF-K, GGUF-K with imatrix)
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| auto_round/auto_scheme/delta_loss.py | New file implementing delta loss computation, score-based layer configuration, and dynamic programming for optimal bit allocation |
| auto_round/auto_scheme/init.py | Simplified module initialization by importing delta_loss and removing lazy-loading of AUTO_SCHEME_METHODS |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
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.
Pull request overview
Copilot reviewed 2 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]> (cherry picked from commit 587eadb)
No description provided.