Run into the problem of "DiagnosticError: one or more error diagnostics were emitted, please check diagnostic render for output." when compiling with TVM

I ran into the problem as follows:

Traceback (most recent call last): [bt] (6) /usr/lib64/libtvm.so(TVMFuncCall+0x4a) [0x7fd64af8338a] [bt] (5) /usr/lib64/libtvm.so(+0xbb8751) [0x7fd64a5d2751] [bt] (4) /usr/lib64/libtvm.so(tvm::transform::ModulePassNode::operator()(tvm::IRModule, tvm::transform::PassContext const&) const+0x1df) [0x7fd64a5d1edf] [bt] (3) /usr/lib64/libtvm.so(+0x13bc104) [0x7fd64add6104] [bt] (2) /usr/lib64/libtvm.so(+0x13bb45e) [0x7fd64add545e] [bt] (1) /usr/lib64/libtvm.so(tvm::DiagnosticContext::Render()+0x18b) [0x7fd64a5908bb] [bt] (0) /usr/lib64/libtvm.so(+0xb76543) [0x7fd64a590543] File “/opt/tvm/src/ir/diagnostic.cc”, line 112 DiagnosticError: one or more error diagnostics were emitted, please check diagnostic render for output.

How could I solve this problem ?

@ Feynman27 @ APVGITHUB

Could you please help me with the problem above?

@tqchen Could you please help me with the problem above?

I have same error, however, I have detail diagnostics in terminal window.

The Relay type checker is unable to show the following types match Tensor[(64, 66, 1, 1), float32] Tensor[(64, 64, 1, 1), float32] In particular: dimension 1 conflicts: 66 does not match 64. The Relay type checker is unable to show the following types match. In particular Tensor[(64, 64, 1, 1), float32] does not match Tensor[(64, 66, 1, 1), float32] The Relay type checker is unable to show the following types match: Tensor[(256, 66, 1, 1), float32] Tensor[(256, 64, 1, 1), float32] In particular: dimension 1 conflicts: 66 does not match 64. The Relay type checker is unable to show the following types match. In particular Tensor[(256, 64, 1, 1), float32] does not match Tensor[(256, 66, 1, 1), float32]

How could you get the detail output from relay , have you set some environment variables ? @liuying

Sorry for replying so late. I didn’t set anything special as far as I know, I tried to reproduce but failed