Hi @donglinz, see the doc [Install from Source — tvm 0.8.dev0 documentation 
(apache.org)](https://tvm.apache.org/docs/install/from_source.html#install-from-source)
```
To debug with IRs, set(USE_RELAY_DEBUG ON) and set environment variable 
TVM_LOG_DEBUG.

export TVM_LOG_DEBUG="ir/transform.cc=1;relay/ir/transform.cc=1"
```

In short, first, you have to build TVM with debugging support and then set the 
environment variable before running.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-to-dump-irs-for-each-pass-when-building-a-model/454/10)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/5d6e506df7bfcb69d1855ebfd27dc37c92195cb53ca25c2fcff53c661237cc76).

Reply via email to