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

Fix dummy objects for quantization #14478

Merged
merged 2 commits into from
Nov 21, 2021
Merged

Fix dummy objects for quantization #14478

merged 2 commits into from
Nov 21, 2021

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Nov 21, 2021

What does this PR do?

The dummy objects introduced recently are actually not generated and maintained by the dummy scripts, because the is_xxx_available test they rely on contains an _ in the xxx. This PR fixes that.
Another fix concerns the models ForNextSentencePrediction which were not included in the list yet (a better fix will use the model mapping names from the auto mapping one day when I have more time :-) )

This is blocking the doc building for the new frontend so merging as soon as it's green.

@sgugger sgugger merged commit 1a92bc5 into master Nov 21, 2021
@sgugger sgugger deleted the fix_quantized_dummy branch November 21, 2021 22:39
@LysandreJik
Copy link
Member

Thanks for taking care of it!

Albertobegue pushed a commit to Albertobegue/transformers that referenced this pull request Jan 27, 2022
* Fix dummy objects for quantization

* Add more models
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.

2 participants