diff --git a/torchchat/utils/quantize.py b/torchchat/utils/quantize.py index b63d42d6c..ebb74f17f 100644 --- a/torchchat/utils/quantize.py +++ b/torchchat/utils/quantize.py @@ -934,7 +934,7 @@ def quantized_model(self) -> nn.Module: torch.ops.load_library(libs[0]) print("Loaded torchao cpu ops.") except Exception as e: - print("Unabled to load torchao cpu ops library. Slow fallback kernels will be used.") + print("Unable to load torchao cpu ops library. Slow fallback kernels will be used.") try: libname = "libtorchao_ops_mps_aten.dylib" @@ -942,7 +942,7 @@ def quantized_model(self) -> nn.Module: torch.ops.load_library(libpath) print("Loaded torchao mps ops.") except Exception as e: - print("Unabled to load torchao mps ops library.") + print("Unable to load torchao mps ops library.") except Exception as e: print("Unabled to import torchao experimental quant_api with error: ", e)