From b1349354c0cb2b7efd93a2fb9d05aaf6c7a7e576 Mon Sep 17 00:00:00 2001 From: Nikita Savelyev Date: Mon, 15 Apr 2024 11:59:47 +0200 Subject: [PATCH] Revert inheritance of QuantizationScheme from StrEnum (#2629) ### Changes Do not inherit `QuantizationScheme` from `StrEnum` ### Reason for changes Fix degradation introduced in #2624 --- nncf/common/quantization/structs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nncf/common/quantization/structs.py b/nncf/common/quantization/structs.py index 49dcc694e7b..b7f198496c1 100644 --- a/nncf/common/quantization/structs.py +++ b/nncf/common/quantization/structs.py @@ -24,7 +24,7 @@ @api() -class QuantizationScheme(StrEnum): +class QuantizationScheme: """ Basic enumeration for quantization scheme specification.