Skip to content

Commit da3311d

Browse files
committed
latents.shape -> latents_shape
1 parent 1f0117d commit da3311d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def loop_body(step, args):
258258
return latents, scheduler_state
259259

260260
scheduler_state = self.scheduler.set_timesteps(
261-
params["scheduler"], num_inference_steps=num_inference_steps, shape=latents.shape
261+
params["scheduler"], num_inference_steps=num_inference_steps, shape=latents_shape
262262
)
263263

264264
latent_timestep = scheduler_state.timesteps[start_timestep : start_timestep + 1].repeat(batch_size)

0 commit comments

Comments
 (0)