Skip to content

Commit 46398d6

Browse files
author
John Doe
committed
fixing build
1 parent df22b13 commit 46398d6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-hipblas-rocm71.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
sudo apt update
106106
sudo apt install -y \
107107
rocm-dev \
108+
hip-dev \
108109
hipblas-dev \
109110
rocblas-dev \
110111
cmake \
@@ -168,10 +169,14 @@ jobs:
168169
-DCMAKE_PREFIX_PATH="/opt/rocm;/opt/rocm/lib/cmake" \
169170
-DGPU_TARGETS="${{ env.GPU_TARGET }}" \
170171
-DHIP_PLATFORM=amd \
172+
-DGGML_HIP=ON \
173+
-DGGML_CUDA=OFF \
171174
-Dhipblas_DIR="/opt/rocm/lib/cmake/hipblas" \
172175
-Drocblas_DIR="/opt/rocm/lib/cmake/rocblas" \
173176
-DHIP_ROOT_DIR="/opt/rocm" \
174177
-DHIP_PATH="/opt/rocm" \
178+
-DCMAKE_HIP_COMPILER="/opt/rocm/bin/hipcc" \
179+
-DCMAKE_HIP_ARCHITECTURES="${{ env.GPU_TARGET }}" \
175180
${{ env.SD_DEFINES }}
176181
177182
# Build with all available cores

0 commit comments

Comments
 (0)