Skip to content

Commit

Permalink
Clean up Autogen (#1112)
Browse files Browse the repository at this point in the history
* Remove unnecessary sed in autogen

* Remove .pyc files frrom VCS
  • Loading branch information
antoniojkim authored Jul 27, 2022
1 parent d11a1eb commit 54b3c5e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions build_tools/autogen_ltc_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,16 +441,6 @@ def gen_fallback_code(*args, **kwargs):
lazy_ir_generator=GenMlirLazyIr,
)

# Remove lazy_tensor_core imports
subprocess.check_call(
[
"sed",
"-i",
"/lazy_tensor_core/d",
str(self.generated_path.joinpath("LazyNativeFunctions.cpp")),
]
)

def __call__(self):
self.generate_native_functions()
self.generate_shape_inference()
Expand Down
Binary file removed e2e_testing/torchscript/main.pyc
Binary file not shown.
Binary file removed e2e_testing/torchscript/xfail_sets.pyc
Binary file not shown.
Binary file removed python/test/eager_mode/framework.pyc
Binary file not shown.
Binary file removed test/python/importer/jit_ir/node_import/utils.pyc
Binary file not shown.

0 comments on commit 54b3c5e

Please sign in to comment.