File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/diffusers/pipelines/flux Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,9 @@ def __init__(
225225 # Flux latents are turned into 2x2 patches and packed. This means the latent width and height has to be divisible
226226 # by the patch size. So the vae scale factor is multiplied by the patch size to account for this
227227 self .latent_channels = self .vae .config .latent_channels if getattr (self , "vae" , None ) else 16
228- self .image_processor = VaeImageProcessor (vae_scale_factor = self .vae_scale_factor * 2 ,vae_latent_channels = self .latent_channels )
228+ self .image_processor = VaeImageProcessor (
229+ vae_scale_factor = self .vae_scale_factor * 2 , vae_latent_channels = self .latent_channels
230+ )
229231 self .mask_processor = VaeImageProcessor (
230232 vae_scale_factor = self .vae_scale_factor * 2 ,
231233 vae_latent_channels = self .latent_channels ,
You can’t perform that action at this time.
0 commit comments