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 support for Mixtral models. #480

Merged
merged 8 commits into from
Dec 13, 2023
Merged

Add support for Mixtral models. #480

merged 8 commits into from
Dec 13, 2023

Conversation

LaaZa
Copy link
Contributor

@LaaZa LaaZa commented Dec 12, 2023

Adds support for mistralai/Mixtral-8x7B-v0.1

Quantization/inference tested also with hf-internal-testing/Mixtral-tiny

Requires #479 for working inference.

transformers>=4.36.0 + for transformers inference requires huggingface/transformers#27956

Fixes #476

@fxmarty
Copy link
Collaborator

fxmarty commented Dec 13, 2023

Thank you, can you add a test for it? Not necessarily for the quantization, but just for running the model.

For example in tests/test_q4.py

@LaaZa
Copy link
Contributor Author

LaaZa commented Dec 13, 2023

Added test using TheBlokeAI/Mixtral-tiny-GPTQ

Copy link
Collaborator

@fxmarty fxmarty left a comment

Choose a reason for hiding this comment

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

Thanks a lot! Can you solve conflicts as well, sorry!

I'll give a try to the test and it's good to go. I'll do a release by Friday.

@LaaZa
Copy link
Contributor Author

LaaZa commented Dec 13, 2023

Can you add StableLMEpoch first?

@fxmarty
Copy link
Collaborator

fxmarty commented Dec 13, 2023

Done thanks!

# Conflicts:
#	auto_gptq/modeling/__init__.py
#	auto_gptq/modeling/auto.py
@LaaZa
Copy link
Contributor Author

LaaZa commented Dec 13, 2023

Sorry, my merges broke. But I got it now.

@fxmarty fxmarty merged commit 1ce453f into AutoGPTQ:main Dec 13, 2023
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.

Support for Mixtral?
3 participants