Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
horheynm authored Nov 22, 2024
1 parent 60a6940 commit 19b283c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/compressed_tensors/quantization/quant_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
__all__ = [
"QuantizationStatus",
"QuantizationConfig",
"QuantizationConfigHFQuantizer",
"LIFECYCLE_ORDER",
"DEFAULT_QUANTIZATION_METHOD",
"DEFAULT_QUANTIZATION_FORMAT",
Expand Down Expand Up @@ -263,14 +262,3 @@ def requires_calibration_data(self):
return True

return False


# For HFQuantizer, be able to adjust run_compressed on model load
class QuantizationConfigHFQuantizer(QuantizationConfig):
"""
:param run_compressed: param used set run_compressed.
Used for `apply_quantization_config` in CompressedTensorsHfQuantizer
in transformers
"""

run_compressed: bool = True

0 comments on commit 19b283c

Please sign in to comment.