From 6d8fd0cf855d271c64746fda5d60cd37f2bfedcb Mon Sep 17 00:00:00 2001 From: Daniel Su Date: Wed, 4 Dec 2024 10:06:13 -0500 Subject: [PATCH] External CI: remove omniperf files again (#4096) --- .azuredevops/components/omniperf.yml | 166 -------------------------- .azuredevops/nightly/rocm-nightly.yml | 1 - .azuredevops/tag-builds/omniperf.yml | 29 ----- 3 files changed, 196 deletions(-) delete mode 100644 .azuredevops/components/omniperf.yml delete mode 100644 .azuredevops/tag-builds/omniperf.yml diff --git a/.azuredevops/components/omniperf.yml b/.azuredevops/components/omniperf.yml deleted file mode 100644 index 818d7ca0d..000000000 --- a/.azuredevops/components/omniperf.yml +++ /dev/null @@ -1,166 +0,0 @@ -parameters: -- name: checkoutRepo - type: string - default: 'self' -- name: checkoutRef - type: string - default: '' -- name: aptPackages - type: object - default: - - cmake - - python3-pip -- name: pipModules - type: object - default: - - astunparse==1.6.2 - - colorlover - - dash>=1.12.0 - - matplotlib - - numpy>=1.17.5 - - pandas>=1.4.3 - - pymongo - - pyyaml - - tabulate - - tqdm - - dash-svg - - dash-bootstrap-components - - kaleido - - setuptools - - plotille - - mock - - pytest - - pytest-cov - - pytest-xdist -- name: rocmDependencies - type: object - default: - - clr - - llvm-project - - rocm-cmake - - rocm-core - - rocminfo - - ROCR-Runtime - - rocprofiler - - rocprofiler-register - - roctracer - -jobs: -- job: omniperf - variables: - - group: common - - template: /.azuredevops/variables-global.yml - pool: - vmImage: ${{ variables.BASE_BUILD_POOL }} - workspace: - clean: all - strategy: - matrix: - gfx942: - JOB_GPU_TARGET: gfx942 - steps: - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml - parameters: - aptPackages: ${{ parameters.aptPackages }} - pipModules: ${{ parameters.pipModules }} - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml - parameters: - checkoutRepo: ${{ parameters.checkoutRepo }} - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml - parameters: - ${{ if eq(parameters.checkoutRef, '') }}: - dependencySource: staging - ${{ elseif ne(parameters.checkoutRef, '') }}: - dependencySource: tag-builds - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml - parameters: - dependencyList: ${{ parameters.rocmDependencies }} - gpuTarget: $(JOB_GPU_TARGET) - # CI case: download latest default branch build - ${{ if eq(parameters.checkoutRef, '') }}: - dependencySource: staging - # manual build case: triggered by ROCm/ROCm repo - ${{ elseif ne(parameters.checkoutRef, '') }}: - dependencySource: tag-builds - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml - parameters: - gpuTarget: $(JOB_GPU_TARGET) - -- job: omniperf_testing - dependsOn: omniperf - condition: and(succeeded(), eq(variables.ENABLE_GFX942_TESTS, 'true'), not(containsValue(split(variables.DISABLED_GFX942_TESTS, ','), variables['Build.DefinitionName']))) - variables: - - group: common - - template: /.azuredevops/variables-global.yml - - name: PYTHON_VERSION - value: 3.10 - pool: $(JOB_TEST_POOL) - workspace: - clean: all - strategy: - matrix: - gfx942: - JOB_GPU_TARGET: gfx942 - JOB_TEST_POOL: ${{ variables.GFX942_TEST_POOL }} - steps: - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml - parameters: - aptPackages: ${{ parameters.aptPackages }} - pipModules: ${{ parameters.pipModules }} - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml - parameters: - checkoutRepo: ${{ parameters.checkoutRepo }} - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml - parameters: - ${{ if eq(parameters.checkoutRef, '') }}: - dependencySource: staging - ${{ elseif ne(parameters.checkoutRef, '') }}: - dependencySource: tag-builds - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml - parameters: - dependencyList: ${{ parameters.rocmDependencies }} - gpuTarget: $(JOB_GPU_TARGET) - ${{ if eq(parameters.checkoutRef, '') }}: - dependencySource: staging - ${{ elseif ne(parameters.checkoutRef, '') }}: - dependencySource: tag-builds - - task: Bash@3 - displayName: Add ROCm binaries to PATH - inputs: - targetType: inline - script: echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/bin" - - task: Bash@3 - displayName: Add ROCm compilers to PATH - inputs: - targetType: inline - script: echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin" - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml - parameters: - extraBuildFlags: >- - -DCMAKE_HIP_ARCHITECTURES=$(JOB_GPU_TARGET) - -DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang - -DCMAKE_MODULE_PATH=$(Agent.BuildDirectory)/rocm/lib/cmake/hip - -DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm - -DCMAKE_BUILD_TYPE=Release - -DENABLE_TESTS=ON - -DINSTALL_TESTS=ON - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml - - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml - parameters: - componentName: omniperf - testDir: $(Build.BinariesDirectory)/libexec/omniperf - testExecutable: export OMNIPERF_ARCH_OVERRIDE="MI300X"; ctest - - task: Bash@3 - displayName: Remove ROCm binaries from PATH - inputs: - targetType: inline - script: echo "##vso[task.setvariable variable=PATH]$(echo $PATH | sed -e 's;:$(Agent.BuildDirectory)/rocm/bin;;' -e 's;^/;;' -e 's;/$;;')" - - task: Bash@3 - displayName: Remove ROCm compilers from PATH - inputs: - targetType: inline - script: echo "##vso[task.setvariable variable=PATH]$(echo $PATH | sed -e 's;:$(Agent.BuildDirectory)/rocm/llvm/bin;;' -e 's;^/;;' -e 's;/$;;')" diff --git a/.azuredevops/nightly/rocm-nightly.yml b/.azuredevops/nightly/rocm-nightly.yml index b2a76ec5e..04d2bc5cb 100644 --- a/.azuredevops/nightly/rocm-nightly.yml +++ b/.azuredevops/nightly/rocm-nightly.yml @@ -26,7 +26,6 @@ parameters: - llvm-project - MIOpen - MIVisionX - - omniperf - rccl - rdc - rocAL diff --git a/.azuredevops/tag-builds/omniperf.yml b/.azuredevops/tag-builds/omniperf.yml deleted file mode 100644 index a1a396103..000000000 --- a/.azuredevops/tag-builds/omniperf.yml +++ /dev/null @@ -1,29 +0,0 @@ -variables: -- group: common -- template: /.azuredevops/variables-global.yml - -parameters: -- name: checkoutRef - type: string - default: refs/tags/$(LATEST_RELEASE_TAG) - -resources: - repositories: - - repository: pipelines_repo - type: github - endpoint: ROCm - name: ROCm/ROCm - - repository: release_repo - type: github - endpoint: ROCm - name: ROCm/omniperf - ref: ${{ parameters.checkoutRef }} - -trigger: none -pr: none - -jobs: - - template: ${{ variables.CI_COMPONENT_PATH }}/omniperf.yml - parameters: - checkoutRepo: release_repo - checkoutRef: ${{ parameters.checkoutRef }}