File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/compressed_tensors/quantization/lifecycle Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ def apply_quantization_config(
148
148
# quant scheme to the matching layers
149
149
matched_targets = match_targets (name , submodule , target_to_scheme )
150
150
scheme = _scheme_from_targets (target_to_scheme , matched_targets , name )
151
-
152
151
# target matched - add layer and scheme to target list
153
152
submodule .quantization_scheme = scheme
154
153
@@ -169,9 +168,6 @@ def apply_quantization_config(
169
168
)
170
169
replace_module (model , name , compressed_linear )
171
170
172
- # target matched - add layer and scheme to target list
173
- submodule .quantization_scheme = scheme
174
-
175
171
# apply current quantization status to each targeted submodule
176
172
apply_quantization_status (submodule , config .quantization_status )
177
173
You can’t perform that action at this time.
0 commit comments