Skip to content

Commit 525701d

Browse files
metascroyJack-Khuu
andcommitted
Update torchchat/utils/quantize.py
Co-authored-by: Jack-Khuu <[email protected]>
1 parent 48f568d commit 525701d

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
@@ -968,8 +968,7 @@ def quantized_model(self) -> nn.Module:
968968
torchao_experimental_quant_api
969969
)
970970
from torchao_experimental_quant_api import (
971-
UIntxWeightOnlyLinearQuantizer,
972-
)
971+
from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
973972
quantizer_class_dict["linear:afpwx"] = UIntxWeightOnlyLinearQuantizer
974973

975974
# Try loading custom op

0 commit comments

Comments
 (0)