From c6d4bf0db2a59e9df6689cd1168643b9fc021aa6 Mon Sep 17 00:00:00 2001 From: Azad Free Date: Mon, 4 Nov 2024 14:07:12 -0800 Subject: [PATCH] adding suppression tags to improve autodeps noise (#6645) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/6645 The files updated in this diff most likely require manual fix to pass autodeps. This change is to reduce autodeps noise. Reviewed By: Picowchew Differential Revision: D65426689 --- backends/arm/_passes/TARGETS | 1 + backends/arm/quantizer/TARGETS | 2 ++ backends/vulkan/test/TARGETS | 3 +++ devtools/bundled_program/test/TARGETS | 1 + devtools/inspector/TARGETS | 2 ++ examples/apple/coreml/scripts/TARGETS | 1 + examples/models/llama/tests/TARGETS | 1 + exir/program/TARGETS | 1 + extension/pytree/test/TARGETS | 1 + 9 files changed, 13 insertions(+) diff --git a/backends/arm/_passes/TARGETS b/backends/arm/_passes/TARGETS index ca20b03fccd..4a8591a6f16 100644 --- a/backends/arm/_passes/TARGETS +++ b/backends/arm/_passes/TARGETS @@ -1,6 +1,7 @@ load("@fbcode_macros//build_defs:python_library.bzl", "python_library") python_library( + # @autodeps-skip name = "passes", srcs = glob(["*.py"]), typing = True, diff --git a/backends/arm/quantizer/TARGETS b/backends/arm/quantizer/TARGETS index a2445f26c0d..e0ed4a297b9 100644 --- a/backends/arm/quantizer/TARGETS +++ b/backends/arm/quantizer/TARGETS @@ -1,6 +1,7 @@ load("@fbcode_macros//build_defs:python_library.bzl", "python_library") python_library( + # @autodeps-skip name = "arm_quantizer", srcs = ["arm_quantizer.py"], deps = [ @@ -20,6 +21,7 @@ python_library( ) python_library( + # @autodeps-skip name = "arm_quantizer_utils", srcs = ["arm_quantizer_utils.py"], deps = [ diff --git a/backends/vulkan/test/TARGETS b/backends/vulkan/test/TARGETS index 5ac87892762..860d185d8bd 100644 --- a/backends/vulkan/test/TARGETS +++ b/backends/vulkan/test/TARGETS @@ -3,6 +3,7 @@ load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest") oncall("executorch") python_unittest( + # @autodeps-skip name = "test_vulkan_delegate", srcs = [ "test_vulkan_delegate.py", @@ -25,6 +26,7 @@ python_unittest( ) python_unittest( + # @autodeps-skip name = "test_vulkan_delegate_header", srcs = [ "test_vulkan_delegate_header.py", @@ -35,6 +37,7 @@ python_unittest( ) python_unittest( + # @autodeps-skip name = "test_serialization", srcs = [ "test_serialization.py", diff --git a/devtools/bundled_program/test/TARGETS b/devtools/bundled_program/test/TARGETS index 652c74b8f43..15d582582e7 100644 --- a/devtools/bundled_program/test/TARGETS +++ b/devtools/bundled_program/test/TARGETS @@ -33,6 +33,7 @@ python_unittest( ) python_unittest( + # @autodeps-skip name = "end2end", srcs = [ "test_end2end.py", diff --git a/devtools/inspector/TARGETS b/devtools/inspector/TARGETS index bba5f7f8951..4aef07c358b 100644 --- a/devtools/inspector/TARGETS +++ b/devtools/inspector/TARGETS @@ -4,6 +4,7 @@ load("@fbcode_macros//build_defs:python_library.bzl", "python_library") oncall("executorch") python_library( + # @autodeps-skip name = "inspector", srcs = [ "_inspector.py", @@ -32,6 +33,7 @@ python_binary( ) python_library( + # @autodeps-skip name = "inspector_utils", srcs = [ "_inspector_utils.py", diff --git a/examples/apple/coreml/scripts/TARGETS b/examples/apple/coreml/scripts/TARGETS index c47af5235f7..77ba9c9aa65 100644 --- a/examples/apple/coreml/scripts/TARGETS +++ b/examples/apple/coreml/scripts/TARGETS @@ -3,6 +3,7 @@ load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary") python_binary( + # @autodeps-skip name = "export", srcs = [ "export.py", diff --git a/examples/models/llama/tests/TARGETS b/examples/models/llama/tests/TARGETS index 8cea9aeff4b..58c13340020 100644 --- a/examples/models/llama/tests/TARGETS +++ b/examples/models/llama/tests/TARGETS @@ -3,6 +3,7 @@ load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest") oncall("executorch") python_unittest( + # @autodeps-skip name = "test_simple_sdpa", srcs = [ "test_simple_sdpa.py", diff --git a/exir/program/TARGETS b/exir/program/TARGETS index fc73abf1ff7..1039612329a 100644 --- a/exir/program/TARGETS +++ b/exir/program/TARGETS @@ -14,6 +14,7 @@ python_library( ) python_library( + # @autodeps-skip name = "program", srcs = [ "_program.py", diff --git a/extension/pytree/test/TARGETS b/extension/pytree/test/TARGETS index 190bdb0bc67..7fc942aae2d 100644 --- a/extension/pytree/test/TARGETS +++ b/extension/pytree/test/TARGETS @@ -17,6 +17,7 @@ cpp_unittest( ) python_unittest( + # @autodeps-skip name = "pybindings_test", srcs = [ "test.py",