Skip to content

torch.compile seems to be broken in wan 2.2 ? #9647

@oioitff

Description

@oioitff

In the lastest version, torch.compile seems to be broken when I run the wan2.2 14b i2v workflow one more times. It reports errors:

Image

Now the speed is almost the same as not using torch.compile.

After I check the code, this error seems to relate with commit: #9496

If I comment it, the torch.compile works well:

Image

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