crystian / ComfyUI-Crystools

A powerful set of tools for ComfyUI
MIT License
697 stars 33 forks source link

Link between VAE Encode for impainting and SamplerCustomAdvanced does stops confyui from executing when there is a latent space switch (under certain conditions) #103

Open mcDandy opened 1 month ago

mcDandy commented 1 month ago

Describe the bug
A clear and concise description of what the bug is. When you have two latent space switches AND first one in chain has true at imput AND there exists a link between VAE Encode for impaint and SamplerCustomAdvanced Comfyui will imidietly finish processing.

To Reproduce
Please attach a workflow file to make it easier for others to reproduce the error!

workflow_err.json Switch the second input named "false = i2i; true = impaint" to true to experience the bug. FLUX dev or FLUX schnell is needed. Cannot even save it when it is set to true (when the bug is active)

Expected behavior
A clear and concise description of what you expected to happen.

Image getting impainted

Screenshots
If applicable, add screenshots to help explain your problem. image Clicking Queue prompt and absolutly nothing is happening.

Error in console:
If applicable, add the error message from the console.

Versions:
Copy the output of the console (4 parts), like this:

** Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]```

Total VRAM 12282 MB, total RAM 32468 MB pytorch version: 2.1.2+cu121 Set vram state to: LOW_VRAM Device: cuda:0 NVIDIA GeForce RTX 4080 Laptop GPU : cudaMallocAsync

[Crystools INFO] Crystools version: 1.16.6 [Crystools INFO] CPU: 13th Gen Intel(R) Core(TM) i9-13950HX - Arch: AMD64 - OS: Windows 10 [Crystools INFO] Pynvml (Nvidia) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 4080 Laptop GPU [Crystools INFO] NVIDIA Driver: 560.70

Loading: ComfyUI-Manager (V2.48.5)

ComfyUI Revision: 2464 [0a6b0081] | Released on '2024-08-04'



**Additional context**  
Add any other context about the problem here.
Model I am using in this workflow: https://huggingface.co/black-forest-labs