Skip to content

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
Copy link
Contributor

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.

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.

3 participants