Skip to content

Commit

Permalink
fix config issue blocking CI
Browse files Browse the repository at this point in the history
Signed-off-by: Xin He <[email protected]>
  • Loading branch information
xinhe3 committed Dec 12, 2024
1 parent b674850 commit d823429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neural_compressor/torch/quantization/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ def get_default_fp8_config_set() -> FP8Config:

######################## MixedPrecision Config ###############################
@register_config(framework_name=FRAMEWORK_NAME, algo_name=MIXED_PRECISION)
class MixedPrecisionConfig(BaseConfig):
class MixedPrecisionConfig(TorchBaseConfig):
"""Config class for mixed-precision."""

name = MIXED_PRECISION
Expand Down Expand Up @@ -2080,7 +2080,7 @@ def get_woq_tuning_config() -> list:
)


class StaticQuantConfig:
class StaticQuantConfig(TorchBaseConfig):
_model_mapping = CONFIGS_FOR_STATIC_QUANT_MAPPING

def __new__(
Expand Down

0 comments on commit d823429

Please sign in to comment.