Skip to content

Commit

Permalink
Merge pull request #792 from rhatdan/keepalive
Browse files Browse the repository at this point in the history
Install llama.cpp for mac and nocontainer tests
  • Loading branch information
rhatdan authored Feb 12, 2025
2 parents c02cc6f + dabe4ae commit 5bf0e81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ jobs:
shell: bash
run: |
sudo apt-get update
sudo apt-get install podman bats bash codespell python3-argcomplete pipx
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
- name: Upgrade to podman 5
run: |
Expand Down Expand Up @@ -134,7 +140,7 @@ jobs:
- name: install golang
shell: bash
run: |
brew install go bats bash jq
brew install go bats bash jq llama.cpp
make install-requirements
- name: Run a one-line script
shell: bash
Expand Down
4 changes: 0 additions & 4 deletions test/system/030-run.bats
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ load helpers
}

@test "ramalama run --keepalive" {
# FIXME: the following skips can be removed, once we install llama-run on
# test systems.
skip_if_nocontainer
skip_if_darwin
run_ramalama 124 run --keepalive 1s tiny
}

Expand Down

0 comments on commit 5bf0e81

Please sign in to comment.