mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-13 17:10:23 +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