From d7c25373bd985f8c1e1902e8f6ee293bb5f5df83 Mon Sep 17 00:00:00 2001 From: Karl Date: Tue, 2 Sep 2025 12:19:38 +0100 Subject: [PATCH] clear vram on comfyui --- workflow_flux.json | 16 +++++++++++++++- workflow_qwen.json | 16 +++++++++++++++- workflow_sdxl.json | 28 +++++++++++++++++++++++++++- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/workflow_flux.json b/workflow_flux.json index a3b2146..0e7fa29 100644 --- a/workflow_flux.json +++ b/workflow_flux.json @@ -38,7 +38,7 @@ "inputs": { "filename_prefix": "ComfyUI", "images": [ - "8", + "42", 0 ] }, @@ -201,5 +201,19 @@ "_meta": { "title": "VAELoaderMultiGPU" } + }, + "42": { + "inputs": { + "offload_model": true, + "offload_cache": true, + "anything": [ + "8", + 0 + ] + }, + "class_type": "VRAMCleanup", + "_meta": { + "title": "🎈VRAM-Cleanup" + } } } \ No newline at end of file diff --git a/workflow_qwen.json b/workflow_qwen.json index a7e9d7e..c08d18d 100644 --- a/workflow_qwen.json +++ b/workflow_qwen.json @@ -98,7 +98,7 @@ "102": { "inputs": { "images": [ - "98", + "129", 0 ] }, @@ -143,5 +143,19 @@ "_meta": { "title": "VAELoaderMultiGPU" } + }, + "129": { + "inputs": { + "offload_model": true, + "offload_cache": true, + "anything": [ + "98", + 0 + ] + }, + "class_type": "VRAMCleanup", + "_meta": { + "title": "🎈VRAM-Cleanup" + } } } \ No newline at end of file diff --git a/workflow_sdxl.json b/workflow_sdxl.json index 5ee007b..40ae66b 100644 --- a/workflow_sdxl.json +++ b/workflow_sdxl.json @@ -52,6 +52,12 @@ "6": { "inputs": { "text": "A bustling cyberpunk street at night, filled with neon signs, rain-soaked pavement, and futuristic street vendors. High detail, vivid neon colors, and realistic reflections.", + "speak_and_recognation": { + "__value__": [ + false, + true + ] + }, "clip": [ "4", 1 @@ -65,6 +71,12 @@ "7": { "inputs": { "text": "text, watermark, deformed Avoid flat colors, poor lighting, and artificial elements. No unrealistic elements, low resolution, or flat colors. Avoid generic objects, poor lighting, and inconsistent styles, blurry, low-quality, distorted faces, overexposed lighting, extra limbs, bad anatomy, low contrast", + "speak_and_recognation": { + "__value__": [ + false, + true + ] + }, "clip": [ "4", 1 @@ -95,7 +107,7 @@ "inputs": { "filename_prefix": "ComfyUI", "images": [ - "8", + "10", 0 ] }, @@ -103,5 +115,19 @@ "_meta": { "title": "Save Image" } + }, + "10": { + "inputs": { + "offload_model": true, + "offload_cache": true, + "anything": [ + "8", + 0 + ] + }, + "class_type": "VRAMCleanup", + "_meta": { + "title": "🎈VRAM-Cleanup" + } } } \ No newline at end of file