Error running tune_relay_x86 from tutorials


Hi, I have just started using TVM and having issues with running the script for auto-tuning a network for x86. I tried the script from the tutorial here and get the error enclosed below. I was able to successfully build from source using python3.5. Any help is appreciated!

Traceback (most recent call last):
File “”, line 30, in
from tvm import relay
File “/python/tvm/relay/”, line 24, in
from . import expr_functor
File “/python/tvm/relay/”, line 24, in
from .op import Op
File “/python/tvm/relay/op/”, line 20, in
from .op import get, register, register_schedule, register_compute, register_gradient,
File “/python/tvm/relay/op/”, line 19, in
import topi
File “/topi/python/topi/”, line 27, in
from . import cuda
File “/topi/python/topi/cuda/”, line 5, in
from . import conv2d, depthwise_conv2d, conv2d_transpose_nchw, deformable_conv2d,
File “/topi/python/topi/cuda/”, line 28, in
from .conv2d_int8 import conv2d_NCHWc_int8, schedule_conv2d_NCHWc_int8
File “/topi/python/topi/cuda/”, line 152, in
_dp4a = dp4a(‘shared’, ‘shared’, ‘local’)
File “/topi/python/topi/cuda/”, line 71, in dp4a
with tvm.build_config(data_alignment=4, offset_factor=1) as cfg:
File “/python/tvm/”, line 260, in build_config
config = make.node(“BuildConfig”, **node_args)
File “/python/tvm/”, line 115, in node
return _Node(*args)
File “/python/tvm/_ffi/_ctypes/”, line 209, in call
raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
[bt] (3) /build/ [0x7fe275dbb461]
[bt] (2) /build/ [0x7fe27574b536]
[bt] (1) /build/ [0x7fe27574b08d]
[bt] (0) /build/ [0x7fe2755cc432]
File “/src/lang/”, line 543
TVMError: BuildConfig does not contain field disable_vectorize