[quant][autoround]Refactor INC quantization into package with INCScheme orchestrator - #40601
Conversation
|
Hi @yiliu30, the pre-commit checks have failed. Please run: uv pip install pre-commit>=4.5.1
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, Tip Is
|
There was a problem hiding this comment.
Code Review
This pull request refactors the Intel Neural Compressor (INC) quantization support into a modular, scheme-based architecture. It introduces a new directory structure, a configuration resolver, and a dispatch system for different quantization schemes like WNA16 across CPU and XPU platforms. Feedback focuses on correcting the handling of unquantized or unsupported FusedMoE layers, which currently return incompatible methods or None, potentially leading to runtime errors.
|
Hi @jikunshang @xinyu-intel @wenhuach21 @Zhenzhong1 please take a look when you have time, thanks! |
|
@claude review |
|
Hi @yiliu30, the pre-commit checks have failed. Please run: uv pip install pre-commit>=4.5.1
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, Tip Is
|
2 similar comments
|
Hi @yiliu30, the pre-commit checks have failed. Please run: uv pip install pre-commit>=4.5.1
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, Tip Is
|
|
Hi @yiliu30, the pre-commit checks have failed. Please run: uv pip install pre-commit>=4.5.1
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, Tip Is
|
Signed-off-by: Zhenzhong Xu <zhenzhong.xu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Hi @jikunshang, the issue has been resolved by upgrading the auto-round-lib — thanks for your patience! Please take a look again when you get a chance. |
| @@ -25,8 +48,720 @@ | |||
Signed-off-by: yiliu30 <yi4.liu@intel.com>
|
I'm exterimenting with main branches (because i've got Intel Arc B70 and it's my only option to build everything from master) and after this PR vllm is failing here command I use to run is following with and without XPU_GRAPH, with cache fp8 and turboquant_k8v4 I understand it's rc-dev so I have zero expectations, just wanted to share some data and experience |
|
Hi @urakozz, thanks for raising this issue. Could you please check the auto-round-lib version? This requires |
I don't see any version check in the code. If that's the case, we should add one. |
in requirements/xpu.txt it's UPD: i just noticed that it's about patch version .3, will try with full log: |
|
Hi @urakozz, thanks for providing the detailed log. We recently added the new auto-round-lib WOQ kernel while keeping the previous vllm-xpu-kernels path. When auto-round-lib is installed, vLLM currently selects the auto-round-lib WOQ kernel by default. From the log, it looks like the model is dispatched to the auto-round-lib kernel. This WOQ kernel + compile path is not fully supported yet, but we plan to make it compatible in the near future. For now, you could try running with BTW, the latest auto-round-lib version is |
|
So, i have an update. I rebased onto the laterst master, updated auto-round-lib to 0.13.4 and it was still crashing. so what i did currently and it helps in my case:
I added flag to force use |
Purpose
Follow the compressed-tensor style by replacing the monolithic inc.py with an inc/ package that uses scheme-based dispatch, paving the way for adding more schemes in the near future.
Part of #37979
Test Plan
Local test models
cc @hshen14 @thuang6