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 bart onnx export for text-classification and question-answering #1457

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

fxmarty
Copy link
Contributor

@fxmarty fxmarty commented Oct 16, 2023

PyTorch 2.1 introduced a breaking change in torchscript graph capture that make the export of bart for those tasks fail.

Given that there is probably low usage anyway, let's simply remove the support for it and let's try to get the CI green.

See details: pytorch/pytorch#110597

@fxmarty fxmarty merged commit 5638705 into huggingface:main Oct 17, 2023
64 of 68 checks passed
@claeyzre
Copy link
Contributor

Now that this has been fixed in pytorch, would it be possible to revert this to get back Bart support ?

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