-
Notifications
You must be signed in to change notification settings - Fork 279
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
#235 Added Notebook Example for Torchscript #794
base: main
Are you sure you want to change the base?
Conversation
@Shashank1202 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Hello welcome @Shashank1202 ! Thanks for your PR! |
@@ -0,0 +1,61 @@ | |||
import torch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the file to start with test_
to match the others in the folder
@classmethod | ||
def setUpClass(cls): | ||
# Load the TorchScript model | ||
cls.model = torch.jit.load('notebooks/simple_model_scripted.pt') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We like to avoid checking in the model binaries. Can you please recreate it here and use it for your test, and then remove the binary file?
No description provided.