File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -934,15 +934,15 @@ def quantized_model(self) -> nn.Module:
934
934
torch .ops .load_library (libs [0 ])
935
935
print ("Loaded torchao cpu ops." )
936
936
except Exception as e :
937
- print ("Unabled to load torchao cpu ops library. Slow fallback kernels will be used." )
937
+ print ("Unable to load torchao cpu ops library. Slow fallback kernels will be used." )
938
938
939
939
try :
940
940
libname = "libtorchao_ops_mps_aten.dylib"
941
941
libpath = f"{ torchao_build_path } /cmake-out/lib/{ libname } "
942
942
torch .ops .load_library (libpath )
943
943
print ("Loaded torchao mps ops." )
944
944
except Exception as e :
945
- print ("Unabled to load torchao mps ops library." )
945
+ print ("Unable to load torchao mps ops library." )
946
946
947
947
except Exception as e :
948
948
print ("Unabled to import torchao experimental quant_api with error: " , e )
You can’t perform that action at this time.
0 commit comments