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

Remove Longformers from ONNX-supported models #15273

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Conversation

lewtun
Copy link
Member

@lewtun lewtun commented Jan 21, 2022

What does this PR do?

This PR removes Longformer from the list of ONNX-supported models due to a current limitation in the supported ops in JIT - see issue #15217

This slipped through our unit tests because we didn't include longformer in the list of models to be tested.

Long term, we'll either need to wait for JIT to support the problematic ops or tweak the Longformer implementation.

@HuggingFaceDocBuilder
Copy link

HuggingFaceDocBuilder commented Jan 21, 2022

The documentation is not available anymore as the PR was closed or merged.

@@ -43,7 +43,7 @@ and are designed to be easily extendable to other architectures.

Ready-made configurations include the following architectures:

<!--This table is automatically generated by make style, do not fill manually!-->
<!--This table is automatically generated by `make fix-copies`, do not fill manually!-->
Copy link
Member Author

Choose a reason for hiding this comment

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

I took the liberty of updating this line to reflect the true make command

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

LGTM

@lewtun lewtun merged commit 6775b21 into master Feb 7, 2022
@lewtun lewtun deleted the remove-longformer-onnx branch February 7, 2022 16:32
stevhliu pushed a commit to stevhliu/transformers that referenced this pull request Feb 18, 2022
ManuelFay pushed a commit to ManuelFay/transformers that referenced this pull request Mar 31, 2022
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