Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The ScaleROPE node allows you to modify the Rotary Position Embedding (ROPE) of a model by applying separate scaling and shifting factors to its X, Y, and T (time) components. This is an advanced, experimental node used to adjust the model’s positional encoding behavior.

Inputs

ParameterData TypeRequiredRangeDescription
modelMODELYes-The model whose ROPE parameters will be modified.
scale_xFLOATNo0.0 - 100.0The scaling factor to apply to the X component of the ROPE (default: 1.0).
shift_xFLOATNo-256.0 - 256.0The shift value to apply to the X component of the ROPE (default: 0.0).
scale_yFLOATNo0.0 - 100.0The scaling factor to apply to the Y component of the ROPE (default: 1.0).
shift_yFLOATNo-256.0 - 256.0The shift value to apply to the Y component of the ROPE (default: 0.0).
scale_tFLOATNo0.0 - 100.0The scaling factor to apply to the T (time) component of the ROPE (default: 1.0).
shift_tFLOATNo-256.0 - 256.0The shift value to apply to the T (time) component of the ROPE (default: 0.0).

Outputs

Output NameData TypeDescription
modelMODELThe model with the new ROPE scaling and shifting parameters applied.