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

Could you add torch.onnx.export() in tools/export-onnx.py #20

Open
foreveronehundred opened this issue Jun 19, 2023 · 2 comments
Open

Comments

@foreveronehundred
Copy link

Hi,
Could you add torch.onnx.export() in tools/export-onnx.py. Currently in tools/export-onnx.py, it only does inference.

@Ted8000
Copy link

Ted8000 commented Jul 6, 2023

yeal, where can i tranfer the model to onnx?

@AmazeQiu
Copy link

Actually he modified the source code of transformers. He added torch.onnx.export into transformers, so it does inference, it will output the onnx models

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

3 participants