Skip to content

Commit b6e8793

Browse files
committed
fix: remove debug code
1 parent 65e76fe commit b6e8793

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/diffusers/pipelines/lumina2/pipeline_lumina2_accessory.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,6 @@ def __call__(
856856
if not output_type == "latent":
857857
latents = (latents / self.vae.config.scaling_factor) + self.vae.config.shift_factor
858858
image = self.vae.decode(latents, return_dict=False)[0]
859-
raise ValueError(f"{latents.shape=}, {image.shape=}")
860-
logger.debug(f"######### {image.shape=}")
861859
image = self.image_processor.postprocess(image, output_type=output_type)
862860
else:
863861
image = latents

0 commit comments

Comments
 (0)