Skip to content

Commit

Permalink
Disable horovod installation and tests for torch nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinxzhao committed Jul 14, 2023
1 parent 39510a3 commit 01a02f6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,12 @@ jobs:
run: |
RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=5400 pytest -v --timeout 300 --durations 100 -m "$MARKERS and not slow and not combinatorial and not horovod or benchmark and not llm" --junitxml pytest.xml tests/regression_tests
# Skip Horovod installation for torch nightly.
# https://github.com/ludwig-ai/ludwig/issues/3468
- name: Install Horovod if necessary
if: matrix.test-markers == 'distributed'
if: |
matrix.test-markers == 'distributed' &&
"$PYTORCH" != "nightly"
env:
HOROVOD_WITH_PYTORCH: 1
HOROVOD_WITHOUT_MPI: 1
Expand All @@ -174,8 +178,12 @@ jobs:
horovodrun --check-build
shell: bash

# Skip Horovod tests for torch nightly.
# https://github.com/ludwig-ai/ludwig/issues/3468
- name: Horovod Tests
if: matrix.test-markers == 'distributed'
if: |
matrix.test-markers == 'distributed' &&
"$PYTORCH" != "nightly"
run: |
RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=5400 pytest -v --timeout 300 --durations 100 -m "$MARKERS and horovod and not slow and not combinatorial and not llm" --junitxml pytest.xml tests/
Expand Down

0 comments on commit 01a02f6

Please sign in to comment.