[Bug] MetaScheduler Literal value exceeds maximum of int32 #15987
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
Expected behavior
I try to use MetaScheduler to tuning matmul, and the dimensions of the matrix are m=8192, n=14336, k=8192.
When n=8192, everything is ok, but once m or n is equal to 14336, an error
RuntimeError: parallel_for_dynamic error with [02:23:57] /home/malixian/repos/tensorir/tvm/src/ir/expr.cc:88: InternalError: Check failed: value < 1LL << (dtype.bits() - 1) (8589934591 vs. 2147483648) : ValueError: Literal value 8589934591 exceeds maximum of int32
will occur. BTW, it is ok when k equals 14336.According to the error message, I tried to comment out the
ICHECK
code of the function IntImm in expr.cc and it worked normally, again.I think the
DataType
of Tir should be expanded to suit this case.Actual behavior
error
RuntimeError: parallel_for_dynamic error with [02:23:57] /home/malixian/repos/tensorir/tvm/src/ir/expr.cc:88: InternalError: Check failed: value < 1LL << (dtype.bits() - 1) (8589934591 vs. 2147483648) : ValueError: Literal value 8589934591 exceeds maximum of int32
Environment
TVM version is '0.15.dev0'
Steps to reproduce
The text was updated successfully, but these errors were encountered: