From 4785e42dfa09edd22cae07d57e3a3f8aa18a9995 Mon Sep 17 00:00:00 2001 From: Sebastian Larsson Date: Wed, 22 Oct 2025 09:16:41 +0200 Subject: [PATCH] Arm backend: Remove pyre-unsafe from quantizer/ & backends/arm Pyre is no longer used. Change-Id: Ia79d9104e60acd5497b093213dccc75a3576e827 Signed-off-by: Sebastian Larsson --- backends/arm/arm_vela.py | 1 - backends/arm/process_node.py | 1 - backends/arm/quantizer/arm_quantizer.py | 1 - backends/arm/quantizer/arm_quantizer_utils.py | 1 - backends/arm/quantizer/quantization_config.py | 1 - 5 files changed, 5 deletions(-) diff --git a/backends/arm/arm_vela.py b/backends/arm/arm_vela.py index 5e2af9c5f39..1ecaca3c454 100644 --- a/backends/arm/arm_vela.py +++ b/backends/arm/arm_vela.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 os import struct diff --git a/backends/arm/process_node.py b/backends/arm/process_node.py index 7dd8f9a7d38..54797b825b7 100644 --- a/backends/arm/process_node.py +++ b/backends/arm/process_node.py @@ -4,7 +4,6 @@ # LICENSE file in the root directory of this source tree. # -# pyre-unsafe from typing import Any, cast, Dict import numpy as np diff --git a/backends/arm/quantizer/arm_quantizer.py b/backends/arm/quantizer/arm_quantizer.py index e6b1358e7e0..cad714607e2 100644 --- a/backends/arm/quantizer/arm_quantizer.py +++ b/backends/arm/quantizer/arm_quantizer.py @@ -5,7 +5,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 # # Quantizer for Arm backend diff --git a/backends/arm/quantizer/arm_quantizer_utils.py b/backends/arm/quantizer/arm_quantizer_utils.py index 90876386aa6..c1137ea4149 100644 --- a/backends/arm/quantizer/arm_quantizer_utils.py +++ b/backends/arm/quantizer/arm_quantizer_utils.py @@ -5,7 +5,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 utilities for quantization annotations. Use these helpers to check and mark annotation state when working with diff --git a/backends/arm/quantizer/quantization_config.py b/backends/arm/quantizer/quantization_config.py index 7495ff22ac6..bb1c8ec51cd 100644 --- a/backends/arm/quantizer/quantization_config.py +++ b/backends/arm/quantizer/quantization_config.py @@ -11,7 +11,6 @@ """ -# pyre-unsafe from dataclasses import dataclass