From the tests/export_test.py file, I could see that for C++ interface I need to use the AOTInductor interface. Problem is that last time I checked, it could only generate forward passes, and not the gradients. Is it possible to use the TorcScript exported model in C++ (using libtorch interface)? I guess the graph is captured, but for C++ runtime, I will need to link against some OpenEquivariance shared library (like in case of torch scatter) ?
TorchScript can provide access to full forwrad-backward graph in C++.
From the
tests/export_test.pyfile, I could see that for C++ interface I need to use the AOTInductor interface. Problem is that last time I checked, it could only generate forward passes, and not the gradients. Is it possible to use the TorcScript exported model in C++ (usinglibtorchinterface)? I guess the graph is captured, but for C++ runtime, I will need to link against some OpenEquivariance shared library (like in case of torch scatter) ?TorchScript can provide access to full forwrad-backward graph in C++.