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

Disable Mixtral output_router_logits during inference #29249

Merged

Conversation

LeonardoEmili
Copy link
Contributor

What does this PR do?

Fixes #29087

Before submitting

Who can review?

@ArthurZucker

@LeonardoEmili LeonardoEmili changed the title Disable mixtral output_router_logits during inference Disable Mixtral output_router_logits during inference Feb 23, 2024
Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Thanks! 🤗

@ArthurZucker
Copy link
Collaborator

Could you run make style and make fixup to make sure the quality test pass

@ArthurZucker ArthurZucker merged commit 2ce56d3 into huggingface:main Feb 28, 2024
17 checks passed
@ArthurZucker
Copy link
Collaborator

Thanks for the PR!

itazap pushed a commit that referenced this pull request May 14, 2024
* Set output_router_logits=False in prepare_inputs_for_generation for mixtral

* Add output_router_logits=False to prepare_inputs_for_generation for mixtral

* Fix style
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.

Mixtral inference breaks when output_router_logits=True
2 participants