From eede9f26b2e5a593eebe4362cd0de389dc01d8af Mon Sep 17 00:00:00 2001 From: Scott Todd Date: Mon, 17 Jun 2024 09:24:25 -0700 Subject: [PATCH] Re-enable test_amd_w7900 CI job. (#17675) This job was disabled due to runner issues and then test failures. The runners have been more stable and the tests have (hopefully) been fixed. Fixes https://github.com/iree-org/iree/issues/17370 --- .github/workflows/ci.yml | 79 ++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5da4ac1c799e..414eaed4fb85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -429,45 +429,44 @@ jobs: run: | ./build_tools/cmake/ctest_all.sh ${BUILD_DIR} - # TODO(saienduri): re-enable when iree/hal/drivers/hip/dynamic_symbols_test is fixed - # test_amd_w7900: - # needs: [setup, build_all] - # if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'test_amd_w7900') - # env: - # BUILD_DIR: build-tests - # INSTALL_DIR: ${{ needs.build_all.outputs.install-dir }} - # INSTALL_DIR_ARCHIVE: ${{ needs.build_all.outputs.install-dir-archive }} - # INSTALL_DIR_GCS_URL: ${{ needs.build_all.outputs.install-dir-gcs-url }} - # IREE_CPU_DISABLE: 1 - # IREE_VULKAN_DISABLE: 0 - # IREE_CUDA_DISABLE: 1 - # IREE_HIP_DISABLE: 0 - # IREE_HIP_TEST_TARGET_CHIP: "gfx1100" - # runs-on: nodai-amdgpu-w7900-x86-64 - # steps: - # - name: "Checking out repository" - # uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - # - name: "Checking out runtime submodules" - # run: ./build_tools/scripts/git/update_runtime_submodules.sh - # - name: "Downloading install dir archive" - # run: wget "${INSTALL_DIR_GCS_URL}" -O "${INSTALL_DIR_ARCHIVE}" - # - name: "Extracting install directory" - # run: tar -xf "${INSTALL_DIR_ARCHIVE}" - # - name: "Building tests" - # run: | - # ./build_tools/pkgci/build_tests_using_package.sh ${INSTALL_DIR} - # - name: "Running GPU tests" - # env: - # IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=vulkan$|^driver=hip$ - # IREE_AMD_RDNA3_TESTS_DISABLE: 0 - # IREE_NVIDIA_GPU_TESTS_DISABLE: 0 - # IREE_NVIDIA_SM80_TESTS_DISABLE: 1 - # IREE_MULTI_DEVICE_TESTS_DISABLE: 0 - # IREE_CUDA_DISABLE: 1 - # IREE_CPU_DISABLE: 1 - # IREE_HIP_DISABLE: 0 - # run: | - # ./build_tools/cmake/ctest_all.sh ${BUILD_DIR} + test_amd_w7900: + needs: [setup, build_all] + if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'test_amd_w7900') + env: + BUILD_DIR: build-tests + INSTALL_DIR: ${{ needs.build_all.outputs.install-dir }} + INSTALL_DIR_ARCHIVE: ${{ needs.build_all.outputs.install-dir-archive }} + INSTALL_DIR_GCS_URL: ${{ needs.build_all.outputs.install-dir-gcs-url }} + IREE_CPU_DISABLE: 1 + IREE_VULKAN_DISABLE: 0 + IREE_CUDA_DISABLE: 1 + IREE_HIP_DISABLE: 0 + IREE_HIP_TEST_TARGET_CHIP: "gfx1100" + runs-on: nodai-amdgpu-w7900-x86-64 + steps: + - name: "Checking out repository" + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + - name: "Checking out runtime submodules" + run: ./build_tools/scripts/git/update_runtime_submodules.sh + - name: "Downloading install dir archive" + run: wget "${INSTALL_DIR_GCS_URL}" -O "${INSTALL_DIR_ARCHIVE}" + - name: "Extracting install directory" + run: tar -xf "${INSTALL_DIR_ARCHIVE}" + - name: "Building tests" + run: | + ./build_tools/pkgci/build_tests_using_package.sh ${INSTALL_DIR} + - name: "Running GPU tests" + env: + IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=vulkan$|^driver=hip$ + IREE_AMD_RDNA3_TESTS_DISABLE: 0 + IREE_NVIDIA_GPU_TESTS_DISABLE: 0 + IREE_NVIDIA_SM80_TESTS_DISABLE: 1 + IREE_MULTI_DEVICE_TESTS_DISABLE: 0 + IREE_CUDA_DISABLE: 1 + IREE_CPU_DISABLE: 1 + IREE_HIP_DISABLE: 0 + run: | + ./build_tools/cmake/ctest_all.sh ${BUILD_DIR} ############################### Configurations ############################### # Jobs that build IREE in some non-default configuration @@ -921,7 +920,7 @@ jobs: - test_nvidia_gpu - test_nvidia_a100 - test_amd_mi250 - # - test_amd_w7900 + - test_amd_w7900 # Configurations - build_test_runtime