ComfyUI Node
FLUX.2 SDNQ Loader
Load a FLUX.2 Klein diffusers checkpoint through the installed SDNQ and diffusers runtime.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| model_source | COMBO | <manual> | Diffusers model folder discovered under ComfyUI models/diffusers. |
| device | COMBO | auto | Execution device. Auto prefers MPS, then CUDA, then CPU. |
| dtype | COMBO | auto | Floating-point dtype for non-quantized modules. |
| quantized_matmul | COMBO | auto | Enable SDNQ quantized matmul when the backend supports it. Auto uses model-aware defaults. |
| text_encoder_residency | COMBO | auto | Keep loaded, or park after prompt. Auto parks on MPS and <=24 GiB CUDA/ROCm. |
| decode_residency | COMBO | auto | Keep the transformer loaded for decode, or offload it before large PIL decodes. Auto is request-time memory-aware. |
| edit_attention_chunking | COMBO | auto | Chunk plain Klein edit attention. KV suppresses this. |
| edit_attention_query_chunk_size | INT | 10240–8192 | Chunk size for plain Klein edit attention. |
| local_files_only | BOOLEAN | true | Restrict loading to local files only. |
| low_cpu_mem_usage | BOOLEAN | true | Use diffusers low-CPU-memory loading path when available. |
| model_source_custom | STRING | Optional local path or Hugging Face model id that overrides the combo selection. | |
| pipeline_variant | COMBO | auto | Resolve the runtime as the plain Klein pipeline or the KV-cache Klein pipeline. Auto uses model-source heuristics. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pipeline | FLUX2_SDNQ_PIPELINE | — |