TVM 0.6.1 compile yolo v2 tiny fail (worked in v0.5.2)

  • TVM version: v0.5.2 (working) v0.6.1rc1(not working)
  • yolo v2 tiny: in tensorflow pb format obtained here: https://github.com/thtrieu/darkflow
  • Error:
    • %32 = multiply(%15, %31) Incompatible broadcast type TensorType([1, 0, 1, 1, 8], float32) and TensorType([1, 2, 416, 416, 8], float32); ;
      
    • %160 = layout_transform(%159, src_layout="NCHW8c", dst_layout="NCHW4c") an internal invariant was violated while typechecking your program [14:10:27] ../src/relay/op/tensor/transform.cc:2323: Check failed: data != nullptr: 
      
    • layout_transform(%165, src_layout="NCHW5c", dst_layout="NHWC") an internal invariant was violated while typechecking your program [14:10:27] ../src/relay/op/tensor/transform.cc:2323: Check failed: data != nullptr: 
      

Full Log: https://pastebin.com/Tnczs1PL

Does anybody have any ideas on how to debug this?

Seem to be cause by relay.build_config(opt_level=3), opt_level=2 works fine. is there a new optimization pass added between .5 and .6 that could have caused this error?