You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -513,6 +513,7 @@ def check_inputs(
513
513
pooled_prompt_embeds=None,
514
514
negative_pooled_prompt_embeds=None,
515
515
callback_on_step_end_tensor_inputs=None,
516
+
max_sequence_length=None,
516
517
):
517
518
ifheight%8!=0orwidth%8!=0:
518
519
raiseValueError(f"`height` and `width` have to be divisible by 8 but are {height} and {width}.")
@@ -584,6 +585,9 @@ def check_inputs(
584
585
"If `negative_prompt_embeds` are provided, `negative_pooled_prompt_embeds` also have to be passed. Make sure to generate `negative_pooled_prompt_embeds` from the same text encoder that was used to generate `negative_prompt_embeds`."
0 commit comments