Hi, all
I'm integrating TVM into a C++ deep learning framework, which is similar to the work of torch-tvm. And during the work, I found that the whole functionality of TVM relies on not only the C++ code, but also the python code, which cannot be compiled into the libtvm.so. For example, the relay op `nn.relu` was registered at the *src/relay/op/nn/nn.cc* without the `TOpPattern` attribute, but when we build the relay graph (through C++ API `RelayBuildModule::BuildRelay()` ), it requires the `TOpPattern` attribute of all ops, thus failing to build. The `TOpPattern` attribute for `nn.relu` is registered at *python/tvm/relay/op/nn/_nn.py* , so if we build the relay graph from python API (i.e. `relay.build_module.build()` ), there is no error. Same thing goes for the functionality of loading the tuned config for ops, the corresponding code are written in Python at *python/tvm/autotvm* , and I don't find the C++ code for it. So will TVM be compiled as a standalone C++ library with all its functionality in the future? and if so, Is there a roadmap for it now? Any help would be greatly appreciated, Thanks! --- [Visit Topic](https://discuss.tvm.ai/t/will-tvm-be-compiled-as-a-standalone-c-library/6607/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/19703caa58cca3d00db2a101e335160a1ea0f5da1af2588eaa6930bfaf8032d7).