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

ONNX support possible? #31

Open
tvkamara opened this issue Nov 26, 2024 · 0 comments
Open

ONNX support possible? #31

tvkamara opened this issue Nov 26, 2024 · 0 comments

Comments

@tvkamara
Copy link

Hi, thank you for your great work. I am curious if there are any possibility to export the PyTorch model to ONNX format? I quickly tried to export the encoder part with torch.onnx.export and torch.onnx.dynamo_export but with no luck. I change the inputs from dict to multiple tensors but still received this error:

RuntimeError: outerNode->outputs().size() == node->inputs().size() INTERNAL ASSERT FAILED at "../torch/csrc/jit/passes/dead_code_elimination.cpp":140, please report a bug to PyTorch.

I'd be interested if anyone has been able to convert the model to ONNX or knows that some parts of the model are definitely not supported. Thanks.

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

No branches or pull requests

1 participant