Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 8b924d9

Browse files
authored
Update quantize.py
1 parent 72c1373 commit 8b924d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchchat/utils/quantize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def quantize_model(
121121
precision = get_precision()
122122

123123
q = quantizer_class_dict[quantizer]
124-
named_params = get_named_params(q.__init__)
124+
named_params = get_named_parameters(q.__init__)
125125
q_kwargs = validate_args(named_params, quantizer, q_kwargs)
126126

127127
# Handle tokenizer for scenarios where the quantizer needs to tokenizer sample inputs

0 commit comments

Comments
 (0)