Skip to content

Commit

Permalink
Build with curl support
Browse files Browse the repository at this point in the history
This allows the standalone container to download models

Signed-off-by: Pepijn de Vos <pepijndevos@gmail.com>
  • Loading branch information
pepijndevos committed Jan 16, 2025
1 parent f215f33 commit 92994ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container-images/scripts/build_llama_and_whisper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
dnf_install() {
local rpm_list=("python3" "python3-pip" "python3-argcomplete" \
"python3-dnf-plugin-versionlock" "gcc-c++" "cmake" "vim" \
"procps-ng" "git" "dnf-plugins-core")
"procps-ng" "git" "dnf-plugins-core" "libcurl-devel")
local vulkan_rpms=("vulkan-headers" "vulkan-loader-devel" "vulkan-tools" \
"spirv-tools" "glslc" "glslang")

Expand Down Expand Up @@ -55,7 +55,7 @@ set_install_prefix() {
}

configure_common_flags() {
common_flags=("-DGGML_NATIVE=OFF")
common_flags=("-DGGML_NATIVE=OFF" "-DLLAMA_CURL=ON")
case "$containerfile" in
rocm)
common_flags+=("-DGGML_HIPBLAS=1")
Expand Down

0 comments on commit 92994ab

Please sign in to comment.