Skip to content

Commit

Permalink
Re-enable test_amd_w7900 CI job. (#17675)
Browse files Browse the repository at this point in the history
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 #17370
  • Loading branch information
ScottTodd committed Jun 17, 2024
1 parent 42ac742 commit eede9f2
Showing 1 changed file with 39 additions and 40 deletions.
79 changes: 39 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -921,7 +920,7 @@ jobs:
- test_nvidia_gpu
- test_nvidia_a100
- test_amd_mi250
# - test_amd_w7900
- test_amd_w7900

# Configurations
- build_test_runtime
Expand Down

0 comments on commit eede9f2

Please sign in to comment.