Comfy-Org / Comfy-Org/ComfyUI

Cannot import C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo module for custom nodes: cannot import name 'interleaved_freqs_cis' from 'comfy.ldm.lightricks.model'

Open
#15,070 8 comments 4 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Yesterday everything was working normally with the latest update, today before opening ComfyUI I started the update and upon startup it showed this error resulting in lost nodes due to not loading the extension of the LTX nodes.

### Actual Behavior

Cannot import C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo module for custom nodes: cannot import name 'interleaved_freqs_cis' from 'comfy.ldm.lightricks.model'

### Steps to Reproduce

[WARNING] Traceback (most recent call last):
File "C:\comfyui2025\ComfyUI\nodes.py", line 2247, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo\__init__.py", line 14, in
from .gemma_encoder import LTXVGemmaCLIPModelLoader, LTXVGemmaEnhancePrompt
File "C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo\gemma_encoder.py", line 23, in
from .text_embeddings_connectors import load_text_embeddings_pipeline
File "C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo\text_embeddings_connectors.py", line 18, in
from .embeddings_connector import (
File "C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo\embeddings_connector.py", line 7, in
from comfy.ldm.lightricks.model import (
ImportError: cannot import name 'interleaved_freqs_cis' from 'comfy.ldm.lightricks.model' (C:\comfyui2025\ComfyUI\comfy\ldm\lightricks\model.py)

[WARNING] Cannot import C:\comfyui2025\ComfyUI\custom_nodes\ComfyUI-LTXVideo module for custom nodes: cannot import name 'interleaved_freqs_cis' from 'comfy.ldm.lightricks.model' (C:\comfyui2025\ComfyUI\comfy\ldm\lightricks\model.py)

### Debug Logs

```powershell
.
```

### Other

[ComfyUI 0.28.0](https://github.com/Comfy-Org/ComfyUI)
[ComfyUI_frontend v1.47.10](https://github.com/Comfy-Org/ComfyUI_frontend)
[Templates v0.11.17](https://pypi.org/project/comfyui-workflow-templates/)
[Discord](https://www.comfy.org/discord)
[ComfyOrg](https://www.comfy.org/)
[EasyUse v1.3.7](https://github.com/yolain/ComfyUI-Easy-Use)

Contributor guide

Open the contributing guide

Research direction

Start with the traceback in custom_nodes/ComfyUI-LTXVideo/embeddings_connector.py and compare its imports with comfy/ldm/lightricks/model.py. Check how custom_nodes/ComfyUI-LTXVideo/__init__.py loads the LTX components, then reproduce the import failure on ComfyUI 0.28.0. Done means the LTXVideo custom node imports successfully and its nodes are available without the reported ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.