[AWQ][MoE] Support AWQ MoE - #1644
Merged
Merged
Conversation
catswe
force-pushed
the
support-awq-moe
branch
2 times, most recently
from
February 11, 2026 23:43
5c91f5a to
0a5b4fa
Compare
catswe
force-pushed
the
support-awq-moe
branch
5 times, most recently
from
February 21, 2026 22:10
50bc01a to
421ab1b
Compare
catswe
force-pushed
the
support-awq-moe
branch
from
February 23, 2026 17:49
ab9673a to
48500ed
Compare
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
catswe
force-pushed
the
support-awq-moe
branch
from
February 23, 2026 19:15
de7d963 to
830655b
Compare
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
catswe
requested review from
bythew3i,
vipannalla and
yaochengji
as code owners
February 26, 2026 17:40
kyuyeunk
reviewed
Feb 27, 2026
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
kyuyeunk
reviewed
Feb 28, 2026
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
Signed-off-by: catswe <212922539+catswe@users.noreply.github.com>
kyuyeunk
reviewed
Mar 5, 2026
kyuyeunk
approved these changes
Mar 6, 2026
Contributor
Author
|
i prefer creating a follow up pr! |
Collaborator
thanks! will merge it! |
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
Enabled AWQ. Ran on v6e-8.
Changes:
To preserve the memory benefit of AWQ, I dequantized on the fly and added
zero_pointparameters. The changes from addingzero_pointis similar in logic asscaleparameterstpu_inference/layers/vllm/quantization/awq.pyvllm/model_executor/layers/quantization/awq_marlin.pytpu_inference/layers/vllm/quantization/fp8.pytpu_inference/layers/vllm/quantization/mxfp4.pyget_fused_moe_quant_configsince otherwise attribute access errorcreate_weightsdirectly and usesextra_weight_attrsbecause upstream has no base AWQ MoE method to inherit from, unlike the other TPU MoE methodsTests
Due to changes from #1659, doing
pip install -e .may be needed before running the following commandChecklist
Before submitting this PR, please make sure: