Skip to content

Commit 06f62ae

Browse files
[IntelNav] ci: install minimal HIP set, avoid rccl (needs kernel driver)
ROCm 6.4's `rccl` hard-depends on `libdrm-amdgpu-amdgpu1` and `libdrm2-amdgpu`, which only exist on hosts with the AMD GPU kernel driver installed. GH hosted runners have no GPU, so these aren't installable and apt fails the whole transaction. Replace `rocm-dev` + `rocm-libs` metas with the specific packages llama.cpp's HIP build needs: hipcc, hip-dev, hipblas-dev, rocblas-dev, plus supporting libs (comgr, hsa-rocr-dev, rocm-device-libs, rocm-llvm, rocminfo). No multi-GPU comms, so rccl isn't needed. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 3354ab6 commit 06f62ae

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/intelnav-release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,18 @@ jobs:
185185
printf 'Package: *\nPin: origin "repo.radeon.com"\nPin-Priority: 600\n' \
186186
| sudo tee /etc/apt/preferences.d/rocm-pin-600 >/dev/null
187187
188+
# Install a minimal HIP + BLAS set rather than the `rocm-dev`
189+
# / `rocm-libs` metas — those pull in `rccl`, which 6.4
190+
# hard-depends on AMD kernel driver libs (libdrm-amdgpu-*)
191+
# that don't exist on GH-hosted runners. Our build only
192+
# needs hipcc + HIP headers + hipBLAS + rocBLAS.
188193
sudo apt-get update
189194
sudo apt-get install -y --no-install-recommends \
190-
rocm-dev rocm-libs hipblas-dev rocblas-dev
195+
hipcc hip-dev rocm-cmake rocm-device-libs \
196+
hipblas-dev rocblas-dev comgr hsa-rocr-dev \
197+
rocminfo rocm-llvm
191198
echo "/opt/rocm/bin" >> $GITHUB_PATH
199+
echo "/opt/rocm/llvm/bin" >> $GITHUB_PATH
192200
193201
- uses: ggml-org/ccache-action@v1.2.21
194202
with:

0 commit comments

Comments
 (0)