Skip to content

Commit eff4024

Browse files
Arm backend: Remove pyre-unsafe from tosa/, vgf/ and ethosu/ (#15352)
Pyre is no longer used. Signed-off-by: Sebastian Larsson <[email protected]>
1 parent c4cd274 commit eff4024

File tree

13 files changed

+0
-13
lines changed

13 files changed

+0
-13
lines changed

backends/arm/ethosu/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55
#
6-
# pyre-unsafe
76

87
from .backend import EthosUBackend # noqa: F401
98
from .compile_spec import EthosUCompileSpec # noqa: F401

backends/arm/ethosu/backend.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76

87
#
98
# Main implementation of AoT flow to partition and preprocess for Arm target

backends/arm/ethosu/partitioner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76

87
from typing import final, Optional, Sequence
98

backends/arm/tosa/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55
#
6-
# pyre-unsafe
76

87
from .specification import TosaSpecification
98

backends/arm/tosa/backend.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76

87
#
98
# Main implementation of AoT flow to partition and preprocess for Arm target

backends/arm/tosa/mapping.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76
"""Provide PyTorch-to-TOSA mapping helpers.
87
98
Use these utilities to translate PyTorch dtypes and FX node metadata into

backends/arm/tosa/partitioner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76
"""Provide a partitioner for delegating subgraphs to the TOSA backend.
87
98
Implement logic to identify and tag regions of an ``ExportedProgram`` that can

backends/arm/tosa/quant_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76

87
# Utility functions for TOSA quantized lowerings
98

backends/arm/tosa/specification.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76
"""Provide TOSA specification parsing and context utilities.
87
98
Use these helpers to parse and validate TOSA profile/extension strings and to

backends/arm/tosa/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
# pyre-unsafe
76

87
import logging
98
from typing import Any

0 commit comments

Comments
 (0)