i (#438)
This commit is contained in:
parent
32719e3ad1
commit
e485f7b242
|
|
@ -1 +1 @@
|
|||
version = '2.0.66'
|
||||
version = '2.0.67'
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import os
|
|||
import torch
|
||||
import modules.path
|
||||
import modules.virtual_memory as virtual_memory
|
||||
import comfy.model_management
|
||||
|
||||
from comfy.model_base import SDXL, SDXLRefiner
|
||||
from modules.patch import cfg_patched, patched_model_function
|
||||
|
|
@ -262,4 +263,6 @@ def process_diffusion(positive_cond, negative_cond, steps, switch, width, height
|
|||
|
||||
decoded_latent = core.decode_vae(vae=xl_base_patched.vae, latent_image=sampled_latent, tiled=tiled)
|
||||
images = core.pytorch_to_numpy(decoded_latent)
|
||||
|
||||
comfy.model_management.soft_empty_cache()
|
||||
return images
|
||||
|
|
|
|||
Loading…
Reference in New Issue