mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 03:32:37 +00:00
remove output_altered flag from AfterCFGCallbackParams
This commit is contained in:
@@ -183,8 +183,7 @@ class CFGDenoiser(torch.nn.Module):
|
||||
|
||||
after_cfg_callback_params = AfterCFGCallbackParams(denoised, state.sampling_step, state.sampling_steps)
|
||||
cfg_after_cfg_callback(after_cfg_callback_params)
|
||||
if after_cfg_callback_params.output_altered:
|
||||
denoised = after_cfg_callback_params.x
|
||||
denoised = after_cfg_callback_params.x
|
||||
|
||||
self.step += 1
|
||||
return denoised
|
||||
|
Reference in New Issue
Block a user