Skip to content

Commit

Permalink
Remove detection extra from torchmetrics install (#2590)
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft authored Jan 3, 2025
1 parent 87e2b85 commit a53379d
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
run: pytest -s -v --durations=10

- name: Upload a Build result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
node-version: ${{ env.node-version }}
- id: download
name: Download a Build Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/CI-e2e-notebooks-text-vision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: yarn buildall

- name: Upload the build result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-js
path: raiwidgets/raiwidgets/widget
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
run: yarn install --frozen-lock-file

- name: Download the UI build result
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: raiwidgets-js
path: raiwidgets/raiwidgets/widget
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
working-directory: raiwidgets

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: raiwidgets/installed-requirements-dev.txt
Expand All @@ -167,7 +167,7 @@ jobs:
- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-e2e-screen-shot
path: ./dist/cypress
8 changes: 4 additions & 4 deletions .github/workflows/CI-e2e-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: yarn buildall

- name: Upload the build result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-js
path: raiwidgets/raiwidgets/widget
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
run: yarn install --frozen-lock-file

- name: Download the UI build result
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: raiwidgets-js
path: raiwidgets/raiwidgets/widget
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
working-directory: raiwidgets

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: raiwidgets/installed-requirements-dev.txt
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-e2e-screen-shot
path: ./dist/cypress
6 changes: 3 additions & 3 deletions .github/workflows/CI-notebook-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
working-directory: raiwidgets

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: raiwidgets/installed-requirements-dev.txt
Expand All @@ -111,14 +111,14 @@ jobs:

- name: Upload notebook test result
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: notebook-test-${{ matrix.operatingSystem }}-${{ matrix.pythonVersion }}
path: notebooks

- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-e2e-screen-shot
path: dist/cypress
6 changes: 3 additions & 3 deletions .github/workflows/CI-notebook-vision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
working-directory: raiwidgets

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: raiwidgets/installed-requirements-dev.txt
Expand All @@ -108,14 +108,14 @@ jobs:

- name: Upload notebook test result
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: notebook-test-${{ matrix.operatingSystem }}-${{ matrix.pythonVersion }}
path: notebooks

- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-e2e-screen-shot
path: dist/cypress
6 changes: 3 additions & 3 deletions .github/workflows/CI-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
working-directory: raiwidgets

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: raiwidgets/installed-requirements-dev.txt
Expand All @@ -86,14 +86,14 @@ jobs:

- name: Upload notebook test result
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: notebook-test-${{ matrix.operatingSystem }}-${{ matrix.pythonVersion }}
path: notebooks

- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-e2e-screen-shot
path: dist/cypress
4 changes: 2 additions & 2 deletions .github/workflows/CI-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
working-directory: raiwidgets

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: raiwidgets/installed-requirements-dev.txt
Expand All @@ -81,7 +81,7 @@ jobs:
working-directory: ${{ matrix.packageDirectory }}

- name: Upload code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.packageDirectory }}-code-coverage-results
path: ${{ matrix.packageDirectory }}/htmlcov
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI-rai_core_flask-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
working-directory: rai_core_flask

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev-comp.txt
path: rai_core_flask/requirements-dev-comp.txt
Expand All @@ -78,7 +78,7 @@ jobs:
working-directory: rai_core_flask

- name: Upload code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rai_core_flask-code-coverage-results
path: rai_core_flask/htmlcov
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI-raiwidgets-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
working-directory: ${{ matrix.packageDirectory }}

- name: Upload requirements
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements-dev.txt
path: ${{ matrix.packageDirectory }}/installed-requirements-dev.txt
Expand All @@ -117,7 +117,7 @@ jobs:

- if: ${{ (steps.raiwidgettests.outcome == 'success') }}
name: Upload code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.packageDirectory }}-code-coverage-results
path: ${{ matrix.packageDirectory }}/htmlcov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-responsibleai-text-vision-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
working-directory: ${{ matrix.packageDirectory }}

- name: Upload code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.packageDirectory }}-code-coverage-results
path: ${{ matrix.packageDirectory }}/htmlcov
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/CI-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ jobs:
run: yarn ci
- name: Upload unit test code coverage
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit-test-coverage-${{ matrix.node-version }}
path: coverage
- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: e2e-screen-shot-${{ matrix.node-version }}
path: dist/cypress
- name: Upload yarn error
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: yarn-error.log-${{ matrix.node-version }}
path: yarn-error.log
20 changes: 10 additions & 10 deletions .github/workflows/release-rai-tabular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,19 @@ jobs:
working-directory: ${{ env.raiDirectory }}

- name: Upload a raiwidgets build result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.widgetDirectory }}
path: ${{ env.widgetDirectory }}/dist/

- name: Upload a responsibleai build result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.raiDirectory }}
path: ${{ env.raiDirectory }}/dist/

- name: Upload a typescript build result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.typescriptBuildArtifactName }}
path: ${{ env.typescriptBuildOutput }}
Expand Down Expand Up @@ -147,14 +147,14 @@ jobs:

- id: download_rai_unit
name: Download responsibleai wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.raiDirectory }}
path: ${{ env.raiDirectory }}

- id: download_raiwidgets_unit
name: Download raiwidgets wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.widgetDirectory }}
path: ${{ env.widgetDirectory }}
Expand Down Expand Up @@ -209,14 +209,14 @@ jobs:

- id: download_rai_e2e
name: Download responsibleai wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: responsibleai
path: responsibleai

- id: download_raiwidgets_e2e
name: Download raiwidgets wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: raiwidgets
path: raiwidgets
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raiwidgets-e2e-screen-shot
path: ./dist/cypress
Expand All @@ -273,7 +273,7 @@ jobs:

- id: download
name: Download a Build Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ matrix.package }}
path: ${{ matrix.package }}
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:

- id: download
name: Download a Build Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.typescriptBuildArtifactName }}
path: ${{ env.typescriptBuildOutput }}
Expand Down
2 changes: 1 addition & 1 deletion responsibleai_vision/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ scikit-learn>=0.22.1
scipy>=1.4.1
semver~=2.13.0
responsibleai>=0.35.0
torchmetrics[detection]
torchmetrics
vision_explanation_methods

0 comments on commit a53379d

Please sign in to comment.