Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin responsibleai text and vision packages to 0.30.0 #2387

Merged
merged 17 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CI-e2e-notebooks-text-vision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ jobs:
auto-update-conda: true
python-version: ${{ matrix.pythonVersion }}

- name: Install pytorch
- name: Install pytorch with python 3.7
shell: bash -l {0}
run: |
conda install --yes --quiet pytorch torchvision captum cpuonly -c pytorch
conda install --yes --quiet "pytorch==1.13.1" "torchvision<0.15" captum cpuonly -c pytorch

- name: Setup tools
shell: bash -l {0}
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/CI-notebook-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,22 @@ jobs:
run: yarn buildall

- if: ${{ matrix.operatingSystem != 'macos-latest' }}
name: Install pytorch on non-MacOS
name: Install pytorch on non-MacOS with python 3.7
shell: bash -l {0}
run: |
conda install --yes --quiet pytorch captum cpuonly -c pytorch
conda install --yes --quiet "pytorch==1.13.1" "torchvision<0.15" captum cpuonly -c pytorch

- if: ${{ matrix.operatingSystem == 'macos-latest' }}
- 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

- 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 captum -c pytorch
conda install --yes --quiet "pytorch<2.1,>1.13.1" "torchvision<0.16" captum -c pytorch

- name: Setup tools
shell: bash -l {0}
Expand All @@ -77,7 +83,7 @@ jobs:
- name: Install text dependencies
shell: bash -l {0}
run: |
pip install -r requirements-dev.txt
pip install -r requirements-dev.txt --no-cache-dir
pip install .
working-directory: responsibleai_text

Expand Down
2 changes: 1 addition & 1 deletion responsibleai_text/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.0
responsibleai==0.30.0
2 changes: 1 addition & 1 deletion responsibleai_vision/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.0
responsibleai==0.30.0
torchmetrics
vision_explanation_methods
2 changes: 1 addition & 1 deletion scripts/e2e-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const fileNames = tabularFileNames
.concat(textFileNames);
const notebookHostReg = /^ResponsibleAI started at (http:\/\/localhost:\d+)$/m;
const serveHostReg = /Web Development Server is listening at\s+(.*)$/m;
const timeout = 3600;
const timeout = 4800;

/**
*
Expand Down
Loading