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

[pull] main from microsoft:main #4

Open
wants to merge 145 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
03d7867
Add 3.11 support to rai-core-flask (#2386)
gaugup Oct 9, 2023
14a299e
fix failing builds due to pytorch dependencies (#2389)
imatiach-msft Oct 11, 2023
13d7a0f
pin responsibleai text and vision packages to 0.30.0 (#2387)
romanlutz Oct 16, 2023
acb7d3f
Release responsibleai and raiwidgets v0.31.0 (#2392)
romanlutz Oct 17, 2023
3a5541d
Improvements in HuggingFA QA example notebook (#2391)
kartik727 Oct 17, 2023
e4487bf
OD Explanation Loader Fix (#2381)
Advitya17 Oct 26, 2023
a65a087
add socket implementation to RAI dashboard object detection and quest…
imatiach-msft Oct 26, 2023
9bb6d5d
Localized file check-in by OneLocBuild Task: Build definition ID 2136…
RubyZ10 Oct 26, 2023
e2caa57
Juno: check in to JUNO/hb_a12a4630-4852-4e7d-9cbc-c0e1117da1ab_202310…
csigs Oct 26, 2023
d595388
release rai-core-flask 0.7.0 (#2398)
imatiach-msft Oct 30, 2023
efc371f
Juno: check in to JUNO/hb_a12a4630-4852-4e7d-9cbc-c0e1117da1ab_202310…
csigs Oct 30, 2023
c0e56ed
update raiwidgets to rai-core-flask v0.7.0 (#2401)
imatiach-msft Oct 30, 2023
4d8d9b7
Update requirements.txt to upgrade dice-ml to 0.11.0 (#2397)
gaugup Oct 30, 2023
35317a4
Refer to predicted value from Counterfactual data (#2402)
gaugup Oct 31, 2023
1408ef5
Optional support for IS_CROWD for OD COCO label format (#2395)
Advitya17 Nov 1, 2023
4fa84f9
Dashboard Port Updates (#2406)
Advitya17 Nov 2, 2023
3f21a0f
Release new version of rai_core_flask (#2407)
Advitya17 Nov 3, 2023
002b1a0
Localized file check-in by OneLocBuild Task: Build definition ID 2136…
RubyZ10 Nov 3, 2023
0312072
Import & data loading fixes for IC & multilabel notebooks (#2410)
Advitya17 Nov 10, 2023
73dc621
fallback to request if socket connection fails for object detection a…
imatiach-msft Nov 10, 2023
d033292
fix build error due to changed exception messages and UCI repository …
imatiach-msft Nov 14, 2023
4f3d90c
fix RangeIndex error in error analysis for object detection models (#…
imatiach-msft Nov 14, 2023
f726163
Side Panel Bug Fix (#2414)
Advitya17 Nov 14, 2023
4c01e0c
Accessibility fix for 'Error Analysis' header (#2415)
Advitya17 Nov 14, 2023
6a5d308
add average parameter to MeanAveragePrecision to specify micro or mac…
imatiach-msft Nov 14, 2023
596fc41
release raiwidgets and responsibleai 0.32.0 (#2416)
imatiach-msft Nov 14, 2023
0393d1c
update responsibleai-text and responsibleai-vision packages to respon…
imatiach-msft Nov 15, 2023
bfd4ae7
release responsibleai-vision 0.3.3 and responsibleai-text 0.2.3 (#2421)
imatiach-msft Nov 16, 2023
ea6b3a0
Added aria-labels to dropdowns (#2417)
Advitya17 Nov 21, 2023
eb68a1b
make elements under image explorer view tab keyboard accessible (#2422)
imatiach-msft Nov 21, 2023
a676218
Added aria-labels for sliders and checkboxes/DetailsList (#2419)
Advitya17 Nov 21, 2023
96b3574
Added aria-labels to buttons (#2418)
Advitya17 Nov 22, 2023
e12a9f7
fix switch cohort window getting clipped when zoomed in for accessibi…
imatiach-msft Nov 27, 2023
68aa845
fix vision dashboard flyout accessibility on smaller screen size (#2432)
imatiach-msft Nov 28, 2023
145d713
Localized file check-in by OneLocBuild Task: Build definition ID 2136…
RubyZ10 Nov 28, 2023
89f1b47
Juno: check in to JUNO/hb_a12a4630-4852-4e7d-9cbc-c0e1117da1ab_202311…
csigs Nov 28, 2023
26e8cca
UI Improvement for Aggregate Object Detection Labels (#2431)
Advitya17 Nov 29, 2023
85d6373
fix image downloader failing with automl format on deserialize due to…
imatiach-msft Dec 4, 2023
1ced6ef
fix save and switch button text overflowing for accessibility (#2438)
imatiach-msft Dec 5, 2023
f5118e4
Object Detection Model Overview missing-class fix for Cohorts (#2429)
Advitya17 Dec 5, 2023
12a2dd0
Update raiwidgets to rai-core-flask v0.7.1 (#2437)
Advitya17 Dec 5, 2023
05d7245
Update CI-notebook.yml (#2441)
Advitya17 Dec 5, 2023
7da35e5
update github actions versions for setup-node, setup-miniconda and ch…
imatiach-msft Dec 5, 2023
d5a4cfc
Localized file check-in by OneLocBuild Task: Build definition ID 2136…
RubyZ10 Dec 6, 2023
d473c30
release raiwidgets and responsibleai 0.32.1 (#2443)
Advitya17 Dec 6, 2023
fe02419
fix aria label for screen reader on scatter plot color axis picker (#…
imatiach-msft Dec 6, 2023
ab28cd3
remove python 3.6 from builds, tests and packages (#2442)
imatiach-msft Dec 6, 2023
1567e69
fix luminosity ratio of RAI Vision dashboard success and failure inst…
imatiach-msft Dec 6, 2023
d6d8c78
update responsibleai-text and responsibleai-vision packages to respon…
imatiach-msft Dec 6, 2023
ae56171
fix RAI dashboard treat as categorical accessibility on new cohort cr…
imatiach-msft Dec 6, 2023
9ce153a
release responsibleai-vision 0.3.4 and responsibleai-text 0.2.4 (#2447)
imatiach-msft Dec 6, 2023
8cbf3eb
fix line-height override on add tab button for accessibility (#2449)
imatiach-msft Dec 8, 2023
84c7de6
fix pivot focus indicator for accessibility (#2450)
imatiach-msft Dec 8, 2023
6afef2e
Upgrade setup python from v4 to v5 (#2454)
gaugup Dec 11, 2023
afcc4ba
fix socketio cors authentication for object detection and qa metrics …
imatiach-msft Dec 13, 2023
095b2ab
Data Imputation Fix in `erroranalysis` (#2436)
Advitya17 Dec 13, 2023
2dcea4f
release rai-core-flask 0.7.2 (#2458)
imatiach-msft Dec 13, 2023
cc8db69
update raiwidgets to rai-core-flask v0.7.2 (#2459)
imatiach-msft Dec 13, 2023
0700cdc
fix confusion matrix highcharts heatmap keyboard focus order accessib…
imatiach-msft Dec 14, 2023
6cb95c0
fix error when extracting exif metadata features from images in RAI V…
imatiach-msft Dec 15, 2023
2a6ff82
fix class importance weights callout truncated in small view for acce…
imatiach-msft Dec 18, 2023
09a8e7a
fix tooltip callout keyboard focus order for accessibility (#2464)
imatiach-msft Dec 18, 2023
4f7bda6
fix images missing alternate text in RAI Vision dashboard for accessi…
imatiach-msft Dec 18, 2023
5e9b84c
update vscode settings for codeActionsOnSave to use new field instead…
imatiach-msft Dec 21, 2023
35b5537
announce highcharts confusion matrix heatmap tooltip aria label for a…
imatiach-msft Dec 22, 2023
b211ae6
release erroranalysis 0.5.3 (#2468)
imatiach-msft Dec 22, 2023
f601e3b
announce search results in RAI Vision dashboard toolbar for accessibi…
imatiach-msft Dec 22, 2023
e5c8729
update responsibleai and raiwidgets to erroranalysis 0.5.3 (#2471)
imatiach-msft Dec 27, 2023
6ab9f0a
add AccessibleDetailsList with resizable columns for accessibility (#…
imatiach-msft Dec 27, 2023
07d19b3
update numpy and numba dependencies (#2473)
imatiach-msft Dec 27, 2023
95dc5cb
release raiwidgets and responsibleai 0.33.0 (#2474)
imatiach-msft Dec 28, 2023
9232c35
Update MANIFEST.in (#2476)
rxm7706 Dec 29, 2023
be00e9a
update responsibleai-text and responsibleai-vision packages to respon…
imatiach-msft Jan 2, 2024
10b2dc7
release responsibleai-vision 0.3.5 and responsibleai-text 0.2.5 (#2481)
imatiach-msft Jan 2, 2024
4917ae5
fix release script due to dependency test errors (#2482)
imatiach-msft Jan 2, 2024
120f918
release tensorflow pin in RAI vision and text package tests which was…
imatiach-msft Jan 3, 2024
2556253
fix vision data explorer elements truncated in smaller screen (#2478)
imatiach-msft Jan 3, 2024
464c9f0
fix duplicate categorical features added from image exif metadata in …
imatiach-msft Jan 5, 2024
c2a9352
Accessibility Fix for Metric Checkboxes (#2485)
Advitya17 Jan 8, 2024
49906bb
upgrade plotly to latest version 2.27.1 (#2484)
imatiach-msft Jan 10, 2024
010289f
Fix retry function not stopping for long time after sending an interr…
kartik727 Jan 11, 2024
a906749
ignore error when uploading test dashboard from build for external fo…
imatiach-msft Jan 12, 2024
67443ff
Juno: check in to JUNO/hb_a12a4630-4852-4e7d-9cbc-c0e1117da1ab_202312…
csigs Jan 12, 2024
f7978d5
Localized file check-in by OneLocBuild Task: Build definition ID 2136…
RubyZ10 Jan 12, 2024
97dc2a6
update responsibleai to interpret-community 0.31.0 (#2488)
imatiach-msft Jan 16, 2024
bee87b5
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#2489)
arunsathiya Jan 16, 2024
946115b
fix wrong metrics count missing in vision explorer of RAI Vision dash…
imatiach-msft Jan 19, 2024
95d5e05
Private Link URL support on rai_core_flask (#2493)
Advitya17 Jan 19, 2024
4cd7c79
Release rai_core_flask 0.7.3 (#2496)
Advitya17 Jan 19, 2024
01cb9d5
Class View Search Case Fix (#2498)
Advitya17 Jan 23, 2024
9f7c545
PL Support on raiwidgets (#2500)
Advitya17 Jan 24, 2024
6973ee4
Flyout Bounding Box legend & accessibility fixes (#2497)
Advitya17 Jan 24, 2024
7ff3476
Dropdown option fix (#2505)
Advitya17 Jan 25, 2024
f1cf49c
update UI to support genai task for RAI text dashboard (#2504) (#2508)
imatiach-msft Jan 26, 2024
66e33cb
fix builds by supporting sparse_output renamed parameter in OneHotEnc…
imatiach-msft Jan 26, 2024
13e1782
Added metrics for genai text (#2514)
kartik727 Jan 29, 2024
7aa72fb
added generative text explainer (#2516)
mohsinposts Jan 30, 2024
84428aa
add genai metrics endpoint in UI for model overview metrics (#2517) (…
imatiach-msft Jan 30, 2024
5b4bd20
Add helper method for genai metrics (#2519)
kartik727 Jan 31, 2024
4bd1b97
release raiwidgets and responsibleai 0.34.0 (#2521)
imatiach-msft Jan 31, 2024
5036435
support forecasting (#2499)
jamesbchao Jan 31, 2024
c8ff9a2
Add methods and constants for genai metrics (#2524)
kartik727 Feb 1, 2024
ff00051
fix CD.yml permissions errors for dashboard links on PRs (#2525)
imatiach-msft Feb 2, 2024
5eed28f
Genai integration (#2522)
kartik727 Feb 2, 2024
9dfacdb
fix forecast flattening prediction list error (#2529)
jamesbchao Feb 7, 2024
10dde04
update responsibleai-text and responsibleai-vision packages to respon…
imatiach-msft Feb 8, 2024
13d30c5
release notes for v0.34.1 (#2531)
jamesbchao Feb 8, 2024
d276410
fix permissions for RAI tabular release workflow to add release tags …
imatiach-msft Feb 9, 2024
8d2a117
Update release-rai-tabular.yml, fix permissions scope
imatiach-msft Feb 9, 2024
973631d
fix label column incorrectly added by feature extractors in RAI Visio…
imatiach-msft Feb 9, 2024
4c2e737
update responsibleai-text and responsibleai-vision packages to respon…
imatiach-msft Feb 10, 2024
7eade45
release responsibleai-vision 0.3.6 and responsibleai-text 0.2.6 (#2535)
imatiach-msft Feb 12, 2024
66da2c0
fix release github actions for RAI vision and text packages (#2536)
imatiach-msft Feb 12, 2024
c647df1
fix bad whitespace in url format for azure compute instance base url …
imatiach-msft Feb 14, 2024
a0e804b
fix builds due to OneHotEncoder sparse parameter breaking change in s…
imatiach-msft Feb 15, 2024
d665107
release rai-core-flask 0.7.4 (#2538)
imatiach-msft Feb 15, 2024
7292ba3
Gates fix to remove py 3.7 for EOL & AutoML 2.0.6 (#2543)
Advitya17 Feb 27, 2024
e2c7dd0
Exif Nested Metadata support for Image Dashboards (#2542)
Advitya17 Mar 5, 2024
76e0de4
Nested Exif Metadata support + Gate fixes for py 3.7 and keras versio…
Advitya17 Apr 2, 2024
4bb3835
fix index into image_dimensions for drawing bounding boxes in object …
imatiach-msft Apr 4, 2024
2a5a473
fix erroranalysis test failures due to new shap release having incons…
imatiach-msft Apr 8, 2024
38c8a81
update ipython and werkzeug dependencies for responsibleai and rai-co…
imatiach-msft Apr 8, 2024
d8501fa
Release responsibleai_vision 0.3.7 with Nested Exif Metadata support…
Advitya17 Apr 10, 2024
5b4c222
release rai-core-flask 0.7.5 (#2553)
imatiach-msft Apr 15, 2024
e606ca0
release rai-test-utils 0.4.2 (#2554)
imatiach-msft Apr 15, 2024
d791efa
release rai-utils 0.4.2 (#2555)
imatiach-msft Apr 15, 2024
4c5ffe4
upgrade packages and CI to rai-core-flask==0.7.5, rai-utils==0.4.2 an…
imatiach-msft Apr 16, 2024
b5195ac
release erroranalysis 0.5.4 (#2557)
imatiach-msft Apr 17, 2024
9e818e8
update responsibleai and raiwidgets to erroranalysis 0.5.4 (#2558)
imatiach-msft Apr 17, 2024
a7f6175
release raiwidgets and responsibleai 0.35.0 (#2559)
imatiach-msft Apr 18, 2024
6026326
upgrade nx to 12.10.0 (#2561)
imatiach-msft May 1, 2024
93eacce
fix wrapper constructor in ErrorAnalysisManager and RAIVisionInsights…
imatiach-msft May 1, 2024
53eec8e
update responsibleai-text and responsibleai-vision packages to respon…
imatiach-msft May 2, 2024
bfb6100
release responsibleai-vision 0.3.8 and responsibleai-text 0.2.7 (#2564)
imatiach-msft May 3, 2024
577f7a9
remove pins on werkzeug, itsdangerous and markupsafe since they are c…
imatiach-msft May 16, 2024
82e1b7b
release rai-core-flask 0.7.6 (#2566)
tongyu-microsoft May 16, 2024
12a678e
release raiwidgets and responsibleai 0.35.1 (#2567)
tongyu-microsoft May 18, 2024
6898acd
Update StatsTableUtils.ts (#2568)
tongyu-microsoft May 21, 2024
1570b17
Fix robot page exception on TypeError: Cannot read properties of unde…
tongyu-microsoft May 21, 2024
d5f820b
Fix responsibleai toolbox build failures due to dependency updates (#…
imatiach-msft Jul 1, 2024
519037c
Update getting-started.ipynb (#2572)
oohtmeel1 Jul 1, 2024
42a6d27
Fix build failures due to missing fridge datasets (#2573)
imatiach-msft Jul 1, 2024
81f6388
Update responsibleai to scikit-learn 1.5.1 (#2570)
imatiach-msft Jul 5, 2024
3093ac0
release raiwidgets and responsibleai 0.36.0 (#2574)
imatiach-msft Jul 8, 2024
87e2b85
[A11y] Fix 'Vision data explorer' text present under 'analyse_ model'…
tongyu-microsoft Aug 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 24 additions & 13 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,21 @@ on:
jobs:
cd-build:
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

#setup environment
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand All @@ -46,10 +48,10 @@ jobs:
run: |
if [[ '${{ github.event_name }}' == 'push' ]]
then
echo "::set-output name=url::https://${blob_account}.blob.core.windows.net/${blob_container_for_js}/index.html"
echo "url=https://${blob_account}.blob.core.windows.net/${blob_container_for_js}/index.html" >> $GITHUB_OUTPUT
elif [[ '${{ github.event_name }}' == 'pull_request' ]]
then
echo "::set-output name=url::https://${blob_account}.blob.core.windows.net/${blob_container_for_pull_request}/${blob_path_for_pull_request}/${dashboardDirectory}/index.html"
echo "url=https://${blob_account}.blob.core.windows.net/${blob_container_for_pull_request}/${blob_path_for_pull_request}/${dashboardDirectory}/index.html" >> $GITHUB_OUTPUT
else
echo "Invalid event $${{ github.event_name }}"
fi
Expand All @@ -62,7 +64,7 @@ jobs:
run: yarn auto-version
- name: Get version
id: version
run: echo ::set-output name=version::$(cat version.cfg)
run: echo "version=$(cat version.cfg)" >> $GITHUB_OUTPUT

- name: Build Typescript
run: yarn buildall
Expand All @@ -82,6 +84,10 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-dev.txt
working-directory: ${{ env.widgetDirectory }}
- name: Install rai_test_utils locally until next version is released
run: |
pip install -v -e .
working-directory: rai_test_utils
- name: pip freeze
run: pip freeze
- name: replace README for raiwidgets
Expand Down Expand Up @@ -118,6 +124,7 @@ jobs:

- name: Upload dashboard ${{steps.publish_url_for_js.outputs.url}}
uses: Azure/cli@v1.0.0
id: uploaddashboard
with:
azcliversion: 2.16.0
inlineScript: |
Expand All @@ -130,16 +137,18 @@ jobs:
else
echo "Invalid event $${{ github.event_name }}"
fi
continue-on-error: true

- uses: unsplash/comment-on-pr@master
if: ${{ github.event_name == 'pull_request' }}
- if: ${{ (github.event_name == 'pull_request') && (steps.uploaddashboard.outcome != 'failure') }}
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: ${{steps.publish_url_for_js.outputs.url}}
check_for_duplicate_msg: true

- name: Upload responsible-ai
- if: ${{ (steps.uploaddashboard.outcome != 'failure') }}
name: Upload responsible-ai
uses: Azure/cli@v1.0.0
with:
azcliversion: 2.16.0
Expand All @@ -154,7 +163,8 @@ jobs:
echo "Invalid event $${{ github.event_name }}"
fi

- name: Upload raiwidgets
- if: ${{ (steps.uploaddashboard.outcome != 'failure') }}
name: Upload raiwidgets
uses: Azure/cli@v1.0.0
with:
azcliversion: 2.16.0
Expand All @@ -171,9 +181,10 @@ jobs:

- name: Get retention cut off date
id: retention_date
run: echo "::set-output name=date::$(date --date='${{env.retentionDays}} days ago' +'%Y-%m-%dT00:00Z')"
run: echo "date=$(date --date='${{env.retentionDays}} days ago' +'%Y-%m-%dT00:00Z')" >> $GITHUB_OUTPUT

- name: Delete old files before ${{steps.retention_date.outputs.date}}
- if: ${{ (steps.uploaddashboard.outcome != 'failure') }}
name: Delete old files before ${{steps.retention_date.outputs.date}}
uses: Azure/cli@v1.0.0
with:
azcliversion: 2.16.0
Expand Down Expand Up @@ -208,7 +219,7 @@ jobs:

steps:
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
- id: download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-codescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/CI-e2e-notebooks-text-vision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand Down Expand Up @@ -56,17 +56,17 @@ jobs:
matrix:
# TODO: add macos
operatingSystem: [ubuntu-latest, windows-latest]
pythonVersion: [3.7, 3.8, 3.9, "3.10"]
pythonVersion: [3.8, 3.9, "3.10"]
flights: [""]
notebookGroup: ["vis_nb_group_1", "text_nb_group_1"]

runs-on: ${{ matrix.operatingSystem }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand All @@ -82,15 +82,15 @@ jobs:
name: raiwidgets-js
path: raiwidgets/raiwidgets/widget

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.pythonVersion }}

- name: Install pytorch
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" cpuonly "numpy<1.24.0" -c pytorch

- name: Setup tools
shell: bash -l {0}
Expand All @@ -99,9 +99,16 @@ jobs:
pip install --upgrade setuptools
pip install --upgrade "pip-tools<=7.1.0"

- name: Install backwards-compatible keras for transformers
shell: bash -l {0}
run: |
pip install tf-keras
pip install keras==2.15

- name: Install dependencies
shell: bash -l {0}
run: |
pip install captum
pip install -r requirements-dev.txt
pip install -v -e .
working-directory: raiwidgets
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/CI-e2e-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand Down Expand Up @@ -59,10 +59,10 @@ jobs:
runs-on: ${{ matrix.operatingSystem }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand All @@ -78,7 +78,7 @@ jobs:
name: raiwidgets-js
path: raiwidgets/raiwidgets/widget

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.pythonVersion }}
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/CI-notebook-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
strategy:
matrix:
operatingSystem: [ubuntu-latest, windows-latest]
pythonVersion: [3.7, 3.8, 3.9, "3.10"]
pythonVersion: [3.8, 3.9, "3.10"]

runs-on: ${{ matrix.operatingSystem }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.pythonVersion }}

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand All @@ -52,13 +52,13 @@ jobs:
name: Install pytorch on non-MacOS
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 "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 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}
Expand All @@ -67,6 +67,12 @@ jobs:
pip install --upgrade setuptools
pip install --upgrade "pip-tools<=7.1.0"

- name: Install backwards-compatible keras for transformers
shell: bash -l {0}
run: |
pip install tf-keras
pip install keras==2.15

- name: Install dependencies
shell: bash -l {0}
run: |
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
17 changes: 9 additions & 8 deletions .github/workflows/CI-notebook-vision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ jobs:
node-version: 16.x
strategy:
matrix:
operatingSystem: [ubuntu-latest, windows-latest]
pythonVersion: [3.7, 3.8, 3.9, "3.10"]
operatingSystem: [ubuntu-latest]
pythonVersion: [3.8, 3.9, "3.10"]

runs-on: ${{ matrix.operatingSystem }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.pythonVersion }}

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand All @@ -52,13 +52,13 @@ jobs:
name: Install pytorch on non-MacOS
shell: bash -l {0}
run: |
conda install --yes --quiet pytorch torchvision captum cpuonly -c pytorch
conda install --yes --quiet "pytorch<2.1,>1.13.1" "torchvision<0.16" 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 torchvision captum -c pytorch
conda install --yes --quiet "pytorch<2.1,>1.13.1" "torchvision<0.16" "numpy<1.24.0" -c pytorch

- name: Setup tools
shell: bash -l {0}
Expand All @@ -70,6 +70,7 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
pip install captum
pip install -r requirements-dev.txt
pip install .
working-directory: raiwidgets
Expand All @@ -86,7 +87,7 @@ jobs:
shell: bash -l {0}
run: |
pip install --force-reinstall pyarrow==11.0.0
pip install "numpy<=1.22.4"
pip install "numpy<=1.26.2"

- name: Pip freeze
shell: bash -l {0}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/CI-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
strategy:
matrix:
operatingSystem: [ubuntu-latest, windows-latest]
pythonVersion: [3.6, 3.7, 3.8, 3.9, "3.10"]
pythonVersion: [3.7, 3.8, 3.9, "3.10"]

runs-on: ${{ matrix.operatingSystem }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.pythonVersion }}

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

Expand Down
Loading