Skip to content

Commit 86e96c9

Browse files
committed
update
1 parent bf7590b commit 86e96c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/diffusers/modular_pipelines/stable_diffusion_xl/denoise.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def __call__(
238238
components.guider.cleanup_models(components.unet)
239239

240240
# Perform guidance
241-
block_state.noise_pred, block_state.scheduler_step_kwargs = components.guider(guider_state)
241+
block_state.noise_pred, block_state.guider_inputs = components.guider(guider_state)
242242

243243
return components, block_state
244244

@@ -433,7 +433,7 @@ def __call__(self, components: StableDiffusionXLModularPipeline, block_state: Bl
433433
components.guider.cleanup_models(components.unet)
434434

435435
# Perform guidance
436-
block_state.noise_pred, block_state.scheduler_step_kwargs = components.guider(guider_state)
436+
block_state.noise_pred, block_state.guider_inputs = components.guider(guider_state)
437437

438438
return components, block_state
439439

@@ -492,7 +492,7 @@ def __call__(self, components: StableDiffusionXLModularPipeline, block_state: Bl
492492
t,
493493
block_state.latents,
494494
**block_state.extra_step_kwargs,
495-
**block_state.scheduler_step_kwargs,
495+
**block_state.guider_inputs,
496496
return_dict=False,
497497
)[0]
498498

@@ -590,7 +590,7 @@ def __call__(self, components: StableDiffusionXLModularPipeline, block_state: Bl
590590
t,
591591
block_state.latents,
592592
**block_state.extra_step_kwargs,
593-
**block_state.scheduler_step_kwargs,
593+
**block_state.guider_inputs,
594594
return_dict=False,
595595
)[0]
596596

src/diffusers/modular_pipelines/wan/denoise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __call__(
127127
components.guider.cleanup_models(components.transformer)
128128

129129
# Perform guidance
130-
block_state.noise_pred, block_state.scheduler_step_kwargs = components.guider(guider_state)
130+
block_state.noise_pred, block_state.guider_inputs = components.guider(guider_state)
131131

132132
return components, block_state
133133

@@ -171,7 +171,7 @@ def __call__(self, components: WanModularPipeline, block_state: BlockState, i: i
171171
block_state.noise_pred.float(),
172172
t,
173173
block_state.latents.float(),
174-
**block_state.scheduler_step_kwargs,
174+
**block_state.guider_inputs,
175175
return_dict=False,
176176
)[0]
177177

0 commit comments

Comments
 (0)