Skip to content

Conversation

@wenhuach21
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 20, 2026 02:31
Copy link
Contributor

Copilot AI left a 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.

@wenhuach21 wenhuach21 closed this Jan 20, 2026
@wenhuach21 wenhuach21 deleted the open_delta_loss branch January 20, 2026 02:35
@wenhuach21 wenhuach21 restored the open_delta_loss branch January 20, 2026 02:45
@wenhuach21 wenhuach21 reopened this Jan 20, 2026
@wenhuach21 wenhuach21 requested a review from Copilot January 20, 2026 02:46
Copy link
Contributor

Copilot AI left a 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.

@chensuyue chensuyue merged commit 587eadb into main Jan 20, 2026
28 checks passed
@chensuyue chensuyue deleted the open_delta_loss branch January 20, 2026 13:37
chensuyue pushed a commit that referenced this pull request Jan 20, 2026
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)
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.

3 participants