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

How to save model using torch.jit to run generate on cpu without external code? #53

Open
psydok opened this issue Jun 3, 2021 · 4 comments

Comments

@psydok
Copy link

psydok commented Jun 3, 2021

No description provided.

@psydok psydok changed the title How to save model using torch.jit to run on cpu without external code? How to save model using torch.jit to run generate on cpu without external code? Jun 3, 2021
@cschaefer26
Copy link

Hi, for torchscript it is necessary to do some changes to the model. I will investigate this if i have some spare time.

@faranaziz
Copy link

Any news on this?

@cschaefer26
Copy link

Hi, the current state is that I implemented a jit-compatible model here: https://github.com/as-ideas/ForwardTacotron/blob/experiments/enable_jit/models/forward_tacotron.py

It is taking a bit experimenting though until I decide to merge it to master, feel free to use the branch if you like!

@cschaefer26
Copy link

Hi, good news, the jit export is implemented now: https://github.com/as-ideas/ForwardTacotron#export-model-with-torchscript

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

No branches or pull requests

3 participants