Skip to content

add auto_round_rtn cli and remove fast#1808

Open
n1ck-guo wants to merge 7 commits into
mainfrom
hengguo/auto_round_rtn_cli
Open

add auto_round_rtn cli and remove fast#1808
n1ck-guo wants to merge 7 commits into
mainfrom
hengguo/auto_round_rtn_cli

Conversation

@n1ck-guo
Copy link
Copy Markdown
Contributor

Description

Please briefly describe your main changes, the motivation.

Type of Change

New feature

Related Issues

Fixes or relates to #

Checklist Before Submitting

  • My code has been tested locally.
  • Documentation has been updated as needed.
  • New or updated tests are included where applicable.
  • The CUDA CI has passed. You can trigger it by commenting /azp run Unit-Test-CUDA-AutoRound.

Signed-off-by: n1ck-guo <heng.guo@intel.com>
Copilot AI review requested due to automatic review settings May 13, 2026 04:31
Copy link
Copy Markdown
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 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 rtn preset recipe and expose it via run_rtn() in auto_round.__main__.
  • Update package console scripts to register auto_round_rtn / auto-round-rtn and remove auto_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.

Comment thread auto_round/__main__.py Outdated
Comment thread setup.cfg
Comment thread test/test_cpu/utils/test_cli_usage.py
Comment thread auto_round/__main__.py Outdated
n1ck-guo added 2 commits May 13, 2026 14:08
Signed-off-by: n1ck-guo <heng.guo@intel.com>
@chensuyue chensuyue added this to the 0.13.0 milestone May 13, 2026
@n1ck-guo
Copy link
Copy Markdown
Contributor Author

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@chensuyue
Copy link
Copy Markdown
Contributor

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Comment thread auto_round/__main__.py Outdated
Comment thread auto_round/__main__.py Outdated
n1ck-guo added 2 commits May 14, 2026 14:44
Signed-off-by: n1ck-guo <heng.guo@intel.com>
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.

4 participants