Skip to content

Commit

Permalink
Drop caffe2 nomnigraph (pytorch#127086)
Browse files Browse the repository at this point in the history
Fixes #ISSUE_NUMBER

Pull Request resolved: pytorch#127086
Approved by: https://github.com/Skylion007
  • Loading branch information
r-barnes authored and pytorchmergebot committed May 28, 2024
1 parent f6ef832 commit 1be7e40
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 1,897 deletions.
12 changes: 0 additions & 12 deletions c2_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@ def get_c2_mpscnn_test():

return bool(int(c2_mpscnn_test))

def get_c2_nomnigraph():
c2_nomnigraph = native.read_config("caffe2", "enable_nomnigraph", "1")

expect(
c2_nomnigraph in ("0", "1"),
c2_nomnigraph,
)

return bool(int(c2_nomnigraph))

def get_c2_qpl():
c2_qpl = native.read_config("caffe2", "enable_qpl", "1")

Expand Down Expand Up @@ -125,8 +115,6 @@ C2_XPLAT_HPTT_PREPROCESSOR_FLAGS = [

def get_c2_xplat_preprocessor_flags():
flags = get_c2_xplat_no_hptt_preprocessor_flags() + C2_XPLAT_HPTT_PREPROCESSOR_FLAGS
if get_c2_nomnigraph():
flags.append("-DCAFFE2_OPTIMIZER")
return flags

def get_c2_xplat_no_hptt_compiler_flags():
Expand Down
22 changes: 0 additions & 22 deletions caffe2/core/nomnigraph/CMakeLists.txt

This file was deleted.

154 changes: 0 additions & 154 deletions caffe2/core/nomnigraph/README.md

This file was deleted.

Empty file removed caffe2/core/nomnigraph/__init__.py
Empty file.
Loading

0 comments on commit 1be7e40

Please sign in to comment.