From 9d5bb6327c9f302fe08056a46c46caee112745ec Mon Sep 17 00:00:00 2001 From: Mark Shields Date: Wed, 13 Oct 2021 15:37:32 -0700 Subject: [PATCH 1/2] Update TVM_LOG_DEBUG for IR tracing. Forgot to do this when I switched to VLOG, sorry. --- docs/install/from_source.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst index b28c18162437..572a966eb87f 100644 --- a/docs/install/from_source.rst +++ b/docs/install/from_source.rst @@ -107,7 +107,7 @@ The configuration of TVM can be modified by editing `config.cmake` and/or by pas .. code:: bash - export TVM_LOG_DEBUG=1 + export TVM_LOG_DEBUG="ir/transform.cc=1;src/relay/ir/transform.cc=1" - TVM requires LLVM for for CPU codegen. We highly recommend you to build with the LLVM support on. From 84bed69814d14ae1f2a85243b7ae8bfca5f9c2c0 Mon Sep 17 00:00:00 2001 From: Mark Shields Date: Wed, 13 Oct 2021 15:39:49 -0700 Subject: [PATCH 2/2] Woops, remove src/ prefix. --- docs/install/from_source.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst index 572a966eb87f..23be3198bf7c 100644 --- a/docs/install/from_source.rst +++ b/docs/install/from_source.rst @@ -107,7 +107,7 @@ The configuration of TVM can be modified by editing `config.cmake` and/or by pas .. code:: bash - export TVM_LOG_DEBUG="ir/transform.cc=1;src/relay/ir/transform.cc=1" + export TVM_LOG_DEBUG="ir/transform.cc=1;relay/ir/transform.cc=1" - TVM requires LLVM for for CPU codegen. We highly recommend you to build with the LLVM support on.