masahi commented on pull request #5779:
URL: https://github.com/apache/incubator-tvm/pull/5779#issuecomment-643401330


   It seems you are allowing `input_shapes` to be None. The input names that 
are passed as part of `input_shapes` is important: These are the names, of 
users choosing, that will be needed at deploy times.
   
   If we use Torch IR input names, users need to manually inspect IR and 
somehow remember these names. The tricky part is Torch sometimes changes these 
input names when copying or saving/loading the same modules. So in the end what 
TVM expects as input names can be different from what users see as inputs to 
Torch IR.
   
   To workaround this, we decided not to use names chosen by Torch and instead 
let users choose and supply input names (something obvious like input0, input1 
that don't require remembering)


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to