diff --git a/backends/cadence/aot/BUCK b/backends/cadence/aot/BUCK index dd0007c0639..e57de64b94e 100644 --- a/backends/cadence/aot/BUCK +++ b/backends/cadence/aot/BUCK @@ -128,7 +128,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "ref_implementations.py", ], - typing = True, deps = [ "fbcode//caffe2:torch", "fbcode//executorch/backends/cadence/aot:utils", @@ -175,7 +174,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_pass_utils.py", ], - typing = True, deps = [ ":pass_utils", "//caffe2:torch", @@ -187,7 +185,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "compiler_utils.py", ], - typing = True, deps = [ "//caffe2:torch", "//executorch/exir/dialects:lib", @@ -199,7 +196,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "to_out_var_pass.py", ], - typing = True, deps = [ ":ops_registrations", "//caffe2:torch", @@ -213,7 +209,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "graph_builder.py", ], - typing = True, deps = [ "//executorch/backends/test:graph_builder", ], @@ -224,7 +219,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "program_builder.py", ], - typing = True, deps = [ "//executorch/backends/test:program_builder", ], @@ -235,7 +229,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_program_builder.py", ], - typing = True, deps = [ "//executorch/backends/test:program_builder", "//caffe2:torch", @@ -248,7 +241,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "fuse_ops.py", ], - typing = True, deps = [ ":compiler_utils", ":ops_registrations", @@ -273,7 +265,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "simplify_ops.py", ], - typing = True, deps = [ ":pass_utils", ":utils", @@ -288,7 +279,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "remove_ops.py", ], - typing = True, deps = [ ":fuse_ops", ":ops_registrations", @@ -309,7 +299,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "reorder_ops.py", ], - typing = True, deps = [ "//caffe2:torch", "//executorch/backends/cadence/aot:compiler_utils", @@ -328,7 +317,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "replace_ops.py", ], - typing = True, deps = [ ":pass_utils", "//caffe2:torch", @@ -350,7 +338,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "decompose_ops.py", ], - typing = True, deps = [ ":pass_utils", "//caffe2:torch", @@ -367,7 +354,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "type_dispatch.py", ], - typing = True, deps = [ "//caffe2:torch", "//executorch/backends/cadence/aot:pass_utils", @@ -382,7 +368,6 @@ fbcode_target(_kind = python_unittest, "tests/test_type_dispatch_passes.py", ], supports_static_listing = False, - typing = True, deps = [ ":ops_registrations", ":typing_stubs", @@ -400,7 +385,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "typing_stubs.py", ], - typing = True, deps = [ "fbsource//third-party/pypi/parameterized:parameterized", ], @@ -411,7 +395,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "compiler_funcs.py", ], - typing = True, deps = [ "//caffe2:torch", "//executorch/backends/transforms:permute_pass_utils", @@ -425,7 +408,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_graph_builder.py", ], - typing = True, deps = [ ":ops_registrations", "//caffe2:torch", @@ -443,7 +425,6 @@ fbcode_target(_kind = python_unittest, "tests/test_replace_ops_passes.py", ], supports_static_listing = False, - typing = True, deps = [ ":compiler", ":typing_stubs", @@ -464,7 +445,6 @@ fbcode_target(_kind = python_unittest, "tests/test_decompose_ops_passes.py", ], supports_static_listing = False, - typing = True, deps = [ ":compiler", ":decompose_ops", @@ -485,7 +465,6 @@ fbcode_target(_kind = python_unittest, "tests/test_fusion_ops_passes.py", ], supports_static_listing = False, - typing = True, deps = [ ":compiler", ":typing_stubs", @@ -506,7 +485,6 @@ fbcode_target(_kind = python_unittest, "tests/test_remove_ops_passes.py", ], supports_static_listing = False, - typing = True, deps = [ "fbsource//third-party/pypi/pyre-extensions:pyre-extensions", ":typing_stubs", @@ -528,7 +506,6 @@ fbcode_target(_kind = python_unittest, "tests/test_remove_bn_tracking_pass.py", ], supports_static_listing = False, - typing = True, deps = [ "//caffe2:torch", "//executorch/backends/cadence/aot:remove_ops", @@ -544,7 +521,6 @@ fbcode_target(_kind = python_unittest, "tests/test_simplify_ops_passes.py", ], supports_static_listing = False, - typing = True, deps = [ ":typing_stubs", "//caffe2:torch", @@ -562,7 +538,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_reorder_ops_passes.py", ], - typing = True, deps = [ ":compiler", ":pass_utils", @@ -632,7 +607,6 @@ fbcode_target(_kind = python_unittest, "tests/test_memory_passes.py", ], supports_static_listing = False, - typing = True, deps = [ ":compiler", ":memory_planning", @@ -653,7 +627,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_idma_ops.py", ], - typing = True, deps = [ "//executorch/backends/test:graph_builder", "//executorch/backends/cadence/aot:ops_registrations", @@ -668,7 +641,6 @@ fbcode_target(_kind = python_unittest, "tests/test_ref_implementations.py", ], supports_static_listing = False, - typing = True, deps = [ ":typing_stubs", "//executorch/backends/cadence/aot:ops_registrations", @@ -681,7 +653,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_quantizer_ops.py", ], - typing = True, deps = [ "fbsource//third-party/pypi/parameterized:parameterized", "//caffe2:torch", @@ -697,7 +668,6 @@ fbcode_target(_kind = python_unittest, srcs = [ "tests/test_to_out_var_pass.py", ], - typing = True, deps = [ ":ops_registrations", "//executorch/backends/test:program_builder", diff --git a/backends/cadence/aot/quantizer/BUCK b/backends/cadence/aot/quantizer/BUCK index 956bf700bd7..e8562b11e80 100644 --- a/backends/cadence/aot/quantizer/BUCK +++ b/backends/cadence/aot/quantizer/BUCK @@ -19,7 +19,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "pattern_utils.py", ], - typing = True, deps = [ ":utils", "//caffe2:torch", @@ -34,7 +33,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "patterns.py", ], - typing = True, deps = [ ":pattern_utils", ":utils", @@ -48,7 +46,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "quantizer.py", ], - typing = True, deps = [ ":patterns", ":utils", diff --git a/backends/cadence/aot/quantizer/passes/BUCK b/backends/cadence/aot/quantizer/passes/BUCK index 89ef7cc12cb..d6d54edfdd2 100644 --- a/backends/cadence/aot/quantizer/passes/BUCK +++ b/backends/cadence/aot/quantizer/passes/BUCK @@ -8,7 +8,6 @@ fbcode_target(_kind = runtime.python_library, srcs = [ "fuse_ops.py", ], - typing = True, deps = [ "//caffe2:torch", "//executorch/backends/cadence/aot:pass_utils", diff --git a/backends/cadence/runtime/BUCK b/backends/cadence/runtime/BUCK index e92913f37e4..2fa56e0c39a 100644 --- a/backends/cadence/runtime/BUCK +++ b/backends/cadence/runtime/BUCK @@ -21,7 +21,6 @@ fbcode_target(_kind = runtime.python_library, ] + glob([ "xtsc-cfg/**/*", ]), - typing = True, deps = [ "//caffe2:torch", "//executorch/devtools/bundled_program:config", diff --git a/backends/cadence/utils/targets.bzl b/backends/cadence/utils/targets.bzl index 8b14f7684da..17e86f52016 100644 --- a/backends/cadence/utils/targets.bzl +++ b/backends/cadence/utils/targets.bzl @@ -12,7 +12,6 @@ def define_common_targets(): srcs = [ "facto_util.py", ], - typing = True, deps = [ "fbcode//caffe2:torch", "fbcode//pytorch/facto:facto", diff --git a/backends/native/BUCK b/backends/native/BUCK index 98f1c3d5f54..e2fe69e5d46 100644 --- a/backends/native/BUCK +++ b/backends/native/BUCK @@ -13,7 +13,6 @@ runtime.export_file( fbcode_target( _kind = runtime.python_library, name = "lib", - typing = True, srcs = [ "serialization/__init__.py", "serialization/graph_serialize.py", diff --git a/backends/test/targets.bzl b/backends/test/targets.bzl index 0ed537579ee..00e5656504a 100644 --- a/backends/test/targets.bzl +++ b/backends/test/targets.bzl @@ -12,7 +12,6 @@ def define_common_targets(is_fbcode = False): srcs = [ "graph_builder.py", ], - typing = True, deps = [ "//caffe2:torch", "//executorch/exir:pass_base", @@ -24,7 +23,6 @@ def define_common_targets(is_fbcode = False): srcs = [ "program_builder.py", ], - typing = True, deps = [ ":graph_builder", "//caffe2:torch", diff --git a/backends/vulkan/_passes/targets.bzl b/backends/vulkan/_passes/targets.bzl index 19b6c6c2afd..89565a8f5c8 100644 --- a/backends/vulkan/_passes/targets.bzl +++ b/backends/vulkan/_passes/targets.bzl @@ -132,7 +132,6 @@ def define_common_targets(is_fbcode = False): "//executorch/exir:pass_base", "//executorch/exir/dialects:lib", ], - typing = True, ) runtime.python_library( diff --git a/backends/vulkan/partitioner/BUCK b/backends/vulkan/partitioner/BUCK index 18ff58c0a75..43088d3a470 100644 --- a/backends/vulkan/partitioner/BUCK +++ b/backends/vulkan/partitioner/BUCK @@ -20,5 +20,4 @@ fbcode_target(_kind = runtime.python_library, "//executorch/exir/backend:utils", "//executorch/exir/backend/canonical_partitioners:canonical_partitioner_lib", ], - typing = True, ) diff --git a/backends/vulkan/patterns/BUCK b/backends/vulkan/patterns/BUCK index 93d8a0c684d..bc9f97a804c 100644 --- a/backends/vulkan/patterns/BUCK +++ b/backends/vulkan/patterns/BUCK @@ -32,5 +32,4 @@ fbcode_target(_kind = runtime.python_library, "//executorch/backends/transforms:utils", "//executorch/backends/vulkan:utils_lib", ], - typing = True, )