Skip to content

Commit 6b3310b

Browse files
committed
Enable awq by default.
1 parent 70e47c8 commit 6b3310b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nncf/quantization/algorithms/weight_compression/awq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def apply(
140140
transformation_layout = TransformationLayout()
141141
model_transformer = ModelTransformerFactory.create(model, inplace=True)
142142

143-
is_data_free = statistics is None
143+
is_data_free = True #statistics is None
144144
description = "Applying data-free AWQ" if is_data_free else "Applying AWQ"
145145

146146
for k, awq_data_item in track(awq_data.items(), description=description):

nncf/quantization/quantize_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def compress_weights(
435435
sensitivity_metric: Optional[SensitivityMetric] = None,
436436
*,
437437
subset_size: int = 128,
438-
awq: Optional[bool] = None,
438+
awq: Optional[bool] = True,
439439
scale_estimation: Optional[bool] = None,
440440
gptq: Optional[bool] = None,
441441
lora_correction: Optional[bool] = None,

0 commit comments

Comments
 (0)