Replies: 1 comment 17 replies
-
Yes, you cannot use a variable number of args since PyTorch will fail to compile this. For your own |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use PyG with Pytorch-lightning and deploy the model with BentoML. During saving model, I got some error related to torchscript(
script_module = model.to_torchscript()
).First I'll simply my problem here.
In the above code, I got the error:
First, can't I use args, kwargs?
And this is part of my implementation.
After I got the same error as above, I removed args and kwargs, and using
jittable()
in__init__
. And then I got the error:and SAGEConvV2 is
How can I handle this issue?
(Full code is in this repository, I modify a little bit of a code, but not that much.)
Beta Was this translation helpful? Give feedback.
All reactions