Some error occurs when I run tune_nnvm_cuda.py, with the whole script under opt level = 3
Extract tasks...
Traceback (most recent call last):
File "tune_nnvm_cuda.py", line 248, in <module>
tune_and_evaluate(tuning_option)
File "tune_nnvm_cuda.py", line 212, in tune_and_evaluate
symbols=(nnvm.sym.conv2d,))
File "/home/wuweilin/tvm/python/tvm/autotvm/task/nnvm_integration.py", line 249, in extract_from_graph
nnvm.compiler.build(graph, target=tracing_target, shape=shape, dtype=dtype)
File "/home/wuweilin/tvm/nnvm/python/nnvm/compiler/build_module.py", line 305, in build
graph = graph.apply("GraphCompile")
File "/home/wuweilin/tvm/nnvm/python/nnvm/graph.py", line 234, in apply
check_call(_LIB.NNGraphApplyPasses(self.handle, npass, cpass, ctypes.byref(ghandle)))
File "/home/wuweilin/tvm/nnvm/python/nnvm/_base.py", line 75, in check_call
raise NNVMError(py_str(_LIB.NNGetLastError()))
nnvm._base.NNVMError: [15:49:40] /home/wuweilin/tvm/nnvm/include/nnvm/op.h:530: Check failed: op != nullptr
Stack trace returned 10 entries:
[bt] (0) /home/wuweilin/tvm/build/libtvm.so(dmlc::StackTrace[abi:cxx11]()+0x5b) [0x7f6efcd8892b]
[bt] (1) /home/wuweilin/tvm/build/libtvm.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x28) [0x7f6efcd891d8]
[bt] (2) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(nnvm::compiler::CompileEngine::GetScheduleArgs(nnvm::Graph, tvm::Array<tvm::Tensor, void> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, tvm::Array<tvm::Tensor, void>*)+0x2cf4) [0x7f6ecc5c11b4]
[bt] (3) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(nnvm::compiler::CompileEngine::DoLower(nnvm::Graph, tvm::Array<tvm::Tensor, void> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x108) [0x7f6ecc5c19a8]
[bt] (4) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(nnvm::compiler::CompileEngine::Lower(nnvm::Graph, tvm::Array<tvm::Tensor, void> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x1d5) [0x7f6ecc5c2e25]
[bt] (5) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(nnvm::compiler::GraphLower(nnvm::Graph, tvm::Array<tvm::Tensor, void> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x5f) [0x7f6ecc5b7faf]
[bt] (6) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(nnvm::compiler::GraphCompile(nnvm::Graph const&)+0xc65) [0x7f6ecc5d0d45]
[bt] (7) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(std::_Function_handler<nnvm::Graph (nnvm::Graph), nnvm::Graph (*)(nnvm::Graph const&)>::_M_invoke(std::_Any_data const&, nnvm::Graph&&)+0x20) [0x7f6ecc58b2f0]
[bt] (8) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(nnvm::ApplyPasses(nnvm::Graph, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x32b) [0x7f6ecc54ee5b]
[bt] (9) /home/wuweilin/tvm/nnvm/python/nnvm/../../../build/libnnvm_compiler.so(NNGraphApplyPasses+0x348) [0x7f6ecc52f878]
I am not sure if this is an actual bug, just FYI.
cc @merrymercy