ComfyUI Node
Unofficial Extensions
Optional unofficial toggles for Untwisting RoPE. These are intentionally separated from the main paper settings.
Unofficial Extensions
- unofficial_extensions
◄post_attention_adain_strength0.50►
◄axis0_rope_modematch_axes►
◄axis0_rope_scale1.00►
◄cosine_gated_v_injection0.00►
◄variance_gated_v_adain0.00►
◄key_subspace_alignment0.00►
Categorymodel_patches/Untwisting RoPE
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| post_attention_adain_strength | FLOAT | 0.500–1 | Blend strength for matching the target attention output to the reference attention output. |
| axis0_rope_mode | COMBO | match_axes | Axis-0 RoPE behavior. default -> Its values are equal to low_scale; match_axes -> makes axis 0 use the same curve as axes 1+; constant -> uses axis0_rope_scale. |
| axis0_rope_scale | FLOAT | 1.000–8 | RoPE scale used only when axis0_rope_mode = constant. |
| cosine_gated_v_injection | FLOAT | 0.000–1 | Only aligned target/reference V tokens receive reference injection. |
| variance_gated_v_adain | FLOAT | 0.000–1 | Applies V AdaIN only on high-reference-variance channels. |
| key_subspace_alignment | FLOAT | 0.000–1 | Projects target keys onto reference keys to restrict routing towards the reference key subspace. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| unofficial_extensions | UNTWISTING_ROPE_EXTENSIONS | — |