I got the same error with torch v1.9.1. I downgraded it to v1.8.0 and it works.
--- [Visit Topic](https://discuss.tvm.apache.org/t/check-failed-reporter-asserteq-data-shape-data-shape-size-1-weight-shape-1-is-false-denserel-input-dimension-doesnt-match-data-shape-1-512-weight-shape-512-1000/11274/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/c37aeaea9f52d97ccf91f7a8fd236ba5ea7ff7e870caf13aa972ccbf3b77291d).