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

[RFC] Support exporting to torchscript #1499

Closed
zhiqwang opened this issue Nov 16, 2021 · 2 comments
Closed

[RFC] Support exporting to torchscript #1499

zhiqwang opened this issue Nov 16, 2021 · 2 comments
Assignees
Labels

Comments

@zhiqwang
Copy link

zhiqwang commented Nov 16, 2021

Describe the feature

Add support for exporting the models released on mmlab to torchscript.

Motivation

  1. The training framework currently used by mmlab is mainly PyTorch, so it would be relatively easy to export the model to torchscript.

  2. If we can export the models to torchscript, it will be easy to deploy it with libtorch, we can also use more tools released by the PyTorch teams, such as torchserve.

  3. Seems that torchscript is attracting more and more attention in industrial production environment. For example, we can find that some edge inference libraries such as coreML, ncnn, TVM, TensorRT and MNN have added or are adding support for exporting torchscript to their own IR models.

Related resources

@grimoire
Copy link
Member

Thanks for the advice!
We are doing some technical verification about torchscript. And I believe it will be supported in future once we find a good way to integrate it in OpenMMLab.

@zhiqwang
Copy link
Author

Close due to open-mmlab/mmdeploy#159 , Thanks for this great enhancement!

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

3 participants