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

   In many of TVM's unit tests (such as the [Corstone300 Arm 
tests](https://github.com/apache/tvm/blob/main/tests/python/relay/strategy/arm_cpu)),
 we verify that schedules work by cross-checking them against the x86 
implementations of the same operators. However, the x86 operators only support 
certain kernel and data layouts and contain some restrictions, so doing it this 
way can be very tedious.
   
   Additionally, it would be awesome to have tests verifying that TVM's 
implementations of common operators matched those of other major frameworks 
like Pytorch and Tensorflow. A great way to solve both of these issues would be 
to switch the "reference implementations" of the operators from our x86 
schedules to Tensorflow (or another similar framework)'s implementation.
   
   This would actually be a pretty easy change - we would just have to pass the 
output of to 
[`tf.nn.conv2d`](https://www.tensorflow.org/api_docs/python/tf/nn/conv2d) (or 
similar) to `AOTTestModel`. It would, however, add the weighty `tensorflow` as 
a dependency for running the Corstone300 tests.


-- 
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-unsubscr...@tvm.apache.org.apache.org

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

Reply via email to