Skip to content

Torchscript and C++ interface #107

@ipcamit

Description

@ipcamit

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++.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions