ComfyUI Node
DyPE for Nunchaku Flux
Applies DyPE (Dynamic Position Extrapolation) to a FLUX model for ultra-high-resolution generation.
DyPE for Nunchaku Flux
- model
- Patched Model
◄width1024►
◄height1024►
◄methodyarn►
◄enable_dypetrue►
◄dype_exponent2.0►
◄base_shift0.50►
◄max_shift1.15►
Categorymodel_patches/unet
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | The FLUX model to patch with DyPE. | |
| width | INT | 102416–8192 | Target image width. Must match the width of your empty latent. |
| height | INT | 102416–8192 | Target image height. Must match the height of your empty latent. |
| method | COMBO | yarn | Position encoding extrapolation method (YARN recommended). |
| enable_dype | BOOLEAN | true | Enable or disable Dynamic Position Extrapolation for RoPE. |
| dype_exponentopt | FLOAT | 2.00–4 | Controls DyPE strength over time (λt). 2.0=Exponential (best for 4K+), 1.0=Linear, 0.5=Sub-linear (better for ~2K). |
| base_shiftopt | FLOAT | 0.500–10 | Advanced: Base shift for the noise schedule (mu). Default is 0.5. |
| max_shiftopt | FLOAT | 1.150–10 | Advanced: Max shift for the noise schedule (mu) at high resolutions. Default is 1.15. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Patched Model | MODEL | The FLUX model patched with DyPE. |