[AutoRound] Support WAN2.2 W4A16 quantization model#3353
Open
lvliang-intel wants to merge 13 commits into
Open
[AutoRound] Support WAN2.2 W4A16 quantization model#3353lvliang-intel wants to merge 13 commits into
lvliang-intel wants to merge 13 commits into
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
8ccefe8 to
cbfbe97
Compare
Collaborator
|
Comprehensive benchmarks and well-structured tests. Memory reduction to 0.48x is significant for VRAM-constrained deployments. Two notes: 1) Checklist items at the bottom are unchecked - confirm documentation was updated if required. 2) Latency impact (0.86x speedup) is expected for compute-bound workloads at batch size 1, but consider documenting guidance for optimal batch sizes where dequantization overhead is amortized. |
cbfbe97 to
3a2cde7
Compare
3 tasks
This was referenced May 8, 2026
Collaborator
|
Merge conflicts need fixing before review. Thx. |
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
3a2cde7 to
7616e04
Compare
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Collaborator
|
LGTM now |
Collaborator
|
@yenuo26 please check test |
yenuo26
reviewed
May 19, 2026
Signed-off-by: lvliang-intel <liang1.lv@intel.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.
PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS (AT THE BOTTOM) HAVE BEEN CONSIDERED.
Purpose
Add AutoRound W4A16 quantization support for Wan2.2 pipelines and transformer modules.
https://huggingface.co/Intel/Wan2.2-TI2V-5B-Diffusers-int4-AutoRound
https://huggingface.co/Intel/Wan2.2-I2V-A14B-Diffusers-int4-AutoRound
https://huggingface.co/Intel/Wan2.2-T2V-A14B-Diffusers-int4-AutoRound
Related: #1325, #1777, #2670
Test Plan
Run UT
Run VBench dataset accuracy test
Test Result
Raw Scores
Aggregate by Category
Evaluated Dimension Average
Generation Statistics
The test is mainly for accuracy purpose. For video generation at batch size 1, Int4 W4A16 primarily saves memory (0.48x as shown — great for fitting larger models / longer videos in VRAM) but does not necessarily improve latency because the workload is compute-bound and dequantization overhead is significant.
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model. Please runmkdocs serveto sync the documentation editions to./docs.BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)