wangweiwei1188 opened a new issue, #16519:
URL: https://github.com/apache/tvm/issues/16519
### Expected behavior
File "/tvm/python/tvm/driver/tvmc/compiler.py", line 452, in compile_model
graph_module = build(
File "/tvm/python/tvm/driver/tvmc/compiler.py", line 528, in build
return relay.vm.compile(mod, target=tvm_target, params=params)
File "/tvm/python/tvm/relay/backend/vm.py", line 67, in compile
compiler.lower(mod, target, target_host)
File "/tvm/python/tvm/relay/backend/vm.py", line 126, in lower
self._lower(mod, raw_targets)
File "/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 239, in __call__
raise_last_ffi_error()
File "/tvm/python/tvm/_ffi/base.py", line 481, in raise_last_ffi_error
raise py_err
File "/tvm/python/tvm/relay/op/strategy/generic.py", line 51, in wrapper
return topi_schedule(outs)
File "/tvm/python/tvm/autotvm/task/topi_integration.py", line 242, in
wrapper
return topi_schedule(cfg, outs, *args, **kwargs)
File "/tvm/python/tvm/topi/cuda/batch_matmul.py", line 180, in
schedule_batch_matmul
traverse_inline(s, outs[0].op, _callback)
File "/tvm/python/tvm/topi/utils.py", line 81, in traverse_inline
_traverse(final_op)
File "/tvm/python/tvm/topi/utils.py", line 79, in _traverse
callback(op)
File "/tvm/python/tvm/topi/cuda/batch_matmul.py", line 178, in _callback
_schedule(cfg, op)
File "/tvm/python/tvm/topi/cuda/batch_matmul.py", line 111, in _schedule
cfg.define_split("tile_y", y, num_outputs=3)
File "/tvm/python/tvm/autotvm/task/space.py", line 736, in define_split
return self._add_new_transform(SplitSpace, name, axes, policy, **kwargs)
File "/tvm/python/tvm/autotvm/task/space.py", line 1127, in
_add_new_transform
axes = [x if isinstance(x, (VirtualAxis, Axis)) else self.axis(x) for x
in axes]
File "/tvm/python/tvm/autotvm/task/space.py", line 1127, in <listcomp>
axes = [x if isinstance(x, (VirtualAxis, Axis)) else self.axis(x) for x
in axes]
File "/tvm/python/tvm/autotvm/task/space.py", line 692, in axis
return VirtualAxis(var)
File "/tvm/python/tvm/autotvm/task/space.py", line 138, in __init__
self.length = get_const_int(var.dom.extent)
File "/tvm/python/tvm/autotvm/utils.py", line 132, in get_const_int
raise ValueError("Expect value to be constant int")
ValueError: Expect value to be constant int
### Environment
t5 module and the newest tvm.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]