From: Sigbjørn Skjæret Date: Wed, 12 Aug 2026 13:41:43 +0000 (+0200) Subject: disable rocm cache (#26962) X-Git-Tag: upstream/0.0.10438~43 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7a9ff95979d0d9a2fa79962c52f0e929cc054a7c;p=pkg%2Fggml%2Fsources%2Fllama.cpp disable rocm cache (#26962) --- diff --git a/.github/workflows/build-cache.yml b/.github/workflows/build-cache.yml index e15fc5e08..2a1031728 100644 --- a/.github/workflows/build-cache.yml +++ b/.github/workflows/build-cache.yml @@ -119,27 +119,27 @@ jobs: version_major: ${{ env.OPENVINO_VERSION_MAJOR }} version_full: ${{ env.OPENVINO_VERSION_FULL }} - windows-2022-rocm-cache: - runs-on: windows-2022 - - env: - # Make sure this is in sync with release.yml and build-cuda-windows.yml - ROCM_VERSION: "7.14.0" - - steps: - - name: Clone - id: checkout - uses: actions/checkout@v6 - - - name: Setup Cache - uses: actions/cache@v5 - id: cache-rocm - with: - path: C:\TheRock\build - key: rocm-wheels-${{ env.ROCM_VERSION }}-multi-arch-${{ runner.os }} - - - name: Setup ROCm - if: steps.cache-rocm.outputs.cache-hit != 'true' - uses: ./.github/actions/windows-setup-rocm - with: - version: ${{ env.ROCM_VERSION }} + # windows-2022-rocm-cache: + # runs-on: windows-2022 + + # env: + # # Make sure this is in sync with release.yml and build-cuda-windows.yml + # ROCM_VERSION: "7.14.0" + + # steps: + # - name: Clone + # id: checkout + # uses: actions/checkout@v6 + + # - name: Setup Cache + # uses: actions/cache@v5 + # id: cache-rocm + # with: + # path: C:\TheRock\build + # key: rocm-wheels-${{ env.ROCM_VERSION }}-multi-arch-${{ runner.os }} + + # - name: Setup ROCm + # if: steps.cache-rocm.outputs.cache-hit != 'true' + # uses: ./.github/actions/windows-setup-rocm + # with: + # version: ${{ env.ROCM_VERSION }} diff --git a/.github/workflows/build-cuda-windows.yml b/.github/workflows/build-cuda-windows.yml index ff900802f..8b59f3975 100644 --- a/.github/workflows/build-cuda-windows.yml +++ b/.github/workflows/build-cuda-windows.yml @@ -97,15 +97,15 @@ jobs: id: checkout uses: actions/checkout@v6 - - name: Cache ROCm Installation - uses: actions/cache@v5 - id: cache-rocm - with: - path: C:\TheRock\build - key: rocm-wheels-${{ env.ROCM_VERSION }}-multi-arch-${{ runner.os }} + # - name: Cache ROCm Installation + # uses: actions/cache@v5 + # id: cache-rocm + # with: + # path: C:\TheRock\build + # key: rocm-wheels-${{ env.ROCM_VERSION }}-multi-arch-${{ runner.os }} - name: Setup ROCm - if: steps.cache-rocm.outputs.cache-hit != 'true' + # if: steps.cache-rocm.outputs.cache-hit != 'true' uses: ./.github/actions/windows-setup-rocm with: version: ${{ env.ROCM_VERSION }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af34c9499..ad0df09f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -774,15 +774,15 @@ jobs: key: windows-rocm-${{ matrix.ROCM_VERSION }}-${{ matrix.build }} evict-old-files: 1d - - name: Cache ROCm Installation - id: cache-rocm - uses: actions/cache@v5 - with: - path: C:\TheRock\build - key: rocm-wheels-${{ matrix.ROCM_VERSION }}-multi-arch-${{ runner.os }} + # - name: Cache ROCm Installation + # id: cache-rocm + # uses: actions/cache@v5 + # with: + # path: C:\TheRock\build + # key: rocm-wheels-${{ matrix.ROCM_VERSION }}-multi-arch-${{ runner.os }} - name: Setup ROCm - if: steps.cache-rocm.outputs.cache-hit != 'true' + # if: steps.cache-rocm.outputs.cache-hit != 'true' uses: ./.github/actions/windows-setup-rocm with: version: ${{ matrix.ROCM_VERSION }} @@ -1320,10 +1320,10 @@ jobs: with: tool-cache: true - - name: ccache - uses: ggml-org/ccache-action@v1.2.21 - with: - key: release-ubuntu-22.04-rocm-${{ matrix.ROCM_VERSION }} + # - name: ccache + # uses: ggml-org/ccache-action@v1.2.21 + # with: + # key: release-ubuntu-22.04-rocm-${{ matrix.ROCM_VERSION }} - name: Dependencies id: depends @@ -1379,10 +1379,10 @@ jobs: ${{ env.CMAKE_ARGS }} cmake --build build --config Release -j $(nproc) - - name: ccache-clear - uses: ./.github/actions/ccache-clear - with: - key: release-ubuntu-22.04-rocm-${{ matrix.ROCM_VERSION }} + # - name: ccache-clear + # uses: ./.github/actions/ccache-clear + # with: + # key: release-ubuntu-22.04-rocm-${{ matrix.ROCM_VERSION }} - name: Determine tag name id: tag