[#17723][fix] Re-path dense Qwen quantization entries - #17727
Draft
mihai-chiorean wants to merge 1 commit into
Draft
[#17723][fix] Re-path dense Qwen quantization entries#17727mihai-chiorean wants to merge 1 commit into
mihai-chiorean wants to merge 1 commit into
Conversation
Signed-off-by: Mihai Chiorean <mihai.v.chiorean@gmail.com>
3 tasks
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.
Summary
Translate dense Qwen3.5/3.8 MLP entries from the Hugging Face
.mlp.{gate,up,down}_projnamespace to the runtime_DenseMlpAdapter.mlp.mlp.*namespace for every quantization algorithm.Related to #17723.
Motivation
The existing translation was gated on
W4A16_NVFP4. Qwen3.8 compressed-tensors checkpoints correctly parse packed W4A4 layers asNVFP4and later dense layers as rowwise FP8, so neither entry matched the runtime module tree. The modules then silently inherited the unquantizedMIXED_PRECISIONglobal config.Testing
pre-commit run --fileson all changed filesmaincontains [TRTLLM-12720][feat] Support nvfp4 w4a16 on sm120 #16511Dependencies
The translation itself is independent. Qwen3.8 obtains these per-module entries from #17725.