vllm: restore ParoQuant compatibility with vLLM 0.25.1#54
Open
lesj0610 wants to merge 2 commits into
Open
Conversation
lesj0610
marked this pull request as ready for review
July 16, 2026 05:51
lesj0610
marked this pull request as draft
July 16, 2026 05:54
lesj0610
marked this pull request as ready for review
July 16, 2026 05:55
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.
Problem
ParoQuant models cannot be served with vLLM 0.25.1. Plugin discovery fails while importing the removed
AWQMarlinLinearMethod, so theparoquantquantization method is never registered. Registration also imports the generator and CUDA extension before a ParoQuant linear layer is created.Root cause
The backend still targets the vLLM 0.19.x AWQ-Marlin API and dependency range. Its fused-projection conversion also manages Marlin state outside the current weight-loader and layerwise-reload contracts, which can replace tensor storage referenced by
torch.compileor a captured CUDA graph.Fix
vllm>=0.25.1,<0.26and align the README, generated model-card instructions, and Docker chat/serve build pins with vLLM 0.25.1.ParoQuantLinearMethodis instantiated.AutoAWQMarlinLinearMethod, weight-loader v2, and current Marlin tile-padding and input-dtype selection.*.qweightmetadata before applying vLLM's model mapper.No vLLM source, package, or environment changes are required.
Verification
python -m pytest -q tests/test_vllm_plugin.py tests/test_vllm_plugin_gpu.py:19 passed.torch.compilerecompilation, and replay of a CUDA graph captured before reload.ruff format --check,ruff check,python -m compileall -q, andgit diff --checkpassed for the changed files.