Nodes/FLUX.2 SDNQ/FLUX.2 SDNQ Loader
ComfyUI Node

FLUX.2 SDNQ Loader

Load a FLUX.2 Klein diffusers checkpoint through the installed SDNQ and diffusers runtime.

By GeneralShan·Created 5 months ago·Updated 5 months ago· 0
FLUX.2 SDNQ Loader
    • pipeline
    model_source<manual>
    deviceauto
    dtypeauto
    quantized_matmulauto
    text_encoder_residencyauto
    decode_residencyauto
    edit_attention_chunkingauto
    edit_attention_query_chunk_size1024
    local_files_onlytrue
    low_cpu_mem_usagetrue
    model_source_custom
    pipeline_variantauto
    Categoryflux2/sdnq

    Inputs (12)

    NameTypeDefaultDescription
    model_sourceCOMBO<manual>Diffusers model folder discovered under ComfyUI models/diffusers.
    deviceCOMBOautoExecution device. Auto prefers MPS, then CUDA, then CPU.
    dtypeCOMBOautoFloating-point dtype for non-quantized modules.
    quantized_matmulCOMBOautoEnable SDNQ quantized matmul when the backend supports it. Auto uses model-aware defaults.
    text_encoder_residencyCOMBOautoKeep loaded, or park after prompt. Auto parks on MPS and <=24 GiB CUDA/ROCm.
    decode_residencyCOMBOautoKeep the transformer loaded for decode, or offload it before large PIL decodes. Auto is request-time memory-aware.
    edit_attention_chunkingCOMBOautoChunk plain Klein edit attention. KV suppresses this.
    edit_attention_query_chunk_sizeINT10240–8192Chunk size for plain Klein edit attention.
    local_files_onlyBOOLEANtrueRestrict loading to local files only.
    low_cpu_mem_usageBOOLEANtrueUse diffusers low-CPU-memory loading path when available.
    model_source_customSTRINGOptional local path or Hugging Face model id that overrides the combo selection.
    pipeline_variantCOMBOautoResolve the runtime as the plain Klein pipeline or the KV-cache Klein pipeline. Auto uses model-source heuristics.

    Outputs (1)

    NameTypeDescription
    pipelineFLUX2_SDNQ_PIPELINE