mirror of
https://github.com/brycedrennan/imaginAIry
synced 2024-10-31 03:20:40 +00:00
fix: progress latent collection bug
This commit is contained in:
parent
fdb48399af
commit
d148bc1537
@ -336,7 +336,8 @@ def generate_single_image(
|
|||||||
condition_scale=prompt.prompt_strength,
|
condition_scale=prompt.prompt_strength,
|
||||||
**text_conditioning_kwargs,
|
**text_conditioning_kwargs,
|
||||||
)
|
)
|
||||||
lc.progress_latent_callback(x)
|
if lc.progress_latent_callback:
|
||||||
|
lc.progress_latent_callback(x)
|
||||||
# trying to clear memory. not sure if this helps
|
# trying to clear memory. not sure if this helps
|
||||||
sd.unet.set_context(context="self_attention_map", value={})
|
sd.unet.set_context(context="self_attention_map", value={})
|
||||||
sd.unet._reset_context()
|
sd.unet._reset_context()
|
||||||
|
Loading…
Reference in New Issue
Block a user