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 · 1 comment
Open

ONNX support possible? #31

tvkamara opened this issue Nov 26, 2024 · 1 comment

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.

@botaoye
Copy link
Collaborator

botaoye commented Dec 9, 2024

Hello and thank you for your interest in our work. I don't have experience in exporting models in ONNX format, but it would be great if you could do it successfully and let us know to help other potential users.

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

2 participants