thaisacs commented on PR #17627:
URL: https://github.com/apache/tvm/pull/17627#issuecomment-2651968197

   > Thanks for the great discussion!
   > 
   > > This issue occurred more frequently with GoogLeNet, MobileNetV2, 
MobileNetV3, ResNet-152, and InceptionV3 models.
   > 
   > What do you mean by "more frequently"? IIUC, if it's a TOPI issue, it will 
always or never happen, but not a probability event.
   > 
   > > InternalError: Check failed: (false) is false: Incompatible broadcast 
dims: 144 and 128 in: [1, 7, 7, 144] and [1, 1, 1, 128]
   > 
   > The error seems reasonable.
   > 
   > So I wonder where the root of the issue is. To be clearer, TOPI or ansor
   
   @Hzfengsy 
   
   I think it's in the interaction of the two: auto-scheduler and TOPI. The 
auto-scheduler can find schedules for some layers, but not all. When attempting 
to compile the entire model, TOPI needs to deal with the case that the internal 
tensors have different dimensions. Currently, TOPI handles this by stopping the 
compilation process.
   
   Note that, when a tensor's dimension is dynamic and cannot be determined at 
compile time, TOPI prematurely considers the shape of the output tensor.


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