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 2] Add ONNX tutorial using torch.onnx.dynamo_export API #2580

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

thiagocrepaldi
Copy link
Contributor

Reland #2541

This PR adds a tutorial that demonstrates how to use torch.onnx.dynamo_export to export a PyTorch model to ONNX using the latest TorchDynamo backend

It also refactors an existing ONNX Exporter tutorial to let users know that it uses the now to-be-deprecated ONNX exporter API

Fixes #2543

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 3, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2580

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 5c17838 with merge base ea73167 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@svekars
Copy link
Contributor

svekars commented Oct 4, 2023

Please resolve the merge conflict

@thiagocrepaldi thiagocrepaldi force-pushed the thiagofc/add-onnx-tutorial branch from 762c037 to 77b7407 Compare October 4, 2023 18:20
@thiagocrepaldi
Copy link
Contributor Author

@svekars done

@thiagocrepaldi thiagocrepaldi force-pushed the thiagofc/add-onnx-tutorial branch from 77b7407 to 5c17838 Compare October 4, 2023 19:54
@svekars svekars merged commit 048f737 into pytorch:main Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tutorial: Hello world ONNX-FX exporter
3 participants