Skip to content

Some custom nodes broken after Jan 5, 2026 updates (comfy.ldm.lightricks.model) #11660

Description

@ostap667inbox

Custom Node Testing

Expected Behavior

Actual Behavior

Steps to Reproduce

At least two nodes stopped working: ComfyUI-TeaCache and ComfyUI-MagCache.
The error when starting ComfyUI is the same:

ComfyUI-MagCache:

Traceback (most recent call last):
  File "D:\ComfyUI\ComfyUI\nodes.py", line 2155, 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 "D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-MagCache\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS as NODES_CLASS, NODE_DISPLAY_NAME_MAPPINGS as NODES_DISPLAY
  File "D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-MagCache\nodes.py", line 13, in <module>
    from comfy.ldm.lightricks.model import precompute_freqs_cis
ImportError: cannot import name 'precompute_freqs_cis' from 'comfy.ldm.lightricks.model' (D:\ComfyUI\ComfyUI\comfy\ldm\lightricks\model.py)

ComfyUI-TeaCache:

Traceback (most recent call last):
  File "D:\ComfyUI\ComfyUI\nodes.py", line 2155, 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 "D:\ComfyUI\ComfyUI\custom_nodes\teacache\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS as NODES_CLASS, NODE_DISPLAY_NAME_MAPPINGS as NODES_DISPLAY
  File "D:\ComfyUI\ComfyUI\custom_nodes\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' (D:\ComfyUI\ComfyUI\comfy\ldm\lightricks\model.py)

Debug Logs

-

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions