diff --git a/.azuredevops/components/AMDMIGraphX.yml b/.azuredevops/components/AMDMIGraphX.yml new file mode 100644 index 000000000..f2181d1d7 --- /dev/null +++ b/.azuredevops/components/AMDMIGraphX.yml @@ -0,0 +1,107 @@ +parameters: +- name: checkoutRepo + type: string + default: 'self' +- name: checkoutRef + type: string + default: '' +- name: aptPackages + type: object + default: + - git + - cmake + - ninja-build + - libnuma-dev + - miopen-hip-dev + - openmp-extras + - python3-venv + - rocblas-dev + - libtbb-dev + - nlohmann-json3-dev + - libmsgpack-dev + - libsqlite3-dev + - libprotobuf-dev + - protobuf-compiler + - python3-pybind11 + - composablekernel-dev +- name: pipModules + type: object + default: + - https://github.com/RadeonOpenCompute/rbuild/archive/master.tar.gz + - onnx==1.14.1 + - numpy==1.21.6 + - typing==3.7.4 + - pytest==6.0.1 + - packaging==23.0 + - protobuf==3.20.2 + +jobs: +- job: AMDMIGraphX + variables: + - group: common + - template: /.azuredevops/variables-global.yml + pool: ${{ variables.CLOUD_BUILD_POOL }} + container: + image: ${{ variables.DOCKER_IMAGE_NAME }}:${{ variables.LATEST_DOCKER_VERSION }} + workspace: + clean: all + steps: + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies.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 }} +# CI case: download latest default branch build + - ${{ if eq(parameters.checkoutRef, '') }}: + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-download.yml + parameters: + componentName: rocm-cmake + branchName: develop + pipelineId: $(rocm-cmake-pipeline-id) + testFailuresOkay: true + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-download.yml + parameters: + componentName: half + branchName: master + pipelineId: $(half-pipeline-id) + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-download.yml + parameters: + componentName: rocmlir + branchName: develop + pipelineId: $(rocmlir-pipeline-id) +# manual build case: triggered by ROCm/ROCm repo + - ${{ if ne(parameters.checkoutRef, '') }}: + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-download.yml + parameters: + componentName: \tag-builds\rocm-cmake + pipelineId: $(rocm-cmake-tagged-pipeline-id) + testFailuresOkay: true + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-download.yml + parameters: + componentName: \tag-builds\half + pipelineId: $(half-tagged-pipeline-id) + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-download.yml + parameters: + componentName: \tag-builds\rocmlir + pipelineId: $(rocmlir-tagged-pipeline-id) + - script: 'ls -1R /opt/rocm' + displayName: 'Artifact listing' + - script: 'ls -1R $(Agent.BuildDirectory)/rocm' + displayName: 'Artifact listing' + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml + parameters: + extraBuildFlags: >- + -DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ + -DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/clang + -DCMAKE_BUILD_TYPE=Release + -DAMDGPU_TARGETS=gfx1100 + -DCMAKE_PREFIX_PATH="$(Agent.BuildDirectory)/rocm;/opt/rocm/llvm;opt/rocm" + -DHALF_INCLUDE_DIR="$(Agent.BuildDirectory)/rocm/include" + -DMIGRAPHX_USE_COMPOSABLEKERNEL=OFF + -DBUILD_TESTING=OFF + -GNinja +# REFERENCE: https://github.com/ROCm/composable_kernel/issues/782 + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml diff --git a/.azuredevops/components/hipfort.yml b/.azuredevops/components/hipfort.yml new file mode 100644 index 000000000..7beb89e31 --- /dev/null +++ b/.azuredevops/components/hipfort.yml @@ -0,0 +1,36 @@ +parameters: +- name: checkoutRepo + type: string + default: 'self' +- name: checkoutRef + type: string + default: '' +- name: aptPackages + type: object + default: + - gfortran + - git + - cmake + +jobs: +- job: hipfort + variables: + - group: common + - template: /.azuredevops/variables-global.yml + pool: + vmImage: ${{ variables.LOW_END_BUILD_POOL }} + workspace: + clean: all + steps: + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies.yml + parameters: + aptPackages: ${{ parameters.aptPackages }} + - 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/build-cmake.yml + parameters: + extraBuildFlags: >- + -DHIPFORT_INSTALL_DIR=/tmp/hipfort .. + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml diff --git a/.azuredevops/components/rocSOLVER.yml b/.azuredevops/components/rocSOLVER.yml new file mode 100644 index 000000000..8f23371c6 --- /dev/null +++ b/.azuredevops/components/rocSOLVER.yml @@ -0,0 +1,49 @@ +parameters: +- name: checkoutRepo + type: string + default: 'self' +- name: checkoutRef + type: string + default: '' +- name: aptPackages + type: object + default: + - cmake + - ninja-build + - rocblas + - rocsparse + - hipsparse + - rocsolver + - libsuitesparse-dev + - gfortran + - libfmt-dev + - git + +jobs: +- job: rocSOLVER + variables: + - group: common + - template: /.azuredevops/variables-global.yml + pool: ${{ variables.CLOUD_BUILD_POOL }} + container: + image: ${{ variables.DOCKER_IMAGE_NAME }}:${{ variables.LATEST_DOCKER_VERSION }} + workspace: + clean: all + steps: + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies.yml + parameters: + aptPackages: ${{ parameters.aptPackages }} + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml + parameters: + checkoutRepo: ${{ parameters.checkoutRepo }} + - script: pwd && ls + - script: mkdir build + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml + parameters: + extraBuildFlags: >- + -DCMAKE_PREFIX_PATH="/opt/rocm;$(Pipeline.Workspace)/deps-install" + -DCMAKE_CXX_COMPILER=hipcc + -DUSE_CUDA=OFF + -GNinja + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml diff --git a/.azuredevops/components/rocWMMA.yml b/.azuredevops/components/rocWMMA.yml new file mode 100644 index 000000000..cd779e24a --- /dev/null +++ b/.azuredevops/components/rocWMMA.yml @@ -0,0 +1,44 @@ +parameters: +- name: checkoutRepo + type: string + default: 'self' +- name: checkoutRef + type: string + default: '' +- name: aptPackages + type: object + default: + - cmake + - ninja-build + - libboost-program-options-dev + - libgtest-dev + - googletest + - libfftw3-dev + - git + - rocblas + +jobs: +- job: rocWMMA + variables: + - group: common + - template: /.azuredevops/variables-global.yml + pool: ${{ variables.CLOUD_BUILD_POOL }} + container: + image: ${{ variables.DOCKER_IMAGE_NAME }}:${{ variables.LATEST_DOCKER_VERSION }} + workspace: + clean: all + steps: + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies.yml + parameters: + aptPackages: ${{ parameters.aptPackages }} + - 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/build-cmake.yml + parameters: + extraBuildFlags: >- + -DCMAKE_CXX_COMPILER=hipcc + -DCMAKE_BUILD_TYPE=Release + -GNinja + - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml diff --git a/.azuredevops/tag-builds/AMDMIGraphX.yml b/.azuredevops/tag-builds/AMDMIGraphX.yml new file mode 100644 index 000000000..688b22acb --- /dev/null +++ b/.azuredevops/tag-builds/AMDMIGraphX.yml @@ -0,0 +1,29 @@ +variables: +- group: common +- template: /.azuredevops/variables-global.yml@pipelines_repo + +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/AMDMIGraphX + ref: ${{ parameters.checkoutRef }} + +trigger: none +pr: none + +jobs: + - template: ${{ variables.CI_COMPONENT_PATH }}/AMDMIGraphX.yml@pipelines_repo + parameters: + checkoutRepo: release_repo + checkoutRef: ${{ parameters.checkoutRef }} diff --git a/.azuredevops/tag-builds/hipfort.yml b/.azuredevops/tag-builds/hipfort.yml new file mode 100644 index 000000000..f01dcc119 --- /dev/null +++ b/.azuredevops/tag-builds/hipfort.yml @@ -0,0 +1,29 @@ +variables: +- group: common +- template: /.azuredevops/variables-global.yml@pipelines_repo + +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/hipfort + ref: ${{ parameters.checkoutRef }} + +trigger: none +pr: none + +jobs: + - template: ${{ variables.CI_COMPONENT_PATH }}/hipfort.yml@pipelines_repo + parameters: + checkoutRepo: release_repo + checkoutRef: ${{ parameters.checkoutRef }} diff --git a/.azuredevops/tag-builds/rocSOLVER.yml b/.azuredevops/tag-builds/rocSOLVER.yml new file mode 100644 index 000000000..7c4580055 --- /dev/null +++ b/.azuredevops/tag-builds/rocSOLVER.yml @@ -0,0 +1,29 @@ +variables: +- group: common +- template: /.azuredevops/variables-global.yml@pipelines_repo + +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/rocSOLVER + ref: ${{ parameters.checkoutRef }} + +trigger: none +pr: none + +jobs: + - template: ${{ variables.CI_COMPONENT_PATH }}/rocSOLVER.yml@pipelines_repo + parameters: + checkoutRepo: release_repo + checkoutRef: ${{ parameters.checkoutRef }} diff --git a/.azuredevops/tag-builds/rocWMMA.yml b/.azuredevops/tag-builds/rocWMMA.yml new file mode 100644 index 000000000..0a8bfb0f2 --- /dev/null +++ b/.azuredevops/tag-builds/rocWMMA.yml @@ -0,0 +1,29 @@ +variables: +- group: common +- template: /.azuredevops/variables-global.yml@pipelines_repo + +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/rocWMMA + ref: ${{ parameters.checkoutRef }} + +trigger: none +pr: none + +jobs: + - template: ${{ variables.CI_COMPONENT_PATH }}/rocWMMA.yml@pipelines_repo + parameters: + checkoutRepo: release_repo + checkoutRef: ${{ parameters.checkoutRef }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f7995dea..f4f8bb9c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ ROCm™ 6.1.1 introduces minor fixes and improvements to some tools and librarie ### OS support -ROCm 6.1.1 has been tested against a pre-release version of Ubuntu 22.04.5 (kernel 6.8). +ROCm 6.1.1 has been tested against a pre-release version of Ubuntu 22.04.5 (kernel: 5.15 [GA], 6.8 [HWE]). ### AMD SMI @@ -82,7 +82,7 @@ ROCm SMI for ROCm 6.1.1 ##### Known issues -* ROCm SMI reports GPU utilization incorrectly for RDNA3 GPUs in some situations. +* ROCm SMI reports GPU utilization incorrectly for RDNA3 GPUs in some situations. See the issue on [GitHub](https://github.com/ROCm/ROCm/issues/3112). ### Library changes in ROCm 6.1.1 @@ -4259,9 +4259,9 @@ MIGraphX 2.5 for ROCm 5.5.0 ##### Added - Y-Model feature to store tuning information with the optimized model -- Added Python 3.10 bindings +- Added Python 3.10 bindings - Accuracy checker tool based on ONNX Runtime -- ONNX Operators parse_split, and Trilu +- ONNX Operators parse_split, and Trilu - Build support for ROCm MLIR - Added migraphx-driver flag to print optimizations in python (--python) - Added JIT implementation of the Gather and Pad operator which results in better handling of larger tensor sizes. @@ -4275,7 +4275,7 @@ MIGraphX 2.5 for ROCm 5.5.0 ##### Fixed -- Improved parsing Tensorflow Protobuf files +- Improved parsing Tensorflow Protobuf files - Resolved various accuracy issues with some onnx models - Resolved a gcc-12 issue with mivisionx - Improved support for larger sized models and batches diff --git a/RELEASE.md b/RELEASE.md index b4ac827e7..407fd5137 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -13,7 +13,7 @@ ROCm™ 6.1.1 introduces minor fixes and improvements to some tools and librarie ## OS support -ROCm 6.1.1 has been tested against a pre-release version of Ubuntu 22.04.5 (kernel 6.8). +ROCm 6.1.1 has been tested against a pre-release version of Ubuntu 22.04.5 (kernel: 5.15 [GA], 6.8 [HWE]). ## AMD SMI @@ -74,7 +74,7 @@ ROCm SMI for ROCm 6.1.1 ### Known issues -- ROCm SMI reports GPU utilization incorrectly for RDNA3 GPUs in some situations. +- ROCm SMI reports GPU utilization incorrectly for RDNA3 GPUs in some situations. See the issue on [GitHub](https://github.com/ROCm/ROCm/issues/3112). ## Library changes in ROCm 6.1.1 diff --git a/tools/autotag/templates/rocm_changes/6.1.1.md b/tools/autotag/templates/rocm_changes/6.1.1.md index a67ac7bfd..e9a2e663f 100644 --- a/tools/autotag/templates/rocm_changes/6.1.1.md +++ b/tools/autotag/templates/rocm_changes/6.1.1.md @@ -3,7 +3,7 @@ ROCm™ 6.1.1 introduces minor fixes and improvements to some tools and librarie ### OS support -ROCm 6.1.1 has been tested against a pre-release version of Ubuntu 22.04.5 (kernel 6.8). +ROCm 6.1.1 has been tested against a pre-release version of Ubuntu 22.04.5 (kernel: 5.15 [GA], 6.8 [HWE]). ### AMD SMI @@ -64,4 +64,4 @@ ROCm SMI for ROCm 6.1.1 #### Known issues -* ROCm SMI reports GPU utilization incorrectly for RDNA3 GPUs in some situations. +* ROCm SMI reports GPU utilization incorrectly for RDNA3 GPUs in some situations. See the issue on [GitHub](https://github.com/ROCm/ROCm/issues/3112). \ No newline at end of file