masahi commented on pull request #10186:
URL: https://github.com/apache/tvm/pull/10186#issuecomment-1032270107
The issue is that `torch._C._jit_pass_lower_all_tuples(graph)` unpack input
tuples as well, so
```
graph(%self : __torch__.LSTMLayer,
%input.1 : Tensor,
%state.1 : (Tensor, Tensor)):
```
becomes
```
graph(%self : __torch__.LSTMLayer,
%input.1 : Tensor,
%72 : Tensor,
%73 : Tensor):
```
I think this should not happen, since the user would use a tuple in their
Python code anyway, so we should respect that. @YuchiWen Can you try to find a
way around this problem?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]