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 11d8e3c commit dcd77ceCopy full SHA for dcd77ce
src/diffusers/quantizers/quantization_config.py
@@ -47,7 +47,7 @@ class QuantizationMethod(str, Enum):
47
TORCHAO = "torchao"
48
49
50
-if is_torchao_available:
+if is_torchao_available():
51
from torchao.quantization.quant_primitives import MappingType
52
53
class TorchAoJSONEncoder(json.JSONEncoder):
0 commit comments