While trying to autotune a predefined model using code in tutorial, simply it cannot tune it and return an attribute error every step of tuning, which is something like:
DEBUG:autotvm:No: 360 GFLOPS: 0.00/0.00 result: MeasureResult(costs=(AttributeError('Traceback (most recent call last):
[bt] (5) /home/can/Dev/tvm/build/libtvm.so(TVMFuncCall+0x65) [0x7f5f9b12e315]
[bt] (4) /home/can/Dev/tvm/build/libtvm.so(+0x4ecc0d) [0x7f5f9a96fc0d]
[bt] (3) /home/can/Dev/tvm/build/libtvm.so(tvm::transform::Pass::operator()(tvm::IRModule) const+0x70) [0x7f5f9a921cf0]
[bt] (2) /home/can/Dev/tvm/build/libtvm.so(tvm::transform::SequentialNode::operator()(tvm::IRModule, tvm::transform::PassContext const&) const+0x30d) [0x7f5f9a96e8fd]
[bt] (1) /home/can/Dev/tvm/build/libtvm.so(tvm::tir::transform::PrimFuncPassNode::operator()(tvm::IRModule, tvm::transform::PassContext const&) const+0x609) [0x7f5f9ab337a9]
[bt] (0) /home/can/Dev/tvm/build/libtvm.so(+0xca71db) [0x7f5f9b12a1db]
File "tvm/_ffi/_cython/./packed_func.pxi", line 55, in tvm._ffi._cy3.core.tvm_callback
File "/home/can/Dev/tvm/python/tvm/autotvm/measure/measure_methods.py", line 618, in verify_pass
valid = tvm.analysis.verify_gpu_code(f, kwargs)
AttributeError: module \'tvm\' has no attribute \'analysis\'',),), error_no=2, all_cost=0.015072822570800781, timestamp=1588124691.6949089) [('tile_f', [-1, 1, 32, 16]), ('tile_y', [-1, 1, 1, 1]), ('tile_x', [-1, 1, 1, 1]), ('tile_rc', [-1, 2]), ('tile_ry', [-1, 1]), ('tile_rx', [-1, 1]), ('auto_unroll_max_step', 512), ('unroll_explicit', 1)],None,130424
WARNING:autotvm:Too many errors happen in the tuning. Now is in debug mode
Have you ever encountered this problem before?