Skip to content

Update server builds to late llama.cpp(b2665) #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
description: "llama.cpp tag"
required: true
type: string
default: "b1775"
default: "b2665"
pre-release:
description: "use for pre-release server"
required: false
type: boolean
default: false
default: true

jobs:
build-cmake-linux:
Expand All @@ -28,19 +28,19 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install build-essential libcurl4-openssl-dev

- name: Build
run: |
mkdir build
cd build
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_STATIC=ON
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_STATIC=ON -DLLAMA_CURL=OFF
cmake --build . --config Release --parallel $(nproc)

- name: Test
run: |
cd build
ctest --verbose --timeout 900
ctest -L 'main' --verbose --timeout 900

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install build-essential libcurl4-openssl-dev

- name: Install cuda-toolkit
run: |
Expand All @@ -73,7 +73,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_CUBLAS=ON
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_CUBLAS=ON -DLLAMA_CURL=OFF
cmake --build . --config Release --parallel $(nproc)

- name: Upload Artifact
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Test
run: |
cd build
ctest -C Release --verbose --timeout 900
ctest -L 'main' -C Release --verbose --timeout 900

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
id: cmake_test
run: |
cd build
ctest --verbose --timeout 900
ctest -L 'main' --verbose --timeout 900

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down
Loading