You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "lhutton1 (via GitHub)" <gi...@apache.org> on 2024/02/07 10:10:20 UTC

[I] [BUG] Tensor intrinsic dtype mismatch compiling quantized depthwise convolution on `arm_cpu` target [tvm]

lhutton1 opened a new issue, #16533:
URL: https://github.com/apache/tvm/issues/16533

   #### Expected behaviour:
   When an `arm_cpu` target is used, the model should compile successfully without an error.
   
   #### Actual behaviour:
   When an `arm_cpu` target is used, the model fails to compile during tensorization
   ```
   E           at /workspaces/tvm/src/tvm/src/te/operation/tensorize.cc:334
   E     File "/workspaces/tvm/src/tvm/src/te/operation/tensorize.cc", line 334
   E   TVMError: Failed to match the data type with TensorIntrin tensor_intrin's declaration  provided=int64, intrin=int32
   ```
   
   #### How to reproduce:
   Run the test `pytest tests/python/frontend/tflite/test_forward.py -k test_forward_quantized_depthwise_convolution`
   with an `arm_cpu` target. Note: Reminder to remove any skip condition that exists in the test currently.
   
   Likely the schedule selection in `relay/strategy/arm_cpu.py` needs to check compatibility of the output data type before adding the schedule to the strategy.
   


-- 
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: commits-unsubscribe@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org