I’m also get following stacktrace:
tvm/src/auto_scheduler/compute_dag.cc:1375: Warning: InferBound fails on the state:
Placeholder: placeholder, placeholder, placeholder
parallel n.0@oho.0@owo.0@oco.0@ohi.0@owi.0@oci.0@ (0,16)
conv.local auto_unroll: 512
for n_c.0 (None)
for oho_c.0 (None)
for owo_c.0 (None)
for oco_c.0 (None)
for ohi_c.0 (None)
for owi_c.0 (None)
for oci_c.0 (None)
for n_c.1 (None)
for oho_c.1 (None)
for owo_c.1 (None)
for oco_c.1 (None)
for n (None)
for oho (None)
for owo (None)
for ohi (None)
for owi (None)
vectorize ic (None)
data_vec = ...
for ohi_c.1 (None)
for owi_c.1 (None)
for oci_c.1 (None)
for i0 (None)
for i1 (None)
for i2 (None)
vectorize i3 (None)
PadInput = ...
for ic.0 (None)
for kh.0 (None)
for kw.0 (None)
for oco (None)
for kh (None)
for kw (None)
vectorize ic@oci@ (None)
kernel_vec = ...
for n_c.2 (None)
for oho_c.2 (None)
for owo_c.2 (None)
for oco_c.2 (None)
for ohi_c.2 (None)
for owi_c.2 (None)
for oci_c.2 (None)
for ic.1 (None)
for kh.1 (None)
for kw.1 (None)
for n_c.3 (None)
for oho_c.3 (None)
for owo_c.3 (None)
for oco_c.3 (None)
for ohi_c.3 (None)
for owi_c.3 (None)
vectorize oci_c.3 (None)
conv.local = ...
for oho.1 (0,18)
for owo.1 (0,2)
for oco.1 (0,16)
conv = ...
parallel ax0@ax1@ax2@ (0,576)
vectorize ax3 (0,16)
T_relu = ...
with: [13:04:16] /home/piotr/projects/odai/tvm/tvm/src/te/schedule/bound.cc:175:
---------------------------------------------------------------
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
Check failed: (found_attach || stage_attach.size() == 0) is false: Invalid Schedule, cannot find the producer compute(PadInput, body=[tir.if_then_else(((((i1 >= 0) && (i1 < 36)) && (i2 >= 0)) && (i2 < 64)), placeholder[i0, i1, i2, i3], 0f)], axis=[iter_var(i0, range(min=0, ext=1)), iter_var(i1, range(min=0, ext=37)), iter_var(i2, range(min=0, ext=65)), iter_var(i3, range(min=0, ext=16))], reduce_axis=[], tag=injective,pad, attrs={}) along the loop nest specified by compute_at of consumer compute(data_vec, body=[PadInput[n, ((oho*2) + ohi), ((owo*2) + owi), ic]], axis=[iter_var(n, range(min=0, ext=1)), iter_var(oho, range(min=0, ext=18)), iter_var(owo, range(min=0, ext=32)), iter_var(ohi, range(min=0, ext=3)), iter_var(owi, range(min=0, ext=3)), iter_var(ic, range(min=0, ext=16))], reduce_axis=[], tag=, attrs={})
Stack trace:
0: tvm::te::InferRootBound(tvm::te::Stage const&, tvm::te::GraphContext const&, std::unordered_map<tvm::tir::IterVar, tvm::Range, std::hash<tvm::tir::IterVar>, std::equal_to<tvm::tir::IterVar>, std::allocator<std::pair<tvm::tir::IterVar const, tvm::Range> > >*)
1: tvm::te::InferBound(tvm::te::Schedule const&)
2: tvm::auto_scheduler::ComputeDAG::InferBound(tvm::auto_scheduler::State const&) const
3: tvm::auto_scheduler::ComputeDAG::InferBound(tvm::runtime::Array<tvm::auto_scheduler::State, void> const&) const::{lambda(int)#1}::operator()(int) const
4: _ZNSt17_Function_handlerIFSt10unique_ptrINSt13__future_base12_Result_baseENS2_8_DeleterEEvENS1_12_Task_setterIS0_INS1_7_ResultIvEES3_EZNS1_11_Task_stateIZN3tvm7support12parallel_for
5: std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)
6: __pthread_once_slow
at /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_once.c:116
7: void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)
8: std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::packaged_task<void (std::vector<int, std::allocator<int> > const&, std::function<void (int)> const&)>, std::vector<int, std::allocator<int> >, std::function<void (int)> > > >::_M_run()
9: 0x00007feb1942ede3
10: start_thread
at /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477
11: __clone
12: 0xffffffffffffffff