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

💡 [REQUEST] - Tutorial for exporting popular class of models, showing the unique challenges faced and how to address them #3174

Open
agunapal opened this issue Dec 3, 2024 · 2 comments · May be fixed by #3180

Comments

@agunapal
Copy link
Contributor

agunapal commented Dec 3, 2024

🚀 Describe the improvement or the new tutorial

The gaming community cares about certain classes of models like pose estimation, instance segmentation, video classification. When we try to export OSS implementations of these models, we run into unique challenges with torch.export

Currently, we have tutorials showing usage of export and talking about the core export-related concepts to keep in mind with simple examples. We also have ExportDB which has information on unsupported constructs with simple examples. However, practically, when running export on many models, its not very clear how does once go about addressing the issues.

This tutorial aims to do the reverse. Pick 4 models which are popular, try to export them, show the errors we run into and how do we solve them. The problems being solved are generic enough to be applicable to a range of models.

Existing tutorials on this topic

https://pytorch.org/docs/stable/export.html
https://pytorch.org/tutorials/intermediate/torch_export_tutorial.html
https://pytorch.org/docs/stable/generated/exportdb/index.html

Additional context

pytorch/pytorch#138111
pytorch/pytorch#138120

No response

cc @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4

@agunapal
Copy link
Contributor Author

agunapal commented Dec 3, 2024

cc @angelayi

@angelayi
Copy link
Contributor

angelayi commented Dec 5, 2024

Looks fine to me! Let's also make sure to add a link to this tutorial somewhere in the export tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants