Skip to content

Commit 8259cbb

Browse files
resolve redundant merge code
Signed-off-by: Brian Dellabetta <[email protected]>
1 parent 712a731 commit 8259cbb

File tree

1 file changed

+0
-4
lines changed
  • src/compressed_tensors/quantization/lifecycle

1 file changed

+0
-4
lines changed

src/compressed_tensors/quantization/lifecycle/apply.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ def apply_quantization_config(
148148
# quant scheme to the matching layers
149149
matched_targets = match_targets(name, submodule, target_to_scheme)
150150
scheme = _scheme_from_targets(target_to_scheme, matched_targets, name)
151-
152151
# target matched - add layer and scheme to target list
153152
submodule.quantization_scheme = scheme
154153

@@ -169,9 +168,6 @@ def apply_quantization_config(
169168
)
170169
replace_module(model, name, compressed_linear)
171170

172-
# target matched - add layer and scheme to target list
173-
submodule.quantization_scheme = scheme
174-
175171
# apply current quantization status to each targeted submodule
176172
apply_quantization_status(submodule, config.quantization_status)
177173

0 commit comments

Comments
 (0)