1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

fixed axes_dims_rope init (huggingface#11641) (#11678)

This commit is contained in:
Valeriy Sofin
2025-06-08 22:46:30 +03:00
committed by GitHub
parent 73a9d5856f
commit f46abfe4ce

View File

@@ -241,7 +241,7 @@ class FluxTransformer2DModel(
joint_attention_dim: int = 4096,
pooled_projection_dim: int = 768,
guidance_embeds: bool = False,
axes_dims_rope: Tuple[int] = (16, 56, 56),
axes_dims_rope: Tuple[int, int, int] = (16, 56, 56),
):
super().__init__()
self.out_channels = out_channels or in_channels