mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i (#438)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user