[Quant] Add SupportsQuant and packed_modules_mapping to all models#14631
[Quant] Add SupportsQuant and packed_modules_mapping to all models#14631kylesayrs wants to merge 2 commits intovllm-project:mainfrom
Conversation
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
|
This pull request has merge conflicts that must be resolved before it can be |
Purpose
SupportsQuantwhichpacked_modules_mappingconfigure_quant_configfunction after it has been added to a sufficient number of modelsconfigure_quant_configassumes that allpacked_modules_mappings will be declared prior to initialization. In reality, some models are submodels of each other, so their mappings can only be determined at init time.Related PRs
SupportsQuantto phi3 and clip #13104