Add support for loading torchscript models by AnandInguva · Pull Request #25321 · apache/beam
Adding support for loading models that are saved in torchscript format
More details at https://pytorch.org/tutorials/beginner/saving_loading_models.html#export-load-model-in-torchscript-format
This will enable the users to load the whole model without requiring model class.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- Mention the appropriate issue in your description (for example:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead. - Update
CHANGES.mdwith noteworthy changes. - If this contribution is large, please file an Apache Individual Contributor License Agreement.
See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.