Skip to content

Commit

Permalink
Merge branch 'v2-lambda' of https://github.com/pmeier/vision into v2-…
Browse files Browse the repository at this point in the history
…lambda
  • Loading branch information
pmeier committed May 8, 2023
2 parents 0a44280 + f038933 commit 66a3e4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,3 @@ jobs:
if-no-files-found: error
path: html
s3-prefix: pytorch/vision/${{ github.event.pull_request.number }}

# The upload below duplicates the upload from above, but to a different path. This is needed since we are in the
# process of changing the path, but want to keep the disruption to a minimum.
# See https://github.com/pytorch/test-infra/issues/3894
# After a grace period, we can delete this again
- name: Upload docs preview
uses: seemethere/upload-artifact-s3@v5
with:
retention-days: 14
s3-bucket: doc-previews
if-no-files-found: error
path: html
s3-prefix: pytorch/pytorch/vision/${{ github.event.pull_request.number }}
12 changes: 2 additions & 10 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
with:
repository: pytorch/vision
runner: ${{ matrix.runner }}
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
timeout: 120
script: |
set -euxo pipefail
Expand All @@ -38,14 +40,4 @@ jobs:
export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
# TODO: Port this to pytorch/test-infra/.github/workflows/windows_job.yml
export PATH="/c/Jenkins/Miniconda3/Scripts:${PATH}"
if [[ $GPU_ARCH_TYPE == 'cuda' ]]; then
# TODO: This should be handled by the generic Windows job the same as its done by the generic Linux job
export CUDA_HOME="/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v${{ matrix.gpu-arch-version }}"
export CUDA_PATH="${CUDA_HOME}"
export PATH="${CUDA_PATH}/bin:${PATH}"
fi
./.github/scripts/unittest.sh

0 comments on commit 66a3e4f

Please sign in to comment.