Skip to content

support gptqmodel 7.0.0 and fix bug in CI#1772

Open
xin3he wants to merge 5 commits intomainfrom
xinhe/4-30
Open

support gptqmodel 7.0.0 and fix bug in CI#1772
xin3he wants to merge 5 commits intomainfrom
xinhe/4-30

Conversation

@xin3he
Copy link
Copy Markdown
Contributor

@xin3he xin3he commented Apr 30, 2026

Description

GPTQmodel 7.0.0 removes Quant string from Linear class name

Type of Change

Bug fix

Related Issues

Fixes or relates to #1771

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.

xin3he added 2 commits April 30, 2026 15:21
Signed-off-by: Xin He <xin3.he@intel.com>
Signed-off-by: Xin He <xin3.he@intel.com>
Copilot AI review requested due to automatic review settings April 30, 2026 08:34
@xin3he
Copy link
Copy Markdown
Contributor Author

xin3he commented Apr 30, 2026

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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

Updates AutoRound’s GPTQModel integration to accommodate GPTQModel 7.0.0 API/class renames and adjusts some test helper logic used in CI/model loading.

Changes:

  • Add GPTQModel 7.0.0 compatibility for Marlin kernels and ExllamaV2 class naming changes.
  • Refactor GPTQModel backend linear selection to unify GPTQ/AWQ handling and dynamically resolve renamed classes.
  • Simplify get_tiny_model(..., from_config=True) config-only model construction path in tests.

Reviewed changes

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

File Description
test/helpers.py Adjusts model-path selection and refactors config-only tiny model instantiation logic.
auto_round_extension/cuda/gptqmodel_marlin.py Adds GPTQModel 7.0.0 Marlin import/argument handling.
auto_round/inference/convert_model.py Switches ExllamaV2 class import based on GPTQModel version.
auto_round/inference/backend.py Unifies GPTQModel GPTQ/AWQ backend routing and resolves renamed QuantLinear classes via dynamic import.

Comment thread test/helpers.py
Comment thread auto_round_extension/cuda/gptqmodel_marlin.py
Comment thread auto_round/inference/backend.py Outdated
xin3he added 3 commits May 6, 2026 10:57
Signed-off-by: Xin He <xin3.he@intel.com>
Signed-off-by: Xin He <xin3.he@intel.com>
Signed-off-by: Xin He <xin3.he@intel.com>
@xin3he
Copy link
Copy Markdown
Contributor Author

xin3he commented May 6, 2026

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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