Skip to content

Commit

Permalink
[Tests] Migrate to AWS runners (#1185)
Browse files Browse the repository at this point in the history
* migrate single-gpu runners

* Update nightly.yml

* Update nightly.yml

---------

Co-authored-by: Guillaume LEGENDRE <[email protected]>
  • Loading branch information
younesbelkada and glegendre01 authored Nov 24, 2023
1 parent 19145bb commit b4faffe
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run_all_tests_single_gpu:
strategy:
fail-fast: false
runs-on: [self-hosted, docker-gpu, multi-gpu]
runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]
env:
CUDA_VISIBLE_DEVICES: "0"
TEST_TYPE: "single_gpu"
Expand All @@ -26,14 +26,12 @@ jobs:
options: --gpus all --shm-size "16gb" -e NVIDIA_DISABLE_REQUIRE=true
defaults:
run:
working-directory: peft/
shell: bash
steps:
- name: Update clone & pip install
- uses: actions/checkout@v3
- name: Pip install
run: |
source activate peft
git config --global --add safe.directory '*'
git fetch && git checkout ${{ github.sha }}
pip install -e . --no-deps
pip install pytest-reportlog
Expand Down Expand Up @@ -61,7 +59,7 @@ jobs:
run_all_tests_multi_gpu:
strategy:
fail-fast: false
runs-on: [self-hosted, docker-gpu, multi-gpu]
runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]
env:
CUDA_VISIBLE_DEVICES: "0,1"
TEST_TYPE: "multi_gpu"
Expand All @@ -70,14 +68,12 @@ jobs:
options: --gpus all --shm-size "16gb" -e NVIDIA_DISABLE_REQUIRE=true
defaults:
run:
working-directory: peft/
shell: bash
steps:
- name: Update clone
- uses: actions/checkout@v3
- name: Pip install
run: |
source activate peft
git config --global --add safe.directory '*'
git fetch && git checkout ${{ github.sha }}
pip install -e . --no-deps
pip install pytest-reportlog
Expand Down

0 comments on commit b4faffe

Please sign in to comment.