-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 3] Add ONNX registry tutorial #2562
[ONNX 3] Add ONNX registry tutorial #2562
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2562
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 1 PendingAs of commit 020e25f with merge base 677c1b6 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Will do a local build and see it end to end
f6dae32
to
fc8262b
Compare
fc8262b
to
3a17a30
Compare
This PR adds a `Backends` section to the left menu which initially will initially contain a placeholder for the series of ONNX export tutorials based on Torch Dynamo backend A table of content tree page will have static URL https://pytorch.org/tutorials/beginner/onnx/intro_onnx.html that will be referenced on PyTorch user document for torch.onnx module
3a17a30
to
1ad7170
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few editorial suggestions. Also, I'm confused why there are files from other PRs in this PR.
# | ||
# | ||
###################################################################### | ||
# Further reading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Further reading | |
# Conclusion |
Please add an a description of what the user learned from this tutorial.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I added Conclusion above.
# ---------------------------------------------- | ||
# | ||
# Now that we have our model saved in a file, we can visualize it with `Netron <https://github.com/lutzroeder/netron>`_. | ||
# Netron can either be installed on macos, Linux or Windows computers, or run directly from the browser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Netron can either be installed on macos, Linux or Windows computers, or run directly from the browser. | |
# Netron can either be installed on macOS, Linux or Windows computers, or run directly from the browser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add macOS into en-wordlist.txt?
@@ -132,6 +132,7 @@ Lipschitz | |||
logits | |||
Lua | |||
Luong | |||
macos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macos |
This spelling is incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we spell correctly or delete it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. We should use macOS instead. I can update all usage in this PR.
Update advanced_source/super_resolution_with_onnxruntime.py Small change to kick off the build Update advanced_source/super_resolution_with_onnxruntime.py Small fix, to kick off the build. Update beginner_source/onnx/export_simple_model_to_onnx_tutorial.py Small change Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/export_simple_model_to_onnx_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> Update beginner_source/onnx/onnx_registry_tutorial.py Co-authored-by: Svetlana Karslioglu <[email protected]> added comments
0bd4de9
to
020e25f
Compare
Thanks for the super detail review on this tutorial!
To avoid merge conflicts with the previous two PRs (ONNX 1 and ONNX 2), this PR builds on top of them like ghstack. You can review the last commit. |
I apologize for closing this. Can you please resubmit against main? |
Follow up #2541, this PR adds step by step guide to demonstrate end to end solution of how to address unsupported ATen/ONNX operators issue. Please review the last commit.
cc @thiagocrepaldi @abock @justinchuby @BowenBao @wschin