[compressed-tensors] update find_matched_target order to prioritize fused name matches over class match - #49483
Merged
mgoin merged 7 commits intoJul 28, 2026
Conversation
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
brian-dellabetta
requested review from
mgoin,
pavanimajety,
robertgshaw2-redhat,
tlrmchlsmth,
yewentao256 and
zyongye
as code owners
July 22, 2026 19:39
find_matched_target order to prioritize fused name matches over class match
mgoin
approved these changes
Jul 22, 2026
mgoin
enabled auto-merge (squash)
July 22, 2026 20:05
kylesayrs
approved these changes
Jul 22, 2026
2 tasks
HDCharles
approved these changes
Jul 22, 2026
This was referenced Jul 29, 2026
2 tasks
xin3he
added a commit
to xin3he/vllm
that referenced
this pull request
Aug 12, 2026
Signed-off-by: Xin He <xin3.he@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.
Purpose
Resolves vllm-project/llm-compressor#2730
Currently on main, the order of target resolution is
This PR flips 2 and 3, matching the logic of compressed-tensors. This is helpful when users have mixed-precision quantization configs and aren't including all fused names in their targets, and have a last config group targeting
Linear.Test Plan
This script will fail on main, but works on this branch. See config.json here for the case described above (targets unfused layer names in first group, targets
Linearin second group):Test Result
Above snippet succeeds for branch
but fails with opaque error on main because targets are resolving incorrectly
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.BEFORE SUBMITTING, PLEASE READ https://docs.vllm.ai/en/latest/contributing (anything written below this line will be removed by GitHub Actions)