Hi, the model I'm working on has the following output:
``` ... %1562 = (%1550, %1551, %1552, %1553, %1554, %1555, %1556, %1557, %1558, %1559, %1560, %1561); (%1549, %1562) } ``` i.e., the output is a tuple where the second element is another tuple with 12 elements. `relay.build(...)` errors on this model with the following message: ``` [bt] (0) /mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/build/libtvm.so(+0x104245b) [0x7f30ec71a45b] File "/mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/src/relay/backend/graph_plan_memory.cc", line 86 TVMError: Check failed: tok.size() == 1U (12 vs. 1) : ``` The error is happening when memory planner is visiting `TupleNode`: https://github.com/apache/incubator-tvm/blob/main/src/relay/backend/graph_plan_memory.cc#L82-L87 So it seems to me the memory planner is complaining about tuple of tuples? @tqchen do you have an idea what's going on? --- [Visit Topic](https://discuss.tvm.apache.org/t/graph-plan-memory-doesnt-support-nested-tuples/8278/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/50452266183cb4265397624472879a0e67bd0648db32fa949ea3448e817b505e).