Nodes/ComfyUI-DyPE-Nunchaku/DyPE for Nunchaku Flux
ComfyUI Node

DyPE for Nunchaku Flux

Applies DyPE (Dynamic Position Extrapolation) to a FLUX model for ultra-high-resolution generation.

By Usonaki·Created 9 months ago·Updated 9 months ago· 6
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)

NameTypeDefaultDescription
modelMODELThe FLUX model to patch with DyPE.
widthINT102416–8192Target image width. Must match the width of your empty latent.
heightINT102416–8192Target image height. Must match the height of your empty latent.
methodCOMBOyarnPosition encoding extrapolation method (YARN recommended).
enable_dypeBOOLEANtrueEnable or disable Dynamic Position Extrapolation for RoPE.
dype_exponentoptFLOAT2.00–4Controls DyPE strength over time (λt). 2.0=Exponential (best for 4K+), 1.0=Linear, 0.5=Sub-linear (better for ~2K).
base_shiftoptFLOAT0.500–10Advanced: Base shift for the noise schedule (mu). Default is 0.5.
max_shiftoptFLOAT1.150–10Advanced: Max shift for the noise schedule (mu) at high resolutions. Default is 1.15.

Outputs (1)

NameTypeDescription
Patched ModelMODELThe FLUX model patched with DyPE.