From 1c3f7645be9c90adfac88841de84fb3d8b4f16bd Mon Sep 17 00:00:00 2001 From: Ilya Matiach Date: Fri, 29 Dec 2023 11:33:17 -0500 Subject: [PATCH] update responsibleai-text and responsibleai-vision packages to responsibleai 0.33.0 --- .github/workflows/CI-notebook-text.yml | 6 +++--- .github/workflows/CI-responsibleai-text-vision-pytest.yml | 4 ++-- responsibleai_text/requirements.txt | 2 +- responsibleai_vision/requirements.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI-notebook-text.yml b/.github/workflows/CI-notebook-text.yml index 36c0f24bb1..57f45faff7 100644 --- a/.github/workflows/CI-notebook-text.yml +++ b/.github/workflows/CI-notebook-text.yml @@ -52,19 +52,19 @@ jobs: name: Install pytorch on non-MacOS with python 3.7 shell: bash -l {0} run: | - conda install --yes --quiet "pytorch==1.13.1" "torchvision<0.15" captum cpuonly -c pytorch + conda install --yes --quiet "pytorch==1.13.1" "torchvision<0.15" captum cpuonly "numpy<1.24.0" -c pytorch - if: ${{ matrix.operatingSystem == 'macos-latest' && matrix.pythonVersion == '3.7' }} name: Install Anaconda packages on MacOS with python 3.7 shell: bash -l {0} run: | - conda install --yes --quiet "pytorch==1.13.1" "torchvision<0.15" captum -c pytorch + conda install --yes --quiet "pytorch==1.13.1" "torchvision<0.15" captum "numpy<1.24.0" -c pytorch - if: ${{ matrix.operatingSystem == 'macos-latest' && matrix.pythonVersion != '3.7' }} name: Install Anaconda packages on MacOS, which should not include cpuonly according to official docs shell: bash -l {0} run: | - conda install --yes --quiet "pytorch<2.1,>1.13.1" "torchvision<0.16" captum -c pytorch + conda install --yes --quiet "pytorch<2.1,>1.13.1" "torchvision<0.16" captum "numpy<1.24.0" -c pytorch - name: Setup tools shell: bash -l {0} diff --git a/.github/workflows/CI-responsibleai-text-vision-pytest.yml b/.github/workflows/CI-responsibleai-text-vision-pytest.yml index 06ef786d0b..4f23efaaaa 100644 --- a/.github/workflows/CI-responsibleai-text-vision-pytest.yml +++ b/.github/workflows/CI-responsibleai-text-vision-pytest.yml @@ -57,13 +57,13 @@ jobs: name: Install pytorch on non-MacOS shell: bash -l {0} run: | - conda install --yes --quiet pytorch==1.13.1 "torchvision<0.15" cpuonly -c pytorch + conda install --yes --quiet pytorch==1.13.1 "torchvision<0.15" cpuonly "numpy<1.24.0" -c pytorch - if: ${{ matrix.operatingSystem == 'macos-latest' }} name: Install Anaconda packages on MacOS, which should not include cpuonly according to official docs shell: bash -l {0} run: | - conda install --yes --quiet pytorch==1.13.1 "torchvision<0.15" -c pytorch + conda install --yes --quiet pytorch==1.13.1 "torchvision<0.15" "numpy<1.24.0" -c pytorch - name: Setup tools shell: bash -l {0} diff --git a/responsibleai_text/requirements.txt b/responsibleai_text/requirements.txt index a254c60702..960634c87c 100644 --- a/responsibleai_text/requirements.txt +++ b/responsibleai_text/requirements.txt @@ -4,4 +4,4 @@ scikit-learn>=0.22.1 scipy>=1.4.1 semver~=2.13.0 nlp-feature-extractors==0.1.0 -responsibleai>=0.32.1 \ No newline at end of file +responsibleai>=0.33.0 \ No newline at end of file diff --git a/responsibleai_vision/requirements.txt b/responsibleai_vision/requirements.txt index eff89a0096..7de58a6317 100644 --- a/responsibleai_vision/requirements.txt +++ b/responsibleai_vision/requirements.txt @@ -5,6 +5,6 @@ Pillow<10.0.0; python_version<="3.7" # Pillow v10.0.0 is only available starting scikit-learn>=0.22.1 scipy>=1.4.1 semver~=2.13.0 -responsibleai>=0.32.1 +responsibleai>=0.33.0 torchmetrics vision_explanation_methods \ No newline at end of file