Skip to content

Commit 8b49283

Browse files
shanjiazkylesayrs
andcommitted
Update src/llmcompressor/modifiers/quantization/calibration.py
Co-authored-by: Kyle Sayers <[email protected]>
1 parent 18c63bf commit 8b49283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llmcompressor/modifiers/quantization/calibration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def call_observer(
141141
):
142142
if hasattr(module, name):
143143
delete_offload_parameter(module, name)
144-
module.register_offload_parameter(
144+
register_offload_parameter(module
145145
name, torch.nn.Parameter(value.clone(), requires_grad=False)
146146
)
147147
else:

0 commit comments

Comments
 (0)