You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to bring the model in c++ but I'm encountering some problem in saving hubert using TorchScript.
The following error appeare after I run torch.save for the traced model.
Could not export Python function call 'GradMultiply'. Remove calls to Python functions before export. Did you forget to add @script or @script_method annotation? If this is a nn.ModuleList, add it to __constants__
The error is reproducible using the following code
I need to bring the model in c++ but I'm encountering some problem in saving hubert using TorchScript.
The following error appeare after I run torch.save for the traced model.
Could not export Python function call 'GradMultiply'. Remove calls to Python functions before export. Did you forget to add @script or @script_method annotation? If this is a nn.ModuleList, add it to __constants__
The error is reproducible using the following code
I understand that maybe the problem is related with lib fairseq also, but I hope it can be resolved here
The text was updated successfully, but these errors were encountered: