Skip to content

Commit dddba27

Browse files
authored
Update rerender_a_video.py
1 parent e1df951 commit dddba27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/community/rerender_a_video.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,9 @@ def denoising_loop(latents, mask=None, xtrg=None, noise_rescale=None):
11041104
progress_bar.update()
11051105
if callback is not None and i % callback_steps == 0:
11061106
callback(i, t, latents)
1107+
1108+
if XLA_AVAILABLE:
1109+
xm.mark_step()
11071110

11081111
return latents
11091112

0 commit comments

Comments
 (0)