ComfyUI Node

DyPE for Flux2

A ComfyUI node in model_patches/unet with 13 inputs and 1 output.

By ttulttul·Created 9 months ago·Updated 6 months ago· 62
DyPE for Flux2
  • model
  • model
width1024
height1024
auto_detecttrue
base_width1024
base_height1024
methodyarn
enable_dypetrue
dype_exponent2.0
base_shift2.02
max_shift2.35
editing_strength1.00
editing_modeadaptive
Categorymodel_patches/unet

Inputs (13)

NameTypeDefaultDescription
modelMODELFlux2 model to patch with DyPE.
widthINT102416–16384Target output width in pixels.
heightINT102416–16384Target output height in pixels.
auto_detectBOOLEANtrueAutomatically derive patch size and base resolution from the model when possible.
base_widthINT102416–16384Training width used by the base Flux2 model when auto detection fails.
base_heightINT102416–16384Training height used by the base Flux2 model when auto detection fails.
methodCOMBOyarnSpatial RoPE extrapolation strategy.
enable_dypeBOOLEANtrueEnable Dynamic Position Extrapolation scaling.
dype_exponentFLOAT2.00–4Controls how strongly DyPE ramps across sampling timesteps.
base_shiftFLOAT2.020–10Baseline shift applied to the Flux2 noise schedule.
max_shiftFLOAT2.350–10Maximum shift applied when operating at the target resolution.
editing_strengthFLOAT1.000–1Scale DyPE while editing images (1.0 = full strength, 0.0 = disable DyPE scaling in edits).
editing_modeCOMBOadaptiveStrategy for tapering DyPE during edits.

Outputs (1)

NameTypeDescription
modelMODEL