Import failed - Possible upstream changes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- machine-learning
Research direction
The failing import is on line 7 of embeddings_connector.py, which pulls names from comfy.ldm.lightricks.model; the traceback runs through gemma_encoder.py and text_embeddings_connectors.py. First check whether interleaved_freqs_cis still exists in the installed ComfyUI's comfy/ldm/lightricks/model.py and what the linked upstream commit changed in its place. Done means the custom node imports cleanly against current ComfyUI. The thread has 17 comments and no linked pull request, so read it for any agreed direction before starting.
Written by the indexing model from the issue text.
Description
[WARNING] Traceback (most recent call last):
File "C:\ComfyUI\ComfyUI\nodes.py", line 2247, in load_custom_node
module_spec.loader.exec_module(module)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 1027, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-LTXVideo\__init__.py", line 14, in <module>
from .gemma_encoder import LTXVGemmaCLIPModelLoader, LTXVGemmaEnhancePrompt
File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-LTXVideo\gemma_encoder.py", line 23, in <module>
from .text_embeddings_connectors import load_text_embeddings_pipeline
File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-LTXVideo\text_embeddings_connectors.py", line 18, in <module>
from .embeddings_connector import (
...<3 lines>...
)
File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-LTXVideo\embeddings_connector.py", line 7, in <module>
from comfy.ldm.lightricks.model import (
...<7 lines>...
)
ImportError: cannot import name 'interleaved_freqs_cis' from 'comfy.ldm.lightricks.model' (C:\ComfyUI\ComfyUI\comfy\ldm\lightricks\model.py)
Comfyui was updated: https://github.com/Comfy-Org/ComfyUI/commit/7c59a078d60c85baded8789f10c841221bff80a8
Possibly related (i have not viewed the actual changes in that PR).
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Lightricks/ComfyUI-LTXVideo
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Lightricks/ComfyUI-LTXVideo#569 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Lightricks/ComfyUI-LTXVideo#541 · 3 comments · 3 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Lightricks/ComfyUI-LTXVideo#525 · 6 comments · 3 reactions ·
-
001Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
Lightricks/ComfyUI-LTXVideo#589 ·
-
001Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
Lightricks/ComfyUI-LTXVideo#588 ·
All issues in Lightricks/ComfyUI-LTXVideo
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
splunk/security_content#4418 ·
Maintainers usually reply within 1 day
-
[Bug / Enhancement]: Improve teleop_robot CLI with configurable timeout, robust input validation, and clean ROS shutdownPossibly taken @muskan-creates352 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
bug(pipelines): shortcode stripping deletes text between a {{< >}} shortcode and the next {{% %}}Possibly taken @Ashborne-lab claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
kubeflow/docs-agent#293 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Imbad0202/academic-research-skills#1093 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pierreaubert/gpui-toolkit#114 ·
Maintainers usually reply within 1 day