This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe 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
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
model | MODEL | Yes | - | The model whose ROPE parameters will be modified. |
scale_x | FLOAT | No | 0.0 - 100.0 | The scaling factor to apply to the X component of the ROPE (default: 1.0). |
shift_x | FLOAT | No | -256.0 - 256.0 | The shift value to apply to the X component of the ROPE (default: 0.0). |
scale_y | FLOAT | No | 0.0 - 100.0 | The scaling factor to apply to the Y component of the ROPE (default: 1.0). |
shift_y | FLOAT | No | -256.0 - 256.0 | The shift value to apply to the Y component of the ROPE (default: 0.0). |
scale_t | FLOAT | No | 0.0 - 100.0 | The scaling factor to apply to the T (time) component of the ROPE (default: 1.0). |
shift_t | FLOAT | No | -256.0 - 256.0 | The shift value to apply to the T (time) component of the ROPE (default: 0.0). |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
model | MODEL | The model with the new ROPE scaling and shifting parameters applied. |