Skip to content

ComfyUI backend now requires PyTorch ≥ 2.7 with comfy-kitchen, instant crash on legacy hardware #1540

Open

Description

@ChemoProphet

Posted on the ComfyUI github since this is a backend issue:
Comfy-Org/ComfyUI#16300

(follow link for debug log)

The failure occurs since torch.library.infer_schema only accepts PEP-585 annotations (which comfy-kitchen uses) on PyTorch ≥ 2.7

Suggest making comfy-kitchen an optional dependency, or at any rate, preventing installation for users with PyTorch < 2.7 (cards this old can't make use of comfy-kitchen anyway).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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