From 89e14e80c1d5a84db60760c5ac3e63cbf2f339b6 Mon Sep 17 00:00:00 2001 From: "Jae Hoon (Antonio) Kim" <17433012+antoniojkim@users.noreply.github.com> Date: Wed, 27 Jul 2022 09:34:35 -0400 Subject: [PATCH] Clean up Autogen (#1112) * Remove unnecessary sed in autogen * Remove .pyc files frrom VCS --- build_tools/autogen_ltc_backend.py | 10 ---------- e2e_testing/torchscript/main.pyc | Bin 4526 -> 0 bytes e2e_testing/torchscript/xfail_sets.pyc | Bin 10583 -> 0 bytes python/test/eager_mode/framework.pyc | Bin 716 -> 0 bytes .../importer/jit_ir/node_import/utils.pyc | Bin 470 -> 0 bytes 5 files changed, 10 deletions(-) delete mode 100644 e2e_testing/torchscript/main.pyc delete mode 100644 e2e_testing/torchscript/xfail_sets.pyc delete mode 100644 python/test/eager_mode/framework.pyc delete mode 100644 test/python/importer/jit_ir/node_import/utils.pyc diff --git a/build_tools/autogen_ltc_backend.py b/build_tools/autogen_ltc_backend.py index fcd38818fc40..44c56b6454f5 100644 --- a/build_tools/autogen_ltc_backend.py +++ b/build_tools/autogen_ltc_backend.py @@ -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() diff --git a/e2e_testing/torchscript/main.pyc b/e2e_testing/torchscript/main.pyc deleted file mode 100644 index 71b020ae3e9546b898c5329bf85bfada16b25664..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4526 zcmai1TW=f372aK5wW26l7h9GunYd{a8YYzsP^7M5M3$8cs@R64rtJdhdc_%%Ywv}g z8OkOh0R?2B?SqT;yjr~AEyQ)N9xr-}@shU`pYzU{@k+EDuXrn_UyWAd zHE#|5IqpX1;|tz}c->o%FM1c_4R6En%tx2v%id+%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pRQTGF#bf&~&XeMPj(fzBBSlt1EaT8q&hxwc5vC(IzlE3l zG4<`N2*j$HJ-D|blyIuRw;zH-5f00iV~^Hf+Qx)Ul0`?CcJ}t}@7+8rqeme}*2O<9N7#uXD8o@;`NqDy%zFQqUa zNnVz~jEo?(B!#nbo)jcSlB`j)NDbYi_6t7ujT<97VZ|&@!;m-g_$tKO4d)C38k&d-jGMhFI z@hamY=#^<$aO0VVEw5vaB#>oA^1~hU)Lk?dQcBr&kzSSxF5X2v`M+!v{rhdPxLl|c zFVc`}*KM~@$G7|da@r(}e&kKE;Wi#cRU8S%imVf$4rh0Bnt$Pp!>M%7I6o_g-Gt7^ zzr=ZyswonBn+k(s>ER<3VAc(e;AQq;=fMZ>z4sv40i$yKo3NQihY1@B5$|WO5`*gjZpeO0 z*K)cmDSv$FP_60h#zdj_!K>!eeP%l42hvQydhR4%R36JFf=$R$w0c)xDH)D}`vD}m zLf*Va4WWJFa!TpGKZ6-YqXszDTeutGMs%ByqTWJ7^}6cRP|xu%vLae%y->5uPW7$o KdsWo)vi(1^{yWzI diff --git a/e2e_testing/torchscript/xfail_sets.pyc b/e2e_testing/torchscript/xfail_sets.pyc deleted file mode 100644 index ea6c60b978ba0f38a86804ea085a18c6ccbf5ded..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10583 zcmeHNXLuXO5hW>FmSoem*n1JJ=2)Uh%8rvbjsXIc7?U7PK$3$L2aFVdvWSq!C~icAeF!QB7G}?^WMzP?#}Mc4j6A~+0j6M zwrsm~sd22K;Wp=o%AcF)!!^{bTbddg(11p*q1c#hY-|vX*(Nk$OQ9*d1#ZD>aaI?;u0^q?1g=*IvCF@#}^U>8PlF?M4Q_F^CQ;}YBn zm*M~pVhopI921ztAzY3taA#bJyWp<48?M6LaW(FNYY;;mQ}ii;B&Kl~M=*nX;#$mN z4k^rI0oP#>X=HE|$8a3i<6g+(-nb9$i~Avm`$NGJ@&E*uv4R3rJOC%4p$HuYN;nA< z7H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vxlRNJy~^lqqTHqABP`c@fx(r{SO zN>rgB_tVIQ{sO-yQY$NCZF8OG?L?hRL+4VD%>T34#`40*EMCkbtF*}}GBzHkdMs^D z!_)ROOG(b=_B7YhJtb8cDA#I_YnaET#(p diff --git a/test/python/importer/jit_ir/node_import/utils.pyc b/test/python/importer/jit_ir/node_import/utils.pyc deleted file mode 100644 index 98a8e389b2aff59275850827954f04a6f83b5fc5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 470 zcmYjOy-ve05VoDBv_RF3p%ZI{)-Qk%A~RhOOP0taZtE(sBl}t?Dib^hYQ@AWd1c}i zm^erLo%DU@JDxQM*oK3CSXe1Q=ChS9f~1eZ*ka*Xp88%RtdqI2N#y&XAlIUnSsxtcatGG4V)aIB zAB8^ext73%2BVc3mvYUWU2{Eie>nky-#K21hfNMrI}=32TDUnaUfXSw er|lE8TkQ=0DEyo6oz