Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quantized mixtral support #2673

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Add quantized mixtral support #2673

merged 2 commits into from
Jan 31, 2024

Conversation

WoosukKwon
Copy link
Collaborator

This is a hacky way to add back the quantization support for Mixtral, which was broken by the optimization in #2542 . NOTE: This is a temporary hack and we need to fix this in the future.

@@ -0,0 +1,412 @@
# coding=utf-8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of inserting a new file just for this, would it be better to add the MLP class again in mixtral.py and falling back to the original code for instances where linear method is None?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @AlpinDale, thank you for the comment. We are doing this to resolve release blocker. What you mentioned will be the right fix for the future.

@simon-mo simon-mo merged commit 3dad944 into main Jan 31, 2024
17 checks passed
@WoosukKwon WoosukKwon deleted the mixtral-quant branch January 31, 2024 00:42
NikolaBorisov pushed a commit to deepinfra/vllm that referenced this pull request Jan 31, 2024
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
alexm-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants