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,6 +336,7 @@ def generate_single_image(
|
|||||||
condition_scale=prompt.prompt_strength,
|
condition_scale=prompt.prompt_strength,
|
||||||
**text_conditioning_kwargs,
|
**text_conditioning_kwargs,
|
||||||
)
|
)
|
||||||
|
if lc.progress_latent_callback:
|
||||||
lc.progress_latent_callback(x)
|
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={})
|
||||||
|
Loading…
Reference in New Issue
Block a user