Skip to content

Commit

Permalink
Fixing import typo in quantize.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Khuu authored and metascroy committed Jan 30, 2025
1 parent 525701d commit f9a7bb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions torchchat/utils/quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,7 @@ def quantized_model(self) -> nn.Module:
torchao_experimental_quant_api_spec.loader.exec_module(
torchao_experimental_quant_api
)
from torchao_experimental_quant_api import (
from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
from torchao_experimental_quant_api import UIntxWeightOnlyLinearQuantizer
quantizer_class_dict["linear:afpwx"] = UIntxWeightOnlyLinearQuantizer

# Try loading custom op
Expand Down

0 comments on commit f9a7bb9

Please sign in to comment.