Skip to content

Conversation

@yiquanfeng
Copy link

No description provided.

@PatrickBeeer
Copy link

in ltx_model.py:

remove "apply_rotary_emb" from import and add this line:
from comfy.ldm.flux.math import apply_rope1

replace this:

if pe is not None:
q = apply_rotary_emb(q, pe)
k = apply_rotary_emb(k, pe)

with:

q, k = apply_rope1(q, k)

@Sean-Bradley
Copy link

still broken in ComfyUI version 0.3.76
i can confirm that fix above works.

@dreaddymck
Copy link

dreaddymck commented Dec 12, 2025

This resolved my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants