Skip to content

Commit

Permalink
Attempt to use build_llama_and_whisper.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Feb 12, 2025
1 parent 5bf0e81 commit afa088e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ jobs:
sudo apt-get update
sudo apt-get install podman bats bash codespell python3-argcomplete pipx git cmake
make install-requirements
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
git submodule update --init --recursive
cmake -B build -DGGML_NATIVE=OFF
cmake --build build --config Release
sudo cmake --install build
sudo ./container-images/scripts/build_llama_and_whisper.sh
- name: Upgrade to podman 5
run: |
Expand Down
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 @@ -125,7 +125,7 @@ main() {
local common_flags
configure_common_flags
common_flags+=("-DGGML_CCACHE=OFF" "-DCMAKE_INSTALL_PREFIX=$install_prefix")
dnf_install
command -v dnf && dnf_install
clone_and_build_whisper_cpp
common_flags+=("-DLLAMA_CURL=ON")
case "$containerfile" in
Expand All @@ -139,7 +139,7 @@ main() {
esac

clone_and_build_llama_cpp
dnf -y clean all
command -v dnf && dnf -y clean all
rm -rf /var/cache/*dnf* /opt/rocm-*/lib/*/library/*gfx9*
ldconfig # needed for libraries
}
Expand Down

0 comments on commit afa088e

Please sign in to comment.