From e47c36c018d23d16eed84139789a653c66e1c6aa Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Sun, 22 Mar 2026 19:33:31 +0000 Subject: [PATCH 1/2] update --- .github/actions/setup/action.yml | 2 +- .github/workflows/testing.yml | 4 ++-- .pre-commit-config.yaml | 2 +- CHANGELOG.md | 1 + docs/requirements.txt | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 94e4fcf8..1d49e3ce 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -6,7 +6,7 @@ inputs: default: '3.10' torch-version: required: false - default: '2.10' + default: '2.11' cuda-version: required: false default: cpu diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ea20fa89..b5808881 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -20,8 +20,8 @@ jobs: include: - {torch-version: '2.7', python-version: '3.10'} - {torch-version: '2.7', python-version: '3.13'} - - {torch-version: '2.10', python-version: '3.10'} - - {torch-version: '2.10', python-version: '3.14'} + - {torch-version: '2.11', python-version: '3.10'} + - {torch-version: '2.11', python-version: '3.14'} - {torch-version: 'nightly', python-version: '3.10'} - {torch-version: 'nightly', python-version: '3.14'} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ee2ad56..0119c466 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -76,7 +76,7 @@ repos: hooks: - id: mypy name: Check types - additional_dependencies: [torch==2.9.*] + additional_dependencies: [torch==2.11.*] exclude: "^test/|^examples/|^benchmark/" - repo: https://github.com/executablebooks/mdformat diff --git a/CHANGELOG.md b/CHANGELOG.md index 1316e4aa..0b95ca71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Added +- Added support for PyTorch 2.11 - Added support for PyTorch 2.10 and Python 3.14 ([#590](https://github.com/pyg-team/pytorch-frame/pull/590)) ### Changed diff --git a/docs/requirements.txt b/docs/requirements.txt index a500ee6e..5ac0a649 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -https://download.pytorch.org/whl/cpu/torch-2.9.0%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl +https://download.pytorch.org/whl/cpu/torch-2.11.0%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl git+https://github.com/pyg-team/pyg_sphinx_theme.git From f412330821f2b48362691351e81d4b260e8ab8c6 Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Tue, 24 Mar 2026 04:25:03 +0000 Subject: [PATCH 2/2] update --- test/nn/models/test_compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nn/models/test_compile.py b/test/nn/models/test_compile.py index 6a5e2201..09465467 100644 --- a/test/nn/models/test_compile.py +++ b/test/nn/models/test_compile.py @@ -14,7 +14,7 @@ from torch_frame.testing import withPackage -@withPackage("torch>=2.11.0") +@withPackage("torch>=2.12.0") @pytest.mark.parametrize( "model_cls, model_kwargs, stypes, expected_graph_breaks", [