support gptqmodel 7.0.0 and fix bug in CI#1772
Merged
Merged
Conversation
Signed-off-by: Xin He <xin3.he@intel.com>
Signed-off-by: Xin He <xin3.he@intel.com>
Contributor
Author
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
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. |
Signed-off-by: Xin He <xin3.he@intel.com>
Signed-off-by: Xin He <xin3.he@intel.com>
Contributor
Author
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
for more information, see https://pre-commit.ci
Contributor
Author
|
/azp run Unit-Test-CUDA-AutoRound |
Contributor
Author
|
/azp run Unit-Test-CUDA-AutoRound |
Signed-off-by: Xin He <xin3.he@intel.com>
for more information, see https://pre-commit.ci
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
wenhuach21
reviewed
May 8, 2026
| else: | ||
| raise ValueError(f"Unsupported {backend}") | ||
| for spec in backend_specs: | ||
| if spec[0] not in backend: |
Contributor
There was a problem hiding this comment.
not a very good code style, e.g. some core code should not be included in for loop
XuehaoSun
approved these changes
May 8, 2026
lvliang-intel
pushed a commit
that referenced
this pull request
May 12, 2026
Signed-off-by: Xin He <xin3.he@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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
GPTQmodel 7.0.0 removes
Quantstring from Linear class nameType of Change
Bug fix
Related Issues
Fixes or relates to #1771
Checklist Before Submitting
/azp run Unit-Test-CUDA-AutoRound.