Decorate custom C++ ops w/compiler disable guard.
Summary: In order to work properly with `torch.compile()`, we need to decorate any function that calls a custom C++/CUDA extension with `torch.compiler.disable` so that it knows to insert a graph break. Reviewed By: podgorskiy Differential Revision: D59776177 fbshipit-source-id: d80eb43858836f8b8647d2a35b30d0b863989e94
Showing
Please register or sign in to comment