-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
Cannot export Deberta to TorchScript #20815
Comments
Yes, this model is not compatible with torchscript, cc @ArthurZucker |
Thanks, will take that into account when refactoring |
Go away stalebot |
Any update here? |
Just started working on this! 😉 |
Sorry! Seem like I had to postpone this! If anyone want to take over feel free to do it, otherwise will be my priority once #23909 is merge! |
More delays given the recent sprints! But I think it should calm down during this summer! 😉 |
Any update on this? |
I'll add a good first issue tag on this! Slightly more involved than a documentation change, but should be possible by someone willing to put a cycle into it. |
Thanks a ton! |
i would like to work on this |
Go ahead @riyasachdeva04, feel free to open a PR |
Can I take a crack at it too? @LysandreJik |
Hey, I have noticed this issue has been silent for a while. I would like to start contributing, can I have a look at it? @LysandreJik @ArthurZucker |
First come first served, please feel free to open a PR and link this issue and we'll be happy to review! |
How is everyone doing with this? Is it worth it for me to give it a shot? |
System Info
transformers-cli env
Who can help?
@sgugger
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I am trying to convert the Deberta Model to TorchScript using the instructions provided in the HF tutorial.
Code:
Error Message:
From torch.jit.save:
Expected behavior
The Traced model should be successfully saved. After loading, it should have the same functional behavior as the model it was traced from.
The text was updated successfully, but these errors were encountered: