add auto_round_rtn cli and remove fast#1808
Open
n1ck-guo wants to merge 7 commits into
Open
Conversation
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a dedicated auto_round_rtn / auto-round-rtn CLI entry point intended to run an RTN (iters=0) configuration, and removes the previous auto_round_fast / auto-round-fast entry points.
Changes:
- Add a new
rtnpreset recipe and expose it viarun_rtn()inauto_round.__main__. - Update package console scripts to register
auto_round_rtn/auto-round-rtnand removeauto_round_fast/auto-round-fast. - Add unit tests validating that
run_rtn()applies the intended defaults and preserves selected eval-related arguments during parsing.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
auto_round/__main__.py |
Adds a new rtn recipe and run_rtn() entry point. |
setup.cfg |
Registers the new RTN console scripts and removes the FAST console scripts. |
test/test_cpu/utils/test_cli_usage.py |
Adds tests for run_rtn() argument parsing and recipe defaults. |
wenhuach21
reviewed
May 13, 2026
Signed-off-by: n1ck-guo <heng.guo@intel.com>
…/auto-round into hengguo/auto_round_rtn_cli
Contributor
Author
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
wenhuach21
reviewed
May 14, 2026
wenhuach21
reviewed
May 14, 2026
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
Please briefly describe your main changes, the motivation.
Type of Change
New feature
Related Issues
Fixes or relates to #
Checklist Before Submitting
/azp run Unit-Test-CUDA-AutoRound.