[ComfyUI 0.28.0] ImportError: cannot import name 'interleaved_freqs_cis'

Open
#537 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

The failing import is interleaved_freqs_cis from comfy.ldm.lightricks.model, so start by finding where the node package imports it. Then compare that module in the ComfyUI 0.28.0 source to see what replaced the function. Done when the node imports and loads on ComfyUI 0.28.0 without the ImportError.

Written by the indexing model from the issue text.

Description

Describe the bug
I'm using ComfyUI 0.28.0, and this node fails to load with the following error:

ImportError: cannot import name 'interleaved_freqs_cis' from 'comfy.ldm.lightricks.model'

Steps to reproduce

  1. Update ComfyUI to 0.28.0.
  2. Update ComfyUI-LTXVideo to the latest version.
  3. Restart ComfyUI.

Expected behavior
The node should load without errors, as it did with ComfyUI 0.27.x.

Environment

  • ComfyUI version: 0.28.0
  • ComfyUI-LTXVideo version: [nightly]
  • OS: Windows 10

Additional context
The function interleaved_freqs_cis appears to have been removed from comfy.ldm.lightricks.model in the latest ComfyUI update. Many users will encounter this issue. Please update the node to be compatible with ComfyUI 0.28.0.

Thank you!

Dominant language
Python
Stars
4.2k
Forks
508
Avg merge
7h 14m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Lightricks/ComfyUI-LTXVideo

All issues in Lightricks/ComfyUI-LTXVideo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.