Compare commits

...

6 Commits

Author SHA1 Message Date
amd-jmacaran
6a8fb4eb96 Update pipeline-debug.yml 2025-03-18 16:51:58 -04:00
amd-jmacaran
5606ad0bff Update pipeline-debug.yml 2025-03-18 16:49:26 -04:00
amd-jmacaran
44af78cd96 Update pipeline-debug.yml 2025-03-18 16:44:52 -04:00
amd-jmacaran
9766b613f4 Update pipeline-debug.yml 2025-03-18 16:43:02 -04:00
amd-jmacaran
53d631add4 Try adding approval gate 2025-03-18 16:34:30 -04:00
Joseph Macaranas
d1b97b48c9 Create pipeline-debug.yml 2025-03-18 16:30:03 -04:00

View File

@@ -0,0 +1,75 @@
parameters:
# ubuntu near-equivalent list of yum installs in https://github.com/ROCm/ROCm-docker/blob/master/dev/Dockerfile-centos-7-complete
# plus additional packages found through iterative testing of pipeline
- name: aptPackages
type: object
default:
- python3-dev
- python3-pip
- name: pipModules
type: object
default:
- tox
# list from https://github.com/pytorch/builder/blob/main/manywheel/build_rocm.sh
- name: rocmDependencies
type: object
default:
- rocm-cmake
- llvm-project
- ROCR-Runtime
- clr
- rocminfo
- rocprofiler-register
- rocm_smi_lib
- rocm-core
- aomp
- aomp-extras
- hipBLAS-common
- hipBLASLt
trigger: none
pr: none
jobs:
- deployment: pipeline_debug_approval # Deployment job (this is required for approval gates)
displayName: "Requires approval"
environment: rccl
- job: pipeline_debug_job
displayName: 'Pipeline Debug Deployment'
timeoutInMinutes: 120
variables:
- group: common
- template: /.azuredevops/variables-global.yml
- name: HIP_ROCCLR_HOME
value: $(Build.BinariesDirectory)/rocm
- name: TENSILE_ROCM_ASSEMBLER_PATH
value: $(Agent.BuildDirectory)/rocm/llvm/bin/clang
- name: CMAKE_CXX_COMPILER
value: $(Agent.BuildDirectory)/rocm/bin/hipcc
- name: TENSILE_ROCM_OFFLOAD_BUNDLER_PATH
value: $(Agent.BuildDirectory)/rocm/llvm/bin/clang-offload-bundler
pool:
vmImage: ${{ variables.BASE_BUILD_POOL }}
workspace:
clean: all
steps:
# Manual Approval Gate Before Continuing All Steps
- script: echo "Waiting for manual approval before continuing."
displayName: "Waiting for approval"
# After approval, the following steps will run
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
parameters:
aptPackages: ${{ parameters.aptPackages }}
pipModules: ${{ parameters.pipModules }}
- task: Bash@3
displayName: 'git clone Tensile'
inputs:
targetType: inline
script: git clone https://github.com/ROCm/Tensile --depth=1 --shallow-submodules
workingDirectory: $(Build.SourcesDirectory)
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aocl.yml
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
parameters:
dependencyList: ${{ parameters.rocmDependencies }}
gpuTarget: gfx942
dependencySource: staging