How to print debug info in Module lib which is build from TensorIR?

Hi, I have build a Module lib(mod.so) from TensorIR. I am wondering how print some debug info in the lib. How to do this? Thanks.

There is no such mechanism to print info in a module lib. The related one is the relay/relax VM Instruments, which can get the inputs and outputs of all kernels. But if there is only one kernel built from TIR, there is no way to print the intermediate result

OK, got it, thank you.