Skip to content

Commit

Permalink
Only do dnf install for cuda images
Browse files Browse the repository at this point in the history
Should fix container build for Vulkan images

Signed-off-by: Eric Curtin <[email protected]>
  • Loading branch information
ericcurtin committed Nov 11, 2024
1 parent 31ae27b commit 89236dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion container-images/scripts/build_llama_and_whisper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ dnf_install() {
"${rpm_list[@]}"
elif [ "$containerfile" = "rocm" ]; then
dnf install -y rocm-dev hipblas-devel rocblas-devel
else
elif [ "$containerfile" = "cuda" ]; then
dnf install -y "${rpm_list[@]}"
fi

# For Vulkan image, we don't need to install anything extra but rebuild with
# -DGGML_VULKAN
}

cmake_steps() {
Expand Down

0 comments on commit 89236dc

Please sign in to comment.