Skip to content

Commit 0e7a221

Browse files
authored
Update quantization_config.py
1 parent 11d8e3c commit 0e7a221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/quantizers/quantization_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class QuantizationMethod(str, Enum):
4747
TORCHAO = "torchao"
4848

4949

50-
if is_torchao_available:
50+
if is_torchao_available():
5151
from torchao.quantization.quant_primitives import MappingType
5252

5353
class TorchAoJSONEncoder(json.JSONEncoder):

0 commit comments

Comments
 (0)