We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525701d commit f9a7bb9Copy full SHA for f9a7bb9
torchchat/utils/quantize.py
@@ -967,8 +967,7 @@ def quantized_model(self) -> nn.Module:
967
torchao_experimental_quant_api_spec.loader.exec_module(
968
torchao_experimental_quant_api
969
)
970
- from torchao_experimental_quant_api import (
971
- from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
+ from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
972
quantizer_class_dict["linear:afpwx"] = UIntxWeightOnlyLinearQuantizer
973
974
# Try loading custom op
0 commit comments