Skip to content

DeprecationWarning: torch.jit.script is deprecated. Please switch to torch.compile or torch.export. #10697

Description

@yurivict

🐛 Describe the bug

Tests fail:

torch_geometric/nn/pool/select/base.py:65: in <module>
    SelectOutput = torch.jit.script(SelectOutput)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.11/site-packages/torch/jit/_script.py:1488: in script
    warnings.warn(
E   DeprecationWarning: `torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`.

Versions

Version: 2.7.0
pytorch-2.12.0
FreeBSD 15 STABLE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions