From 130304f4ea0a7184a9533c046b41e0687a0ceed8 Mon Sep 17 00:00:00 2001 From: andrewkho Date: Wed, 6 Nov 2024 09:41:15 -0800 Subject: [PATCH 1/3] Update docs and CI for py 3.13 support --- .github/workflows/_build_test_upload.yml | 2 ++ .github/workflows/nodes_ci.yml | 1 + .github/workflows/stateful_dataloader_ci.yml | 1 + README.md | 2 +- setup.py | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_build_test_upload.yml b/.github/workflows/_build_test_upload.yml index 58186c6dc..8753d18ea 100644 --- a/.github/workflows/_build_test_upload.yml +++ b/.github/workflows/_build_test_upload.yml @@ -67,6 +67,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" - pure exclude: - os: windows-latest @@ -227,6 +228,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - name: Checkout Source Repository uses: actions/checkout@v3 diff --git a/.github/workflows/nodes_ci.yml b/.github/workflows/nodes_ci.yml index 4a37aad5b..6b295fa5d 100644 --- a/.github/workflows/nodes_ci.yml +++ b/.github/workflows/nodes_ci.yml @@ -29,6 +29,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - name: Get PyTorch Channel shell: bash diff --git a/.github/workflows/stateful_dataloader_ci.yml b/.github/workflows/stateful_dataloader_ci.yml index ce720380c..0dd30f279 100644 --- a/.github/workflows/stateful_dataloader_ci.yml +++ b/.github/workflows/stateful_dataloader_ci.yml @@ -29,6 +29,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - name: Get PyTorch Channel shell: bash diff --git a/README.md b/README.md index 81eaab91a..89df26743 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The following is the corresponding `torchdata` versions and supported Python ver | `torch` | `torchdata` | `python` | | -------------------- | ------------------ | ----------------- | -| `master` / `nightly` | `main` / `nightly` | `>=3.9`, `<=3.12` | +| `master` / `nightly` | `main` / `nightly` | `>=3.9`, `<=3.13` | | `2.5.0` | `0.9.0` | `>=3.9`, `<=3.12` | | `2.4.0` | `0.8.0` | `>=3.8`, `<=3.12` | | `2.0.0` | `0.6.0` | `>=3.8`, `<=3.11` | diff --git a/setup.py b/setup.py index b3afd9a16..8a0ce2ed2 100644 --- a/setup.py +++ b/setup.py @@ -125,6 +125,7 @@ def remove_extension(pattern): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Artificial Intelligence", ], From 0e3ed19e2e9a2402ff7ea899322159379dfff964 Mon Sep 17 00:00:00 2001 From: andrewkho Date: Wed, 6 Nov 2024 09:57:16 -0800 Subject: [PATCH 2/3] exclude mac and windows builds as theres no torch support yet --- .github/workflows/nodes_ci.yml | 5 +++++ .github/workflows/stateful_dataloader_ci.yml | 5 +++++ README.md | 20 ++++++++++---------- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nodes_ci.yml b/.github/workflows/nodes_ci.yml index 6b295fa5d..a9e6b7f11 100644 --- a/.github/workflows/nodes_ci.yml +++ b/.github/workflows/nodes_ci.yml @@ -30,6 +30,11 @@ jobs: - "3.11" - "3.12" - "3.13" + exclude: + - os: macos-latest + python-version: "3.13" + - os: windows-latest + python-versino: "3.13" steps: - name: Get PyTorch Channel shell: bash diff --git a/.github/workflows/stateful_dataloader_ci.yml b/.github/workflows/stateful_dataloader_ci.yml index 0dd30f279..80079a2fe 100644 --- a/.github/workflows/stateful_dataloader_ci.yml +++ b/.github/workflows/stateful_dataloader_ci.yml @@ -30,6 +30,11 @@ jobs: - "3.11" - "3.12" - "3.13" + exclude: + - os: macos-latest + python-version: "3.13" + - os: windows-latest + python-versino: "3.13" steps: - name: Get PyTorch Channel shell: bash diff --git a/README.md b/README.md index 89df26743..600249c91 100644 --- a/README.md +++ b/README.md @@ -41,16 +41,16 @@ examples The following is the corresponding `torchdata` versions and supported Python versions. -| `torch` | `torchdata` | `python` | -| -------------------- | ------------------ | ----------------- | -| `master` / `nightly` | `main` / `nightly` | `>=3.9`, `<=3.13` | -| `2.5.0` | `0.9.0` | `>=3.9`, `<=3.12` | -| `2.4.0` | `0.8.0` | `>=3.8`, `<=3.12` | -| `2.0.0` | `0.6.0` | `>=3.8`, `<=3.11` | -| `1.13.1` | `0.5.1` | `>=3.7`, `<=3.10` | -| `1.12.1` | `0.4.1` | `>=3.7`, `<=3.10` | -| `1.12.0` | `0.4.0` | `>=3.7`, `<=3.10` | -| `1.11.0` | `0.3.0` | `>=3.7`, `<=3.10` | +| `torch` | `torchdata` | `python` | +| -------------------- | ------------------ | --------------------------------------- | +| `master` / `nightly` | `main` / `nightly` | `>=3.9`, `<=3.12` (`3.13` experimental) | +| `2.5.0` | `0.9.0` | `>=3.9`, `<=3.12` | +| `2.4.0` | `0.8.0` | `>=3.8`, `<=3.12` | +| `2.0.0` | `0.6.0` | `>=3.8`, `<=3.11` | +| `1.13.1` | `0.5.1` | `>=3.7`, `<=3.10` | +| `1.12.1` | `0.4.1` | `>=3.7`, `<=3.10` | +| `1.12.0` | `0.4.0` | `>=3.7`, `<=3.10` | +| `1.11.0` | `0.3.0` | `>=3.7`, `<=3.10` | ### Local pip or conda From 5235ea83c3956501afe2a67893123707863934ee Mon Sep 17 00:00:00 2001 From: andrewkho Date: Wed, 6 Nov 2024 11:11:36 -0800 Subject: [PATCH 3/3] fix typo --- .github/workflows/nodes_ci.yml | 2 +- .github/workflows/stateful_dataloader_ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodes_ci.yml b/.github/workflows/nodes_ci.yml index a9e6b7f11..2a044ea7c 100644 --- a/.github/workflows/nodes_ci.yml +++ b/.github/workflows/nodes_ci.yml @@ -34,7 +34,7 @@ jobs: - os: macos-latest python-version: "3.13" - os: windows-latest - python-versino: "3.13" + python-version: "3.13" steps: - name: Get PyTorch Channel shell: bash diff --git a/.github/workflows/stateful_dataloader_ci.yml b/.github/workflows/stateful_dataloader_ci.yml index 80079a2fe..f0d27a0e3 100644 --- a/.github/workflows/stateful_dataloader_ci.yml +++ b/.github/workflows/stateful_dataloader_ci.yml @@ -34,7 +34,7 @@ jobs: - os: macos-latest python-version: "3.13" - os: windows-latest - python-versino: "3.13" + python-version: "3.13" steps: - name: Get PyTorch Channel shell: bash