diff --git a/backends/arm/ethosu/__init__.py b/backends/arm/ethosu/__init__.py index 25a91dc5929..10b14d4a68a 100644 --- a/backends/arm/ethosu/__init__.py +++ b/backends/arm/ethosu/__init__.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. # -# pyre-unsafe from .backend import EthosUBackend # noqa: F401 from .compile_spec import EthosUCompileSpec # noqa: F401 diff --git a/backends/arm/ethosu/backend.py b/backends/arm/ethosu/backend.py index a529aa126f4..c2feab6478b 100644 --- a/backends/arm/ethosu/backend.py +++ b/backends/arm/ethosu/backend.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe # # Main implementation of AoT flow to partition and preprocess for Arm target diff --git a/backends/arm/ethosu/partitioner.py b/backends/arm/ethosu/partitioner.py index 4e6c5f4b985..33ac6a1db62 100644 --- a/backends/arm/ethosu/partitioner.py +++ b/backends/arm/ethosu/partitioner.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe from typing import final, Optional, Sequence diff --git a/backends/arm/tosa/__init__.py b/backends/arm/tosa/__init__.py index 132d3563a43..30860642ac5 100644 --- a/backends/arm/tosa/__init__.py +++ b/backends/arm/tosa/__init__.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. # -# pyre-unsafe from .specification import TosaSpecification diff --git a/backends/arm/tosa/backend.py b/backends/arm/tosa/backend.py index e19d026e03b..8fb50707952 100644 --- a/backends/arm/tosa/backend.py +++ b/backends/arm/tosa/backend.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe # # Main implementation of AoT flow to partition and preprocess for Arm target diff --git a/backends/arm/tosa/mapping.py b/backends/arm/tosa/mapping.py index e21fd38723b..2287a727009 100644 --- a/backends/arm/tosa/mapping.py +++ b/backends/arm/tosa/mapping.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe """Provide PyTorch-to-TOSA mapping helpers. Use these utilities to translate PyTorch dtypes and FX node metadata into diff --git a/backends/arm/tosa/partitioner.py b/backends/arm/tosa/partitioner.py index 6eb1dcbef72..dbe18f7db7d 100644 --- a/backends/arm/tosa/partitioner.py +++ b/backends/arm/tosa/partitioner.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe """Provide a partitioner for delegating subgraphs to the TOSA backend. Implement logic to identify and tag regions of an ``ExportedProgram`` that can diff --git a/backends/arm/tosa/quant_utils.py b/backends/arm/tosa/quant_utils.py index ddf9d31145c..9ad2192bb9a 100644 --- a/backends/arm/tosa/quant_utils.py +++ b/backends/arm/tosa/quant_utils.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe # Utility functions for TOSA quantized lowerings diff --git a/backends/arm/tosa/specification.py b/backends/arm/tosa/specification.py index 3edf27760b5..7afa7d9f0de 100644 --- a/backends/arm/tosa/specification.py +++ b/backends/arm/tosa/specification.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe """Provide TOSA specification parsing and context utilities. Use these helpers to parse and validate TOSA profile/extension strings and to diff --git a/backends/arm/tosa/utils.py b/backends/arm/tosa/utils.py index edcef8ceb9d..14a22298d8a 100644 --- a/backends/arm/tosa/utils.py +++ b/backends/arm/tosa/utils.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe import logging from typing import Any diff --git a/backends/arm/vgf/__init__.py b/backends/arm/vgf/__init__.py index f4ce8f5d1a4..88be90e084e 100644 --- a/backends/arm/vgf/__init__.py +++ b/backends/arm/vgf/__init__.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. # -# pyre-unsafe from .backend import VgfBackend # noqa: F401 from .compile_spec import VgfCompileSpec # noqa: F401 diff --git a/backends/arm/vgf/backend.py b/backends/arm/vgf/backend.py index 7ed0154ab99..82d200f44fd 100644 --- a/backends/arm/vgf/backend.py +++ b/backends/arm/vgf/backend.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe # # Main implementation of AoT flow to partition and preprocess for VGF target diff --git a/backends/arm/vgf/partitioner.py b/backends/arm/vgf/partitioner.py index ea10730e810..be684505d2b 100644 --- a/backends/arm/vgf/partitioner.py +++ b/backends/arm/vgf/partitioner.py @@ -3,7 +3,6 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. -# pyre-unsafe from typing import final, Optional, Sequence