Skip to main content
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

ParameterDescriptionData TypeRequiredRange
modelThe model whose ROPE parameters will be modified.MODELYes-
scale_xThe scaling factor to apply to the X component of the ROPE (default: 1.0).FLOATNo0.0 - 100.0
shift_xThe shift value to apply to the X component of the ROPE (default: 0.0).FLOATNo-256.0 - 256.0
scale_yThe scaling factor to apply to the Y component of the ROPE (default: 1.0).FLOATNo0.0 - 100.0
shift_yThe shift value to apply to the Y component of the ROPE (default: 0.0).FLOATNo-256.0 - 256.0
scale_tThe scaling factor to apply to the T (time) component of the ROPE (default: 1.0).FLOATNo0.0 - 100.0
shift_tThe shift value to apply to the T (time) component of the ROPE (default: 0.0).FLOATNo-256.0 - 256.0

Outputs

Output NameDescriptionData Type
modelThe model with the new ROPE scaling and shifting parameters applied.MODEL
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 4899aaf380aefd7cb41593edb402f166c34e25029e82edddf718bb38e8c2339d