9797 ctest -L 'main|curl' --verbose --timeout 900
9898
9999 macOS-latest-cmake-x64 :
100- runs-on : macos-13
100+ runs-on : macos-15-intel
101101
102102 steps :
103103 - name : Clone
@@ -207,7 +207,7 @@ jobs:
207207 - name : ccache
208208 uses : ggml-org/ccache-action@v1.2.16
209209 with :
210- key : ubuntu-cpu-cmake
210+ key : ubuntu-cpu-cmake-${{ matrix.build }}
211211 evict-old-files : 1d
212212
213213 - name : Build Dependencies
@@ -362,11 +362,11 @@ jobs:
362362 id : checkout
363363 uses : actions/checkout@v4
364364
365- - name : ccache
366- uses : ggml-org/ccache-action@v1.2.16
367- with :
368- key : ubuntu-latest-cmake-rpc
369- evict-old-files : 1d
365+ # - name: ccache
366+ # uses: ggml-org/ccache-action@v1.2.16
367+ # with:
368+ # key: ubuntu-latest-cmake-rpc
369+ # evict-old-files: 1d
370370
371371 - name : Dependencies
372372 id : depends
@@ -387,8 +387,9 @@ jobs:
387387 cd build
388388 ctest -L main --verbose
389389
390- ubuntu-22-cmake-vulkan :
391- runs-on : ubuntu-22.04
390+ ubuntu-24-cmake-vulkan :
391+ runs-on : ubuntu-24.04
392+ needs : build-cache
392393
393394 steps :
394395 - name : Clone
@@ -398,20 +399,24 @@ jobs:
398399 - name : ccache
399400 uses : ggml-org/ccache-action@v1.2.16
400401 with :
401- key : ubuntu-22 -cmake-vulkan
402+ key : ubuntu-24 -cmake-vulkan
402403 evict-old-files : 1d
403404
404405 - name : Dependencies
405406 id : depends
406407 run : |
407- wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
408- sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list https://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
408+ sudo add-apt-repository -y ppa:kisak/kisak-mesa
409409 sudo apt-get update -y
410- sudo apt-get install -y build-essential mesa-vulkan-drivers vulkan-sdk libcurl4-openssl-dev
410+ sudo apt-get install -y build-essential mesa-vulkan-drivers libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev libcurl4-openssl-dev
411+
412+ - name : Use Vulkan SDK Cache
413+ id : cache_vulkan_sdk
414+ uses : ./.github/actions/ubuntu-vulkan-cache
411415
412416 - name : Build
413417 id : cmake_build
414418 run : |
419+ source ./vulkan_sdk/setup-env.sh
415420 cmake -B build \
416421 -DGGML_VULKAN=ON
417422 cmake --build build --config Release -j $(nproc)
@@ -421,6 +426,7 @@ jobs:
421426 run : |
422427 cd build
423428 export GGML_VK_VISIBLE_DEVICES=0
429+ export GGML_VK_DISABLE_F16=1
424430 # This is using llvmpipe and runs slower than other backends
425431 ctest -L main --verbose --timeout 4200
426432
@@ -487,7 +493,7 @@ jobs:
487493 id : depends
488494 run : |
489495 sudo apt-get update
490- sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev libcurl4-openssl-dev
496+ sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev libcurl4-openssl-dev rocwmma-dev
491497
492498 - name : ccache
493499 uses : ggml-org/ccache-action@v1.2.16
@@ -1059,7 +1065,7 @@ jobs:
10591065 shell : bash
10601066
10611067 env :
1062- WINDOWS_BASEKIT_URL : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/7cd9bba0-7aab-4e30-b3ae-2221006a4a05 /intel-oneapi-base-toolkit -2025.1 .1.34_offline .exe
1068+ WINDOWS_BASEKIT_URL : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/24751ead-ddc5-4479-b9e6-f9fe2ff8b9f2 /intel-deep-learning-essentials -2025.2 .1.25_offline .exe
10631069 WINDOWS_DPCPP_MKL : intel.oneapi.win.cpp-dpcpp-common:intel.oneapi.win.mkl.devel:intel.oneapi.win.dnnl:intel.oneapi.win.tbb.devel
10641070 ONEAPI_ROOT : " C:/Program Files (x86)/Intel/oneAPI"
10651071 steps :
@@ -1097,38 +1103,16 @@ jobs:
10971103 id : checkout
10981104 uses : actions/checkout@v4
10991105
1100- - name : Clone rocWMMA repository
1101- id : clone_rocwmma
1106+ - name : Grab rocWMMA package
1107+ id : grab_rocwmma
11021108 run : |
1103- git clone https://github.com/rocm/rocwmma --branch rocm-${{ env.ROCM_VERSION }} --depth 1
1109+ 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"
1110+ 7z x rocwmma.deb
1111+ 7z x data.tar
11041112
1105- - name : Cache ROCm Installation
1113+ - name : Use ROCm Installation Cache
11061114 id : cache-rocm
1107- uses : actions/cache@v4
1108- with :
1109- path : C:\Program Files\AMD\ROCm
1110- key : rocm-${{ env.HIPSDK_INSTALLER_VERSION }}-${{ runner.os }}
1111-
1112- - name : Install ROCm
1113- if : steps.cache-rocm.outputs.cache-hit != 'true'
1114- id : depends
1115- run : |
1116- $ErrorActionPreference = "Stop"
1117- write-host "Downloading AMD HIP SDK Installer"
1118- Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-${{ env.HIPSDK_INSTALLER_VERSION }}-WinSvr2022-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
1119- write-host "Installing AMD HIP SDK"
1120- $proc = Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -PassThru
1121- $completed = $proc.WaitForExit(600000)
1122- if (-not $completed) {
1123- Write-Error "ROCm installation timed out after 10 minutes. Killing the process"
1124- $proc.Kill()
1125- exit 1
1126- }
1127- if ($proc.ExitCode -ne 0) {
1128- Write-Error "ROCm installation failed with exit code $($proc.ExitCode)"
1129- exit 1
1130- }
1131- write-host "Completed AMD HIP SDK installation"
1115+ uses : ./.github/actions/windows-rocm-cache
11321116
11331117 - name : Verify ROCm
11341118 id : verify
@@ -1161,8 +1145,9 @@ jobs:
11611145 cmake -G "Unix Makefiles" -B build -S . `
11621146 -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" `
11631147 -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" `
1164- -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/rocwmma/library /include/" `
1148+ -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/opt/rocm-${{ env.ROCM_VERSION }} /include/" `
11651149 -DCMAKE_BUILD_TYPE=Release `
1150+ -DROCM_DIR="${env:HIP_PATH}" `
11661151 -DGGML_HIP=ON `
11671152 -DGGML_HIP_ROCWMMA_FATTN=ON `
11681153 -DGGML_RPC=ON `
@@ -1222,11 +1207,12 @@ jobs:
12221207 - name : Clone
12231208 uses : actions/checkout@v4
12241209
1225- - name : ccache
1226- uses : ggml-org/ccache-action@v1.2.16
1227- with :
1228- key : android-build
1229- evict-old-files : 1d
1210+ # Disabled due to size (400MB) and always 0 cache hits
1211+ # - name: ccache
1212+ # uses: ggml-org/ccache-action@v1.2.16
1213+ # with:
1214+ # key: android-build
1215+ # evict-old-files: 1d
12301216
12311217 - name : Set up JDK
12321218 uses : actions/setup-java@v3
0 commit comments