Skip to content

Commit

Permalink
Modify runs-on labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jakki-amd committed Dec 5, 2024
1 parent d12d701 commit 50f8279
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
ci-gpu:
runs-on:
- self-hosted
- ci-gpu
- ${{ matrix.gpu-type }}]
strategy:
matrix:
gpu-type: [ci-gpu-cuda, ci-gpu-rocm]
gpu-type: [cuda, rocm]
steps:
- name: Clean up previous run
run: |
Expand All @@ -47,11 +48,11 @@ jobs:
with:
submodules: recursive
- name: Install dependencies for CUDA
if: matrix.gpu-type == 'ci-gpu-cuda'
if: matrix.gpu-type == 'cuda'
run: |
python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
- name: Install dependencies for ROCm
if: matrix.gpu-type == 'ci-gpu-rocm'
if: matrix.gpu-type == 'rocm'
run: |
python ts_scripts/install_dependencies.py --environment=dev --rocm=rocm62
- name: Torchserve Sanity
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/kserve_gpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ jobs:
kserve-gpu-tests:
runs-on:
- self-hosted
- ${{ matrix.gpu-type }}]
- regression-test-gpu
- ${{ matrix.gpu-type }}
strategy:
matrix:
gpu-type: [regression-test-gpu-cuda, regression-test-gpu-rocm]
gpu-type: [cuda, rocm]
steps:
- name: Clean up previous run
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/regression_tests_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
# creates workflows on self hosted runner
runs-on:
- self-hosted
- regression-test-gpu
- ${{ matrix.gpu-type }}
strategy:
matrix:
gpu-type: [regression-test-gpu-cuda, regression-test-gpu-rocm]
gpu-type: [cuda, rocm]
steps:
- name: Clean up previous run
run: |
Expand Down Expand Up @@ -50,11 +51,11 @@ jobs:
with:
submodules: recursive
- name: Install dependencies for CUDA
if: matrix.gpu-type == 'regression-test-gpu-cuda'
if: matrix.gpu-type == 'cuda'
run: |
python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
- name: Install dependencies for ROCm
if: matrix.gpu-type == 'regression-test-gpu-rocm'
if: matrix.gpu-type == 'rocm'
run: |
python ts_scripts/install_dependencies.py --environment=dev --rocm=rocm62
- name: Torchserve Regression Tests
Expand Down

0 comments on commit 50f8279

Please sign in to comment.