CivArchive
    Preview 27109732
    Preview 27110051
    Preview 27110134
    Preview 27110204
    Preview 27110245
    Preview 27110305
    Preview 27110360
    Preview 27274709
    Preview 27600795
    Preview 27601015
    Preview 27614995

    Hello there and thanks for checking out this workflow!

    What's new in v27? : Major rework with new SubGraphs to streamline and compact the workflow even more, removal of outdated/broken nodes + fixes and optimizations all over!

    Purpose

    Built to provide an advanced, versatile and modular workflow for Flux with focus on efficiency, structure and information.

    It comes with many notes explaining node settings and recommendations, as well as general guides from instructions to troubleshooting.

    Features

    • Convenient loaders for all common versions of Flux and Clip models

    • Full metadata; recognized by CivitAI

    • LoRA support

    • SageAttention, EasyCache + Model Compile acceleration

    • ControlNet with Union support

    • Flux Tools LoRAs Canny + Depth (alt. to CNet based on LoRA)

    • Flux Redux (similar to IPAdapter)

    • PuLID (SVDQuant version only)

    • Wildcard prompting

    • Installation and download guide for models and nodes

    • multiple passes with optional upscales

    • 1st : Detail Daemon + Variation Seed

    • 2nd : DD. + Tiled Diffusion / UltimateSDUpscale

    • ADetailer with dedicated LoRA Loader

    • Inpainting

    Custom Nodes

    All of which can be installed through the ComfyUI-Manager

    Troubleshooting

    1. If nodes show up red (failing to load), check the 'Install Missing Custom Nodes' tab of the ComfyUI Manager for the missing node packs and install them.

    2. Please check if all custom node packs load properly after installing, i.e. no (IMPORT FAILED) messages next to any of them in the console upon ComfyUI startup.

    3. Always reload/drag'n'drop the original, downloaded workflow file into ComfyUI to reload an intact version of the workflow.

      → The last opened workflow that appears on startup shows a cached version of the workflow, "remembering" group nodes that failed due to missing nodes as failed, keeping them broken even after having everything installed correctly.


    Thanks

    The workflow would not be possible as is without these custom node packs. If you want to support the custom node creators, give them a ⭐ on their github repos! Thank you!


    Feel free to ask questions, share improvements and suggestions in the comment section!
    Let me know if you encounter confusing points I can elaborate on in the next update!

    Description

    v7
    — rework of all custom group sampler builds
    — update of IPAdapter group node
    — update of Notes/Guides

    FAQ

    Comments (18)

    CornmeisterNLSep 1, 2024· 2 reactions
    CivitAI

    thanks for the flow!

    When I enable CN or IP adapter I receive an error.

    DepthAnythingV2PreprocessorDepth_Anything_V2_Preprocessor.execute() missing 1 required positional argument: 'image'

    or

    ApplyFluxIPAdapterApplyFluxIPAdapter.applymodel() missing 1 required positional argument: 'image'

    Any idea how to fix this ?

    RedPinkRetro
    Author
    Sep 1, 2024

    Thank you!
    Did you enable the corresponding [Image Source — ControlNet] / [Image Source — IPAdapter] group and select an image there?

    CornmeisterNLSep 2, 2024· 1 reaction

    @redpinkretro stupid me :D thats it. thanks!!

    RedPinkRetro
    Author
    Sep 2, 2024

    @CornmeisterNL No worries, glad it works now! 👍

    pugachevSep 1, 2024· 2 reactions
    CivitAI

    Hi, I am trying to get this workflow to work as close as possible to the images produced in the examples. I am running into trouble in a few areas.

    This is the error message when I start the workflow:

    Warning: Missing Node Types

    When loading the graph, the following node types were not found:

    workflow/Sampler — Tiled Diffusion

    workflow/Sampler — 2nd Pass + Upscale Model

    workflow/UNET Loader — NF4

    CheckpointLoaderNF4

    I am pretty sure I have everything installed correctly and placed in the appropriate locations, but I would appreciate any guidance on how to fix these issues.

    RedPinkRetro
    Author
    Sep 1, 2024· 1 reaction

    Looks like you are just missing the two custom node packs that need to be installed through the "Dev" channel annoyingly.
    These two :
    ComfyUI_bitsandbytes_NF4

    execution-inversion-demo-comfyui

    For those you need to set the "Channel" setting to "Channel: dev". (Found in the top left of the ComfyUI Manager Menu)
    → Do not forget to turn the channel setting back to default again afterwards

    pugachevSep 1, 2024· 1 reaction

    @redpinkretro Ok I've fixed the CheckpointLoaderNF4 issue, but I am still getting this message after getting those two nodes:

    Warning: Missing Node Types

    When loading the graph, the following node types were not found:

    workflow/Sampler — Tiled Diffusion

    workflow/Sampler — 2nd Pass + Upscale Model

    workflow/UNET Loader — NF4

    On ComfyUI, Checkpoint Load - NF4 UNET, 2nd Pass, and Tiled Diffusion Pass are highlighted red.

    RedPinkRetro
    Author
    Sep 1, 2024· 1 reaction

    @pugachev That is odd as these two (workflow/UNET Loader — NF4, CheckpointLoaderNF4) use the same node pack, so if one loads the other should as well.

    Did you restart comfy after installing the node packs and tried reloading the original workflow by drag and dropping it into comfy again? It looks like the group nodes are causing that issue for no reason. Maybe group nodes refuse to update correctly if the node packs were installed afterwards and need to be refreshed by the original workflow. Group nodes are a little quirky like that.

    For example the "recreate" node option in the context menu NEVER works for group nodes as it just resets everything on the inside ruining it in the process, wish that context menu-option would not even exist for group nodes in the first place 😄

    RedPinkRetro
    Author
    Sep 1, 2024· 1 reaction

    @pugachev and thank you very much for the buzz btw!

    pugachevSep 1, 2024· 1 reaction

    @redpinkretro Ok so after fiddling around and redownloading a few things, the only errors that pop up are the following:

    Warning: Missing Node Types

    When loading the graph, the following node types were not found:

    UNETLoaderNF4(In group node 'workflow/UNET Loader — NF4')

    workflow/UNET Loader — NF4 [Remove from workflow]


    And yw!

    RedPinkRetro
    Author
    Sep 1, 2024· 1 reaction

    @pugachev my bad. Just remembered that the NF4 node pack had a fork adding the UNet loader.
    This should solve all issues! :
    https://github.com/DenkingOfficial/ComfyUI_UNet_bitsandbytes_NF4

    Installation:

    Open terminal in ComfyUI/custom_nodes and use this command to clone repo:

    git clone https://github.com/DenkingOfficial/ComfyUI_UNet_bitsandbytes_NF4.git

    Going to add that to the workflow asap. Thank you for taking the time to report that instead of just dropping the workflow. Much appreciated!

    journey875Sep 2, 2024· 2 reactions
    CivitAI

    I love the "in workflow" AIO Loader for the checkpoint. Will this be released independently?

    RedPinkRetro
    Author
    Sep 2, 2024· 1 reaction

    Thank you very much!
    As of now there is no good way to share group nodes. I have to rebuild them all the time for every workflow, every change etc. annoyingly.
    There are "node templates" which do not save group-nodes and the "save as component" feature, which does save group-nodes, but is not working properly as of yet.

    So until then, there is no convenient way to do so unfortunately

    websurfer972Sep 5, 2024· 2 reactions
    CivitAI

    Hey! Trying to setup the workflow, getting error on queuing prompt:

    UNETLoader

    Error(s) in loading state_dict for Flux: size mismatch for img_in.weight: copying a param with shape torch.Size([98304, 1]) from checkpoint, the shape in current model is torch.Size([3072, 64]). size mismatch for time_in.in_layer.weight: copying a param with shape.... and a lot text like that ...

    What can it be?

    RedPinkRetro
    Author
    Sep 5, 2024

    Hey there! That error sounds like you might be trying to load your model with the wrong loader. Because of the many versions of Flux going around right now that happens quite easily. Some models are also mislabeled by the creators in all that confusion 😄

    Did you try loading it with the other loaders to see if one works? As far as I know those loaders should cover all the versions around at the moment.

    If that does not work it would help me to know what model/version you are trying to load, so I can look it up that way.

    websurfer972Sep 5, 2024· 1 reaction

    The error is only with checkpoint loader - diffusers

    Awesome workflow, you are mad man!

    websurfer972Sep 5, 2024

    @redpinkretro I set up all models from your note 

    RedPinkRetro
    Author
    Sep 5, 2024

    @websurfer972 Thank you! :D
    Which model/checkpoint/UNet are you trying to load?

    I can get pretty much the same error when I attempt to load a NF4-Flux model with the diffusers loader, so my guess would be that it is simply the wrong loader for your model and that it should load with a different one.

    Workflows
    Flux.1 D

    Details

    Downloads
    344
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/31/2024
    Updated
    5/7/2026
    Deleted
    -

    Files

    comfyuiFlux1Advanced_v7.zip

    Mirrors

    CivitAI (1 mirrors)