Skip to content

Commit f59e07a

Browse files
committed
update
1 parent e710bde commit f59e07a

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
@@ -406,7 +406,7 @@ class GGUFQuantizationConfig(QuantizationConfigMixin):
406406
407407
"""
408408

409-
def __init__(self, compute_dtype: torch.dtype = None):
409+
def __init__(self, compute_dtype: Optional["torch.dtype"] = None):
410410
self.quant_method = QuantizationMethod.GGUF
411411
self.compute_dtype = compute_dtype
412412
self.pre_quantized = True

0 commit comments

Comments
 (0)