Replies: 1 comment 2 replies
-
Thanks for reporting. I made some changes and installing from master should fix it, see here. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I implemented a message passing layer based on
MessagePassing
, which returns a tuple with two Tensors frommessage
. I then aggregate both of them by overriding theaggregate
function. All of this works as intended.However, when I use TorchScript with this model I run into some typing problems. I am creating a new
update
function with proper type annotations like following to get rid of the typing problems there:After that I get the following error in the generated
propagate
function:I believe the return type annotations for
propagate
are automatically generated to beTensor
when calling.jittable()
. Is there a way to annotate thepropagate
return type, maybe through thepropagate_type
annotation that is already present?If not or if this is related to something else, is the
MessagePassing
module intended to support messages made up of multiple tensors or do you have other suggestions to achieve the same thing?Beta Was this translation helpful? Give feedback.
All reactions