Skip to content

refine awq, bugfix - #2115

Open
WeiweiZhang1 wants to merge 7 commits into
intel:mainfrom
WeiweiZhang1:refine_awq
Open

refine awq, bugfix#2115
WeiweiZhang1 wants to merge 7 commits into
intel:mainfrom
WeiweiZhang1:refine_awq

Conversation

@WeiweiZhang1

@WeiweiZhang1 WeiweiZhang1 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Description

refine awq alg, add smooth seqlen, add skip_moe option, add ignore_layers config support for awq mapping, logging bugfix, refine docs

Type of Change

Bug fix

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: WeiweiZhang1 <weiwei1.zhang@intel.com>
Signed-off-by: WeiweiZhang1 <weiwei1.zhang@intel.com>
@WeiweiZhang1 WeiweiZhang1 removed the WIP label Aug 7, 2026
WeiweiZhang1 and others added 4 commits August 7, 2026 14:49
Signed-off-by: WeiweiZhang1 <weiwei1.zhang@intel.com>

# Conflicts:
#	auto_round/compressors/entry.py
#	docs/step_by_step.md
#	docs/step_by_step_CN.md
Signed-off-by: WeiweiZhang1 <weiwei1.zhang@intel.com>
@WeiweiZhang1

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).

@WeiweiZhang1
WeiweiZhang1 requested review from n1ck-guo and wenhuach21 and removed request for wenhuach21 August 7, 2026 08:03
# Conflicts:
#	test/unit/test_cpu/algorithms/test_awq.py
@WeiweiZhang1

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).

Comment thread docs/step_by_step.md
--model meta-llama/Llama-3.1-8B-Instruct \
--scheme INT8 \
--algorithm awq,rtn \
--nsamples 256 \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always use the default values unless there is a specific reason to override them.

Comment thread docs/step_by_step.md

ar = AutoRound(
"Qwen/Qwen3-0.6B",
"meta-llama/Llama-3.1-8B-Instruct",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this

Comment thread docs/step_by_step.md
"meta-llama/Llama-3.1-8B-Instruct",
scheme="INT8",
alg_configs=AWQConfig(),
alg_configs=[AWQConfig(apply_clip=True), RTNConfig(disable_opt_rtn=True)],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not using alg_config="awq"

@wenhuach21

Copy link
Copy Markdown
Contributor

What's the bug? If the bug affects accuracy, please update the accuracy results accordingly.

If there are currently no accuracy results, please add some in this PR or a follow-up PR. This will make it easier for users to decide which algorithm best fits their needs.

It would also be helpful to include the quantization cost.

@WeiweiZhang1 WeiweiZhang1 added this to the 0.15.0 milestone Aug 11, 2026
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.

2 participants