Bug#1093354: pytorch-geometric: FTBFS: Error: Python 3.13+ not yet supported for torch.compile

Andrius Merkys merkys at debian.org
Wed Jan 22 08:26:07 GMT 2025


Hello,

On 2025-01-17 20:54, Santiago Vila wrote:
> =========================== short test summary info
> ============================
> FAILED
> test/data/test_feature_store.py::test_feature_store -
> RuntimeError: Boolean value of Tensor with more than one value is
> ambiguous

This is strange. I suppose this is due to some incompatibility with a 
dependency.

> FAILED
> test/nn/conv/test_hetero_conv.py::test_compile_hetero_conv_graph_breaks[cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED
> test/nn/conv/test_sage_conv.py::test_compile_multi_aggr_sage_conv[cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile

These failures, and many more below, are due to pytorch incompatibility 
with Python 3.13. This has been fixed upstream only recently [1], and 
the missing support should be present in the upcoming 2.6 release of 
pytorch.

> FAILED test/nn/models/test_basic_gnn.py::test_packaging
>   - AttributeError: module 'typing' has no attribute 'io'. Did you mean:
> 'IO'?

Again could be an incompatibility with a dependency.

> FAILED
> test/nn/models/test_basic_gnn.py::test_compile_graph_breaks[GCN-cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED
> test/nn/models/test_basic_gnn.py::test_compile_graph_breaks[GraphSAGE-cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED
> test/nn/models/test_basic_gnn.py::test_compile_graph_breaks[GIN-cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED
> test/nn/models/test_basic_gnn.py::test_compile_graph_breaks[GAT-cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED
> test/nn/models/test_basic_gnn.py::test_compile_graph_breaks[EdgeCNN-cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED
> test/nn/models/test_basic_gnn.py::test_compile_graph_breaks[PNA-cpu]
>   - RuntimeError: Python 3.13+ not yet supported for torch.compile
> FAILED test/test_isinstance.py::test_compile -
> RuntimeError: Dynamo is not supported on Python 3.13+

Same pytorch incompatibility with Python 3.13 as above.

[1] 
https://dev-discuss.pytorch.org/t/torch-compile-support-for-python-3-13-completed/2738

Thanks,
Andrius



More information about the debian-science-maintainers mailing list