Skip to content

Commit 5620f87

Browse files
committed
update
1 parent ee89f79 commit 5620f87

File tree

1 file changed

+4
-38
lines changed

1 file changed

+4
-38
lines changed

src/diffusers/models/autoencoders/autoencoder_kl_qwenimage.py

Lines changed: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ class AutoencoderKLQwenImage(ModelMixin, ConfigMixin, FromOriginalModelMixin):
668668

669669
_supports_gradient_checkpointing = False
670670

671+
# fmt: off
671672
@register_to_config
672673
def __init__(
673674
self,
@@ -678,45 +679,10 @@ def __init__(
678679
attn_scales: List[float] = [],
679680
temperal_downsample: List[bool] = [False, True, True],
680681
dropout: float = 0.0,
681-
# fmt: off
682-
latents_mean: List[float] = [
683-
-0.7571,
684-
-0.7089,
685-
-0.9113,
686-
0.1075,
687-
-0.1745,
688-
0.9653,
689-
-0.1517,
690-
1.5508,
691-
0.4134,
692-
-0.0715,
693-
0.5517,
694-
-0.3632,
695-
-0.1922,
696-
-0.9497,
697-
0.2503,
698-
-0.2921,
699-
],
700-
latents_std: List[float] = [
701-
2.8184,
702-
1.4541,
703-
2.3275,
704-
2.6558,
705-
1.2196,
706-
1.7708,
707-
2.6052,
708-
2.0743,
709-
3.2687,
710-
2.1526,
711-
2.8652,
712-
1.5579,
713-
1.6382,
714-
1.1253,
715-
2.8251,
716-
1.9160,
717-
],
718-
# fmt: on
682+
latents_mean: List[float] = [-0.7571, -0.7089, -0.9113, 0.1075, -0.1745, 0.9653, -0.1517, 1.5508, 0.4134, -0.0715, 0.5517, -0.3632, -0.1922, -0.9497, 0.2503, -0.2921],
683+
latents_std: List[float] = [2.8184, 1.4541, 2.3275, 2.6558, 1.2196, 1.7708, 2.6052, 2.0743, 3.2687, 2.1526, 2.8652, 1.5579, 1.6382, 1.1253, 2.8251, 1.9160],
719684
) -> None:
685+
# fmt: on
720686
super().__init__()
721687

722688
self.z_dim = z_dim

0 commit comments

Comments
 (0)