[ROCM] Enable CompressedTensorsWNA16#27187
Merged
yewentao256 merged 2 commits intovllm-project:mainfrom Oct 21, 2025
Merged
Conversation
Signed-off-by: JartX <sagformas@epdcenter.es>
Signed-off-by: JartX <sagformas@epdcenter.es>
Contributor
There was a problem hiding this comment.
Code Review
This pull request correctly enables CompressedTensorsWNA16 on ROCm platforms by preventing the use of the Marlin MoE kernel, which is not supported on ROCm. The change is simple, effective, and consistent with how other parts of the codebase handle ROCm-specific limitations for Marlin kernels. This allows models using this quantization scheme to run on ROCm, which is a valuable improvement.
yewentao256
approved these changes
Oct 20, 2025
Member
yewentao256
left a comment
There was a problem hiding this comment.
LGTM, thanks for the work!
Contributor
Author
|
hi @yewentao256 have passed all test, can merge it? |
usberkeley
pushed a commit
to usberkeley/vllm
that referenced
this pull request
Oct 23, 2025
Signed-off-by: JartX <sagformas@epdcenter.es>
0xrushi
pushed a commit
to 0xrushi/vllm
that referenced
this pull request
Oct 26, 2025
Signed-off-by: JartX <sagformas@epdcenter.es> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
0xrushi
pushed a commit
to 0xrushi/vllm
that referenced
this pull request
Oct 26, 2025
Signed-off-by: JartX <sagformas@epdcenter.es> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
Chenyaaang
pushed a commit
to Chenyaaang/vllm
that referenced
this pull request
Oct 28, 2025
Signed-off-by: JartX <sagformas@epdcenter.es>
ilmarkov
pushed a commit
to neuralmagic/vllm
that referenced
this pull request
Nov 7, 2025
Signed-off-by: JartX <sagformas@epdcenter.es>
rtourgeman
pushed a commit
to rtourgeman/vllm
that referenced
this pull request
Nov 10, 2025
Signed-off-by: JartX <sagformas@epdcenter.es>
devpatelio
pushed a commit
to SumanthRH/vllm
that referenced
this pull request
Nov 29, 2025
Signed-off-by: JartX <sagformas@epdcenter.es>
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.
I'm currently using ROCM with RDNA3. I've been trying to use compressed-tensors for a while, and I thought it was only supported on CUDA.
This change simply avoids entering: CompressedTensorsWNA16MarlinMoEMethod for CUDA when using ROCM and allows inference of a model like the following:
jart25/Qwen3-VL-30B-A3B-Instruct-AWQ-8bit
using: CompressedTensorsWNA16MoEMethod and ExllamaLinearKernel
Note that it must be run with:
export VLLM_USE_TRITON_AWQ=1