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 06335fb commit 58d05d6Copy full SHA for 58d05d6
examples/community/rerender_a_video.py
@@ -907,6 +907,9 @@ def __call__(
907
progress_bar.update()
908
if callback is not None and i % callback_steps == 0:
909
callback(i, t, latents)
910
+
911
+ if XLA_AVAILABLE:
912
+ xm.mark_step()
913
914
if not output_type == "latent":
915
image = self.vae.decode(latents / self.vae.config.scaling_factor, return_dict=False)[0]
0 commit comments