Skip to content

Commit

Permalink
Remove torchvision tests from torchdata domain ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulavasan committed Jan 9, 2024
1 parent 7cf433a commit 942c0a1
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/domain_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,6 @@ on:
- gh/*/*/base

jobs:
torchvision:
if: ${{ github.repository_owner == 'pytorch' }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
python-version:
- 3.8
- 3.9
steps:
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install torch and torchvision from nightlies
run: |
pip install numpy networkx
pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
- name: Check out torchdata repository
uses: actions/checkout@v3

- name: Install torchdata
run: |
pip install -r requirements.txt
pip install .
- name: Install test requirements
run: pip install pytest pytest-mock scipy iopath pycocotools h5py

- name: Extract torchvision ref
id: torchvision
run: echo "ref=$(python -c 'import torchvision; print(torchvision.version.git_version)')" >> $GITHUB_OUTPUT

- name: Check out torchvision repository
uses: actions/checkout@v3
with:
repository: pytorch/vision
ref: ${{ steps.torchvision.outputs.ref }}
path: vision

- name: Run torchvision builtin datasets tests
run: pytest --no-header -v vision/test/test_prototype_datasets_builtin.py

torchtext:
if: ${{ github.repository_owner == 'pytorch' }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 942c0a1

Please sign in to comment.