From 14d0f52efd160dce5c4a58aa46864ef66489cd3c Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:35:52 +0200 Subject: [PATCH 1/5] accelerate unused --- .github/actions/nlp_template_test/action.yml | 2 +- template/config.yaml | 1 - template/requirements.txt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/nlp_template_test/action.yml b/.github/actions/nlp_template_test/action.yml index ce39d3a..cb904ff 100644 --- a/.github/actions/nlp_template_test/action.yml +++ b/.github/actions/nlp_template_test/action.yml @@ -82,7 +82,7 @@ runs: UV_HTTP_TIMEOUT: '1500' run: | uv pip install --system -r ./local_checkout/all-requirements.txt - uv pip install --system accelerate torchvision + uv pip install --system torchvision - name: Run pytests shell: bash diff --git a/template/config.yaml b/template/config.yaml index 8630f12..acb3bff 100644 --- a/template/config.yaml +++ b/template/config.yaml @@ -26,7 +26,6 @@ settings: - mlflow - discord requirements: - - accelerate - zenml[server] extra: diff --git a/template/requirements.txt b/template/requirements.txt index f7f9817..2b53a27 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -1,4 +1,3 @@ torchvision -accelerate gradio zenml[server]>=0.56.3 From 2f1b4c4f9fb98eab80d41aa88098dc02428193bd Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:42:38 +0200 Subject: [PATCH 2/5] fix datasets < 3 --- template/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/template/requirements.txt b/template/requirements.txt index 2b53a27..e79245c 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -1,3 +1,4 @@ torchvision gradio zenml[server]>=0.56.3 +datasets>=2.12.0,<3.0.0 From b3d26f64187cdd8ea19dcf8e198f58384dae9c38 Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:46:15 +0200 Subject: [PATCH 3/5] use develop in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4637eb..3723961 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,5 +56,5 @@ jobs: with: stack-name: ${{ matrix.stack-name }} python-version: ${{ matrix.python-version }} - ref-zenml: ${{ inputs.ref-zenml || 'feature/PRD-566-dependency-cleanup' }} + ref-zenml: ${{ inputs.ref-zenml || 'develop' }} ref-template: ${{ inputs.ref-template || github.ref }} From 341eb72d1c539068cc9a21ab1cb80d722ca42ed2 Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:46:57 +0200 Subject: [PATCH 4/5] remove 3.8 runners due to soon deprecation --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3723961..e6a4ffb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: matrix: stack-name: [local] os: [windows-latest, ubuntu-latest, macos-13] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] env: ZENML_DEBUG: true ZENML_ANALYTICS_OPT_IN: false From dba7852e6d6f00e9993113ca8632b5f47a59bf9b Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:04:32 +0200 Subject: [PATCH 5/5] fix datasets < 3 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 728d21f..ea98812 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ copier jinja2-time pyyaml-include<2.0 +datasets>=2.12.0,<3.0.0