From 942c0a179dd8340a3d7d8107bb2f9218a7418ae8 Mon Sep 17 00:00:00 2001 From: Gokul Gunasekaran Date: Tue, 9 Jan 2024 03:22:37 -0800 Subject: [PATCH] Remove torchvision tests from torchdata domain ci --- .github/workflows/domain_ci.yml | 49 --------------------------------- 1 file changed, 49 deletions(-) diff --git a/.github/workflows/domain_ci.yml b/.github/workflows/domain_ci.yml index 079138389..201573aa7 100644 --- a/.github/workflows/domain_ci.yml +++ b/.github/workflows/domain_ci.yml @@ -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 }}