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 27b9023 commit a6b843aCopy full SHA for a6b843a
src/diffusers/pipelines/lumina2/pipeline_lumina2.py
@@ -379,7 +379,9 @@ def check_inputs(
379
max_sequence_length=None,
380
):
381
if height % (self.vae_scale_factor * 2) != 0 or width % (self.vae_scale_factor * 2) != 0:
382
- raise ValueError(f"`height` and `width` have to be divisible by 8 but are {height} and {width}.")
+ raise ValueError(
383
+ f"`height` and `width` have to be divisible by {self.vae_scale_factor * 2} but are {height} and {width}."
384
+ )
385
386
if callback_on_step_end_tensor_inputs is not None and not all(
387
k in self._callback_tensor_inputs for k in callback_on_step_end_tensor_inputs
0 commit comments