From: Slobodan Josic Date: Wed, 25 Feb 2026 14:54:49 +0000 (+0100) Subject: ci : update the ROCm/HIP toolchain versions [no ci] (#19891) X-Git-Tag: gguf-v0.18.0~20 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3af34b9ff5a0354bd249d94eab6b34fde9815108;p=pkg%2Fggml%2Fsources%2Fllama.cpp ci : update the ROCm/HIP toolchain versions [no ci] (#19891) * [HIP] Update ROCm build container to rocm/dev-ubuntu-22.04:7.2 and HIP_SDK to 26.Q1 * revert container version --------- Co-authored-by: Sigbjørn Skjæret --- diff --git a/.github/actions/windows-setup-rocm/action.yml b/.github/actions/windows-setup-rocm/action.yml index b83e6e295..fd9f8e5a4 100644 --- a/.github/actions/windows-setup-rocm/action.yml +++ b/.github/actions/windows-setup-rocm/action.yml @@ -11,5 +11,5 @@ runs: - name: Setup ROCm uses: ./.github/actions/install-exe with: - url: https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-${{ inputs.version }}-WinSvr2022-For-HIP.exe + url: https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-${{ inputs.version }}-Win11-For-HIP.exe args: -install diff --git a/.github/workflows/build-cache.yml b/.github/workflows/build-cache.yml index 3de0be9fa..18a651511 100644 --- a/.github/workflows/build-cache.yml +++ b/.github/workflows/build-cache.yml @@ -68,7 +68,7 @@ jobs: env: # Make sure this is in sync with build.yml - HIPSDK_INSTALLER_VERSION: "25.Q3" + HIPSDK_INSTALLER_VERSION: "26.Q1" steps: - name: Clone diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c7ab7114..30365a361 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1175,10 +1175,8 @@ jobs: runs-on: windows-2022 env: - # The ROCm version must correspond to the version used in the HIP SDK. - ROCM_VERSION: "6.4.2" # Make sure this is in sync with build-cache.yml - HIPSDK_INSTALLER_VERSION: "25.Q3" + HIPSDK_INSTALLER_VERSION: "26.Q1" steps: - name: Clone @@ -1188,7 +1186,7 @@ jobs: - name: Grab rocWMMA package id: grab_rocwmma run: | - curl -o rocwmma.deb "https://repo.radeon.com/rocm/apt/${{ env.ROCM_VERSION }}/pool/main/r/rocwmma-dev/rocwmma-dev_1.7.0.60402-120~24.04_amd64.deb" + curl -o rocwmma.deb "https://repo.radeon.com/rocm/apt/7.2/pool/main/r/rocwmma-dev/rocwmma-dev_2.2.0.70200-43~24.04_amd64.deb" 7z x rocwmma.deb 7z x data.tar @@ -1231,7 +1229,7 @@ jobs: cmake -G "Unix Makefiles" -B build -S . ` -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" ` -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" ` - -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/opt/rocm-${{ env.ROCM_VERSION }}/include/" ` + -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/opt/rocm-7.2.0/include/" ` -DCMAKE_BUILD_TYPE=Release ` -DLLAMA_BUILD_BORINGSSL=ON ` -DROCM_DIR="${env:HIP_PATH}" `