Skip to content

Commit

Permalink
Default value is reused across nncf
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-lyakhov committed Jan 31, 2025
1 parent a85f7b9 commit e7a1453
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nncf/common/quantization/quantizer_propagation/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
from nncf.common.utils.debug import DEBUG_LOG_DIR
from nncf.common.utils.debug import is_debug
from nncf.common.utils.dot_file_rw import write_dot_graph
from nncf.config.schemata.defaults import QUANTIZATION_NARROW_RANGE


class TransitionStatus(Enum):
Expand Down Expand Up @@ -303,7 +304,11 @@ class QuantizerPropagationSolver:

DEFAULT_QUANTIZATION_TYPES = [
QuantizerConfig(
num_bits=8, mode=QuantizationMode.SYMMETRIC, signedness_to_force=None, per_channel=False, narrow_range=False
num_bits=8,
mode=QuantizationMode.SYMMETRIC,
signedness_to_force=None,
per_channel=False,
narrow_range=QUANTIZATION_NARROW_RANGE,
)
]

Expand Down

0 comments on commit e7a1453

Please sign in to comment.