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

TorchScript support #281

Closed
houseroad opened this issue Jun 7, 2019 · 1 comment
Closed

TorchScript support #281

houseroad opened this issue Jun 7, 2019 · 1 comment
Labels

Comments

@houseroad
Copy link

PyTorch models can be saved in TorchScript format as well. (Details about TorchScript models: https://pytorch.org/docs/stable/jit.html#torchscript)

Can we add the support for TorchScript models?

The serialization details can be found here: https://github.com/pytorch/pytorch/blob/master/caffe2/serialize/inline_container.h#L21

So far, the major problem is that, in the zip file, no graph is saved, instead script is saved. You may want to call some utility function to generate the IR to get the graph.

@lutzroeder lutzroeder changed the title [Feature Request] Support for TorchScript Models TorchScript support Jun 7, 2019
@lutzroeder lutzroeder reopened this Jun 9, 2019
lutzroeder added a commit that referenced this issue Jun 9, 2019
lutzroeder added a commit that referenced this issue Jun 9, 2019
lutzroeder added a commit that referenced this issue Jun 10, 2019
lutzroeder added a commit that referenced this issue Jun 18, 2019
lutzroeder added a commit that referenced this issue Jun 19, 2019
lutzroeder added a commit that referenced this issue Sep 1, 2019
lutzroeder added a commit that referenced this issue Sep 2, 2019
lutzroeder added a commit that referenced this issue Sep 6, 2019
lutzroeder added a commit that referenced this issue Sep 6, 2019
lutzroeder added a commit that referenced this issue Sep 6, 2019
Tee0125 pushed a commit to openedges/netron that referenced this issue Nov 7, 2019
Tee0125 pushed a commit to openedges/netron that referenced this issue Nov 7, 2019
lutzroeder added a commit that referenced this issue Jan 19, 2020
lutzroeder added a commit that referenced this issue Jan 21, 2020
lutzroeder added a commit that referenced this issue Jan 27, 2020
lutzroeder added a commit that referenced this issue Jan 27, 2020
lutzroeder added a commit that referenced this issue Jan 30, 2020
lutzroeder added a commit that referenced this issue Jan 30, 2020
lutzroeder added a commit that referenced this issue Feb 2, 2020
lutzroeder added a commit that referenced this issue Feb 2, 2020
lutzroeder added a commit that referenced this issue Feb 2, 2020
lutzroeder added a commit that referenced this issue Feb 15, 2020
lutzroeder added a commit that referenced this issue Feb 15, 2020
lutzroeder added a commit that referenced this issue Feb 15, 2020
lutzroeder added a commit that referenced this issue Mar 23, 2021
lutzroeder added a commit that referenced this issue Mar 23, 2021
lutzroeder added a commit that referenced this issue Sep 27, 2021
@lutzroeder
Copy link
Owner

Duplicate of #842

@lutzroeder lutzroeder marked this as a duplicate of #842 Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants