Hi @junrushao,
I was able to get something working at the end. It is actually very cool 
My next question is: since I am only using the tensor language (no graph runtime, no relay, no auto-tuner etc…) can we produce a libtvm.so that only includes TE/TIR?
The problem is that libtvm.so is quite big (> 80MB) and I was wondering how much space we could save once we remove things we don’t use (when we jit at Tensor Language level).
Of course I can always hack the CMakeLists.txt, but I was wondering if there was a canonical way of doing it.
Thanks,
Giuseppe