Nodes/SimpleSyrup/Simple Load FLUX
ComfyUI Node

Simple Load FLUX

One node that puts CLIP-L, T5-XXL, and the FLUX VAE in front of your model

By Artificial-Sweetener·Created 3 months ago·Updated 12 days ago· 2
Simple Load FLUX
    • model
    • clip
    • vae
    diffusion_model
    diffusion_weight_dtypedefault
    clip_lauto
    t5_xxlauto
    text_encoder_devicedefault
    vaeauto

    FLUX.1 is not one file. It's a diffusion model plus two text encoders (CLIP-L for the concise bits, T5-XXL for the long prose) plus the FLUX autoencoder VAE - and until you've loaded all of them correctly, you get nothing. Stock ComfyUI splits this across several loader nodes, which means hunting through text_encoders and vae folders, getting the exact filename right, and wiring three things by hand. SimpleSyrup.SimpleLoadFlux collapses it to one node: pick your diffusion model, everything else defaults to auto, and you get the standard model, clip, vae outputs.

    The mechanism is the interesting part, because this is where "auto" stops being a convenience and becomes a correctness guarantee. FLUX.1's text encoders and VAE are revision-locked and checksum-pinned in the pack's catalog - CLIP-L and the FP16 T5-XXL from comfyanonymous/flux_text_encoders, and the FLUX VAE from the Comfy-Org repackaged files. When you leave a component on auto, the node finds the exact file if it's already on disk, and if it isn't, downloads it through HuggingFace with visible Comfy progress - and validates the download against the pinned SHA-256. A corrupt or wrong-version file is caught instead of silently poisoning every image you make. That's a genuinely better experience than "I downloaded a T5-XXL and my prompts look wrong."

    Inputs:

    • diffusion_model - the FLUX.1 model file. This node never downloads the diffusion model - you still install and select that yourself, from whatever source you got it (fp8 quantized on CivitAI or HuggingFace is the common route).
    • diffusion_weight_dtype - precision for the diffusion weights, default default. FP8 uses less memory and can slightly change results; on a 12GB card that's often the difference between running and not.
    • clip_l - auto, or pick an explicit CLIP-L file.
    • t5_xxl - auto, or pick a T5-XXL. The tooltip warns the auto choice may download the large FP16 file - expect a multi-gigabyte download here, so budget for it and don't panic when a node suddenly starts pulling gigs.
    • text_encoder_device - default puts both encoders where Comfy normally would; CPU saves GPU memory but makes prompt encoding slower. The tradeoff is real and it's the first lever to pull when the sampler is OOMing.
    • vae - auto, or an explicit VAE file.

    The clip output combines CLIP-L and T5-XXL into the dual-encoder CLIP object FLUX expects, so downstream it behaves like any other CLIP - feed it to a text encoder node and you're done.

    Install: the pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Artificial-Sweetener/SimpleSyrup
    cd SimpleSyrup && pip install -r requirements.txt
    

    or ComfyUI Manager → search SimpleSyrup → Install → restart. Keep ComfyUI current (v3 extension API). Requirements include huggingface-hub for the downloads. Troubleshooting in one line each: components don't appear in dropdowns → check the "Show downloadable models in loader dropdowns" setting, which controls whether known-not-yet-installed entries show up; download fails mid-way → checksum pin will catch it, delete the partial file and retry; prompts look subtly wrong → verify which T5-XXL got picked.

    CategorySimpleSyrup/Loaders

    Inputs (6)

    NameTypeDefaultDescription
    diffusion_modelCOMBOFLUX.1 diffusion model to load. This node never downloads the diffusion model.
    diffusion_weight_dtypeCOMBOdefaultWeight precision for the diffusion model; FP8 uses less memory but can slightly change results.
    clip_lCOMBOautoCLIP-L encoder for FLUX.1 prompts. Auto finds the exact file or downloads it while Comfy shows node progress.
    t5_xxlCOMBOautoT5-XXL encoder for FLUX.1 prompts. Auto may download the large FP16 file and reports progress in Comfy.
    text_encoder_deviceCOMBOdefaultDevice for both text encoders; CPU saves GPU memory but makes prompt encoding slower.
    vaeCOMBOautoVAE used to decode FLUX.1 latents. Auto finds or downloads the checksum-pinned FLUX VAE with visible node progress.

    Outputs (3)

    NameTypeDescription
    modelMODELLoaded diffusion model for downstream MODEL inputs.
    clipCLIPLoaded text encoder for downstream CLIP inputs.
    vaeVAELoaded VAE used to encode images to latents and decode latents to images.