Skip to content

Commit

Permalink
Merge pull request #441 from containers/fix-vulkan-container-image-build
Browse files Browse the repository at this point in the history
Only do dnf install for cuda images
  • Loading branch information
rhatdan authored Nov 11, 2024
2 parents ba9be31 + 89236dc commit 76afd2d
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 76afd2d

Please sign in to comment.