We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea76880 commit aad69acCopy full SHA for aad69ac
src/diffusers/pipelines/aura_flow/pipeline_aura_flow.py
@@ -160,8 +160,10 @@ def check_inputs(
160
prompt_attention_mask=None,
161
negative_prompt_attention_mask=None,
162
):
163
- if height % 8 != 0 or width % 8 != 0:
164
- raise ValueError(f"`height` and `width` have to be divisible by 8 but are {height} and {width}.")
+ if height % (self.vae_scale_factor * 2) != 0 or width % (self.vae_scale_factor * 2) != 0:
+ raise ValueError(
165
+ f"`height` and `width` have to be divisible by {self.vae_scale_factor * 2} but are {height} and {width}."
166
+ )
167
168
if prompt is not None and prompt_embeds is not None:
169
raise ValueError(
0 commit comments