From 01a02f63219736419c4518c5ddd7af081855ac6a Mon Sep 17 00:00:00 2001 From: Justin Zhao Date: Fri, 14 Jul 2023 05:16:15 +0000 Subject: [PATCH] Disable horovod installation and tests for torch nightly. --- .github/workflows/pytest.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 94e8ad43843..1a05a961aa4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 @@ -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/