Skip to content

Commit f9a7bb9

Browse files
Jack-Khuumetascroy
authored andcommitted
Fixing import typo in quantize.py
1 parent 525701d commit f9a7bb9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

torchchat/utils/quantize.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,8 +967,7 @@ def quantized_model(self) -> nn.Module:
967967
torchao_experimental_quant_api_spec.loader.exec_module(
968968
torchao_experimental_quant_api
969969
)
970-
from torchao_experimental_quant_api import (
971-
from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
970+
from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
972971
quantizer_class_dict["linear:afpwx"] = UIntxWeightOnlyLinearQuantizer
973972

974973
# Try loading custom op

0 commit comments

Comments
 (0)