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