eaten-cake opened a new pull request, #18351:
URL: https://github.com/apache/tvm/pull/18351

   fix issue #18338 
   When the input dimension of unbind is 1, we should directly apply squeeze 
instead of performing split followed by squeeze. This issue has been fixed, and 
a corresponding regression test has been added.
   Previously, the error occurred because when the output of split contains 
only a single tensor, the `struct_info` of the expression is `TensorStructInfo` 
rather than `TupleStructInfo`. As a result, the `TupleGetItem` node generated 
at 
https://github.com/apache/tvm/blob/f68651f035d08024c05f218182b5c003ad814eb5/python/tvm/relax/frontend/torch/base_fx_graph_translator.py#L1279-L1280
 would fail.


-- 
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]

Reply via email to