Skip to content

Commit

Permalink
Test on A10g
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Dec 13, 2024
1 parent 6f191e9 commit efc93b8
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/_linux-test-a10g.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: linux-test-a10g
on:
workflow_dispatch:
# Remove me upon land
pull_request:

jobs:
linux-test-a10g:
# Don't run on forked repos
if: github.repository_owner == 'pytorch'
runs-on: linux.g5.4xlarge.nvidia.gpu
timeout-minutes: 240
environment: docker-s3-upload
env:
CONDA_ENV: "pr-test-cuda"
TEST_CONFIG: "cuda"
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
steps:
- name: Checkout TorchBench
uses: actions/checkout@v3
- name: Setup SSH (Click me for login details)
uses: pytorch/test-infra/.github/actions/setup-ssh@main
with:
github-secret: ${{ secrets.GITHUB_TOKEN }}
- name: Install Conda
run: |
bash ./.ci/torchbench/install-conda.sh
- name: Install TorchBench
run: |
bash ./.ci/torchbench/install.sh
- name: Test TorchBench
run: |
bash ./.ci/torchbench/test.sh
- name: Clean up Conda env
if: always()
run: |
. ${HOME}/miniconda3/etc/profile.d/conda.sh
conda remove -n "${CONDA_ENV}" --all

0 comments on commit efc93b8

Please sign in to comment.