Skip to content

Commit 6febc08

Browse files
authored
Fix type of force_upcast to bool (#12046)
1 parent 9a2eaed commit 6febc08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/autoencoders/autoencoder_kl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
shift_factor: Optional[float] = None,
9191
latents_mean: Optional[Tuple[float]] = None,
9292
latents_std: Optional[Tuple[float]] = None,
93-
force_upcast: float = True,
93+
force_upcast: bool = True,
9494
use_quant_conv: bool = True,
9595
use_post_quant_conv: bool = True,
9696
mid_block_add_attention: bool = True,

0 commit comments

Comments
 (0)