Skip to content

New ComfyUI update broken the repo - ImportError: cannot import name 'precompute_freqs_cis' from 'comfy.ldm.lightricks.model' #178

@FurkanGozukara

Description

@FurkanGozukara
Traceback (most recent call last):
  File "F:\Comfy_UI_V52\ComfyUI\nodes.py", line 2155, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "F:\Comfy_UI_V52\ComfyUI\custom_nodes\ComfyUI-TeaCache\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS as NODES_CLASS, NODE_DISPLAY_NAME_MAPPINGS as NODES_DISPLAY
  File "F:\Comfy_UI_V52\ComfyUI\custom_nodes\ComfyUI-TeaCache\nodes.py", line 12, in <module>
    from comfy.ldm.lightricks.model import precompute_freqs_cis
ImportError: cannot import name 'precompute_freqs_cis' from 'comfy.ldm.lightricks.model' (F:\Comfy_UI_V52\ComfyUI\comfy\ldm\lightricks\model.py)

Cannot import F:\Comfy_UI_V52\ComfyUI\custom_nodes\ComfyUI-TeaCache module for custom nodes: cannot import name 'precompute_freqs_cis' from 'comfy.ldm.lightricks.model' (F:\Comfy_UI_V52\ComfyUI\comfy\ldm\lightricks\model.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions