Closed xueshengke closed 2 months ago
This can be solved by changing: https://github.com/apache/tvm/blob/8f6fa8f2c41406cb54d01647ba8731e4ceb8f4ab/python/tvm/relay/op/strategy/arm_cpu.py#L466
to:
wrap_compute_dense(topi.nn.dense, need_auto_scheduler_layout=True),
This seems to be missing in all implementations for arm_cpu.
Expected behavior
tensor_b.shape will be changed after tuning ?
Actual behavior
out_dim, red_dim != tensor_b.shape
Environment
Any environment details, such as: Operating System, TVM version, etc Linux, Ubuntu: 21.04, TVM 0.9 dev, ARM CPU,
Model : mobilenet-v3.tflite
Steps to reproduce
This error happens only in ARM CPU after autotuning, but disappears before autotuning.