Skip to content

Compilation not supported for Python >= 3.14 #683

Description

@GiovanniCanali

Describe the bug
PyTorch does not support torch.compile on Python 3.14+.

This is clearly stated here https://github.com/pytorch/pytorch/blob/main/torch/__init__.py#L2608:

if sys.version_info >= (3, 14):
        raise RuntimeError("torch.compile is not supported on Python 3.14+")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions