Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
younesbelkada committed Jan 12, 2024
1 parent 33ce5dc commit 976fd54
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/slow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ name: Slow tests (on push)
on:
push:
branches: [ add-slow-tests ]
paths:
# Run only when python files are modified
- "trl/**.py"
- "examples/**.py"
- "tests/**.py"
env:
RUN_SLOW: "yes"
IS_GITHUB_CI: "1"
Expand Down Expand Up @@ -36,14 +31,16 @@ jobs:
run: |
source activate trl
pip install -e . --no-deps
pip install pytest-reportlog
pip install pytest-reportlog parameterized
- name: Run common tests on single GPU
if: always()
run: |
source activate trl
make tests_common_gpu
- name: Run slow tests on single GPU
if: always()
run: |
source activate trl
make slow_tests_single_gpu
Expand Down Expand Up @@ -79,16 +76,19 @@ jobs:
pip install pytest-reportlog
- name: Run common tests on single GPU
if: always()
run: |
source activate trl
make tests_common_gpu
- name: Run slow tests on multi GPU
if: always()
run: |
source activate trl
make slow_tests_multi_gpu
- name: Run end-to-end SFT examples tests on multi GPU
if: always()
run: |
source activate trl
make run_sft_examples
Expand Down

0 comments on commit 976fd54

Please sign in to comment.