mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-27 17:26:44 +08:00
Revert "[Re-landing 68111] Add JIT graph fuser for oneDNN Graph API (Preview4.1)"
This reverts commit 8b11d810583ab1aac16b211efcc131c85d17c502. Reverted https://github.com/pytorch/pytorch/pull/74596 on behalf of https://github.com/janeyx99
This commit is contained in:
@ -8,9 +8,6 @@
|
||||
#include <torch/csrc/jit/codegen/cuda/python_frontend/python_bindings.h>
|
||||
#include <torch/csrc/jit/codegen/fuser/interface.h>
|
||||
#include <torch/csrc/jit/codegen/fuser/kernel_cache.h>
|
||||
#if (!defined(FBCODE_CAFFE2) && defined(BUILD_ONEDNN_GRAPH))
|
||||
#include <torch/csrc/jit/codegen/onednn/interface.h>
|
||||
#endif
|
||||
#include <torch/csrc/jit/frontend/ir_emitter.h>
|
||||
#include <torch/csrc/jit/frontend/tracer.h>
|
||||
#include <torch/csrc/jit/ir/irparser.h>
|
||||
@ -666,10 +663,6 @@ void initJITBindings(PyObject* module) {
|
||||
return oldState;
|
||||
})
|
||||
.def("_jit_nvfuser_enabled", &RegisterCudaFuseGraph::isRegistered)
|
||||
#if (!defined(FBCODE_CAFFE2) && defined(BUILD_ONEDNN_GRAPH))
|
||||
.def("_jit_set_llga_enabled", &RegisterLlgaFuseGraph::setEnabled)
|
||||
.def("_jit_llga_enabled", &RegisterLlgaFuseGraph::isEnabled)
|
||||
#endif
|
||||
.def(
|
||||
"_jit_nvfuser_set_comparison_callback",
|
||||
[](bool run_fallback, py::function fn) {
|
||||
|
||||
Reference in New Issue
Block a user