Skip to content

Commit 5f2de92

Browse files
committed
Removes unused generator argument from scheduler step
The `generator` parameter is not used by the scheduler's `step` method within the SkyReelsV2 diffusion forcing pipelines. This change removes the unnecessary argument from the method call for code clarity and consistency.
1 parent fc3d328 commit 5f2de92

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ def __call__(
916916
t[idx],
917917
latents[:, :, idx, :, :],
918918
return_dict=False,
919-
generator=generator,
920919
)[0]
921920

922921
if callback_on_step_end is not None:

src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing_i2v.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,6 @@ def __call__(
995995
t[idx],
996996
latents[:, :, idx, :, :],
997997
return_dict=False,
998-
generator=generator,
999998
)[0]
1000999

10011000
if callback_on_step_end is not None:

src/diffusers/pipelines/skyreels_v2/pipeline_skyreels_v2_diffusion_forcing_v2v.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,6 @@ def __call__(
10031003
t[idx],
10041004
latents[:, :, idx, :, :],
10051005
return_dict=False,
1006-
generator=generator,
10071006
)[0]
10081007

10091008
if callback_on_step_end is not None:

0 commit comments

Comments
 (0)