I guess this error is related to the debug, after changing set(USE_RELAY_DEBUG ON) to set(USE_RELAY_DEBUG OFF) and rebuild, this problem disappears.
But I don’t know what’s wrong.
My environment: ubuntu 20.04, llvm-10,cmake 3.23.1
The Docs is wrong.
Check the latest code, correct way is [TVM_LOG_DEBUG=“DEFAULT=2,ir/bar.cc=-1”, All files log level set 2, but ir/bar.cc set -1, not print any log]