Closed psrivas2 closed 11 months ago
Here's a reproducible script https://gist.github.com/zxybazh/39d1bc9722bdbe30769f9efd4075c9cf
CC: @spectrometerHBH @junrushao would you please confirm if this check failure is expected?
https://github.com/apache/tvm/pull/15340 fixes this I think.
the unit test test_decode_gemv_4 in dlight branch fails to build if I try to compile it using
tvm.build(mod, target)
at the end of the test case.It throws the error:
ValueError: Check failed: n_deepest_reduction_loops == reduction_loops.size() (0 vs. 1) : Cross-thread reduction requires all the reduction-related loops to be the deepest among all statements outside the desired block. However, block matmul needs cross-thread reduction, while the reduction-related loops outside of it are not the deepest statements, which violates the condition.
cc @zxybazh