refactor algorithm cli - #2140
Open
n1ck-guo wants to merge 8 commits into
Open
Conversation
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Signed-off-by: n1ck-guo <heng.guo@intel.com> # Conflicts: # test/unit/test_cuda/transform/test_spinquant.py
…d TypeError - Revert the strict TypeError raised for kwargs that don't match the selected alg_configs (e.g. disable_opt_rtn passed with a non-RTN algorithm). This broke real callers (llm-compressor's AutoRoundModifier always passes disable_opt_rtn regardless of iters) and our own test_audio_model.py test. Log via logger.error and ignore instead, same as before the earlier hardening pass. The auto-discovery mechanism (_discover_alg_config_fields / _owning_algorithm_names) is unchanged. - Remove the stray disable_opt_rtn=True left over from copy-paste in test_quantize_with_tuning (iters=1 selects SignRound, so the RTN-only flag never applied). - Fix pylint line-too-long (148/120) in AWQConfig.register_args help text. Signed-off-by: n1ck-guo <heng.guo@intel.com>
n1ck-guo
force-pushed
the
hengguo/refactor_cli
branch
from
August 12, 2026 05:29
7cee70a to
8c8dee3
Compare
Signed-off-by: n1ck-guo <heng.guo@intel.com> # Conflicts: # auto_round/autoround.py # auto_round/cli/algorithms.py
Collaborator
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
refactor algorithm config and cli
SpinQuantConfig(...)directly and pass it toalg_configs.Type of Change
Refactor
Related Issues
Fixes or relates to #
Checklist Before Submitting
/azp run Unit-Test-CUDA-AutoRound.