From 8a0127a08b63e8352721c6b1c67fc30d3f1f3d22 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 Jan 2025 09:02:57 +0100 Subject: [PATCH 1/7] GitHub Actions: Add Python 3.13 to the testing From 748ad49525302fd253da2e43e0110a3790fb8a83 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 Jan 2025 16:36:35 +0100 Subject: [PATCH 2/7] GitHub Actions: Add Python 3.13 to the testing --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16c7ff726..5705ceb58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,7 +64,10 @@ jobs: pytorch-version: 2.4.1 numpy-requirement: "'numpy'" - python-version: '3.12' - pytorch-version: 2.5.0 + pytorch-version: 2.5.1 + numpy-requirement: "'numpy'" + - python-version: '3.13' + pytorch-version: 2.5.1 numpy-requirement: "'numpy'" steps: - uses: conda-incubator/setup-miniconda@v3 From 6e612b6b93db8330b75f5373fa1b501951d18335 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 Jan 2025 16:47:33 +0100 Subject: [PATCH 3/7] numba==0.61.0rc2; python_version=='3.13' --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 21b90e737..badf6920a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,8 @@ classifiers = [ dynamic = [ "version" ] dependencies = [ "more-itertools", - "numba", + "numba; python_version<'3.13'", + "numba==0.61.0rc2; python_version=='3.13'", "numpy", "tiktoken", "torch", From e4b37b68297d031f1647b1bff1d883cf5462cbe5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 4 Jan 2025 16:54:35 +0100 Subject: [PATCH 4/7] triton>=2; python_version<'3.13' --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index badf6920a..070e438b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "tiktoken", "torch", "tqdm", - "triton>=2; (platform_machine=='x86_64' and sys_platform=='linux') or sys_platform=='linux2'", + "triton>=2; python_version<'3.13' and (platform_machine=='x86_64' and sys_platform=='linux') or sys_platform=='linux2'", ] optional-dependencies.dev = [ "black", "flake8", "isort", "pytest", "scipy" ] urls = { Homepage = "https://github.com/openai/whisper" } From 78a7972295069b6f1605b75e58f0594ba76e60d0 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 5 Jan 2025 01:19:07 +0100 Subject: [PATCH 5/7] fail-fast: false --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5705ceb58..3b53de89f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,7 @@ jobs: needs: pre-commit runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - python-version: '3.8' From 4525699f3c69b4e8c4148b43ddb1e6faaa8d4c52 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 21 Jan 2025 17:15:28 +0100 Subject: [PATCH 6/7] Numba v0.61.0 is released https://github.com/numba/numba/releases --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 070e438b9..45d291ac3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,8 +23,7 @@ classifiers = [ dynamic = [ "version" ] dependencies = [ "more-itertools", - "numba; python_version<'3.13'", - "numba==0.61.0rc2; python_version=='3.13'", + "numba", "numpy", "tiktoken", "torch", From 852bd8a9e1fc9b26e3bfa274b923eff1dc404ac5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 29 Jan 2025 18:13:50 +0100 Subject: [PATCH 7/7] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 45d291ac3..21b90e737 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "tiktoken", "torch", "tqdm", - "triton>=2; python_version<'3.13' and (platform_machine=='x86_64' and sys_platform=='linux') or sys_platform=='linux2'", + "triton>=2; (platform_machine=='x86_64' and sys_platform=='linux') or sys_platform=='linux2'", ] optional-dependencies.dev = [ "black", "flake8", "isort", "pytest", "scipy" ] urls = { Homepage = "https://github.com/openai/whisper" }