Skip to content

fix few merge errors - #1817

Merged
chensuyue merged 18 commits into
mainfrom
hengguo/fix_merge_error_0514
May 19, 2026
Merged

chensuyue merged 18 commits into
mainfrom
hengguo/fix_merge_error_0514

Conversation

@n1ck-guo

Copy link
Copy Markdown
Contributor

Description

Please briefly describe your main changes, the motivation.

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.

Copilot AI review requested due to automatic review settings May 14, 2026 06:37
@n1ck-guo

Copy link
Copy Markdown
Contributor Author

/azp run Unit-Test-CUDA-AutoRound

Signed-off-by: n1ck-guo <heng.guo@intel.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI left a comment

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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR fixes a merge-related bug in DataDrivenCompressor.quantize_block by allowing it to run for MLLM models (while still blocking diffusion), and adds a CPU unit test to prevent regressions.

Changes:

  • Relaxed quantize_block guard to only reject diffusion models (no longer rejects MLLM).
  • Added a CPU test ensuring quantize_block works for MLLM and that is_mllm is restored after preprocessing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
test/test_cpu/core/test_llmc_quantize_block.py Adds regression test verifying MLLM is allowed and is_mllm is restored after quantize_block.
auto_round/compressors/data_driven.py Updates model-type guard to reject only diffusion models.

Comment thread auto_round/compressors/data_driven.py Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@n1ck-guo n1ck-guo changed the title fix merge error of llmc bug fix few merge errors May 15, 2026
n1ck-guo added 9 commits May 15, 2026 09:16
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>
Signed-off-by: n1ck-guo <heng.guo@intel.com>
Signed-off-by: n1ck-guo <heng.guo@intel.com>
@chensuyue chensuyue added this to the 0.13.0 milestone May 18, 2026
n1ck-guo added 2 commits May 18, 2026 13:22
…or_0514

# Conflicts:
#	auto_round/algorithms/quantization/sign_roundv2/quantizer.py
#	auto_round/special_model_handler.py
Signed-off-by: n1ck-guo <heng.guo@intel.com>
@n1ck-guo
n1ck-guo requested a review from xin3he May 18, 2026 07:13
@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).

@n1ck-guo n1ck-guo mentioned this pull request May 19, 2026
2 of 4 tasks
@chensuyue
chensuyue merged commit 706ac7e into main May 19, 2026
43 of 46 checks passed
@chensuyue
chensuyue deleted the hengguo/fix_merge_error_0514 branch May 19, 2026 08:16
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.

5 participants