AlterOpLayout issue when using AutoTVM

I’m trying to follow the approach here:
https://github.com/dmlc/tvm/blob/master/tutorials/autotvm/tune_relay_x86.py
to tune a full resnet network.
However I’m trying to use my own tunable conv2d routine as a autotvm template.
Is there a way to do this? Currently the tuning proceeds without error but when build_module.build is called I get an error in AlterOpLayout saying that the configuration lacks value for “tile_ic” and “tile_oc”
the innermost dimension in NCHWc.

Thanks

There has been a recent patch for an AlterOpLayout fix merged into master, have you updated your local copy of TVM?

You should disable the alter_op_layout pass, because it assumes the configuration space has “tile_ic” and “tile_oc” fileds for x86 cpu.
This assumption is hard-coded in this function