Skip to content
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

πŸ‘·β€β™‚οΈ llama.cpp web server is added to GitHub Actions workflows #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
10 changes: 8 additions & 2 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Development
on:
pull_request:
branches:
- '**'
- "**"

jobs:
unit-tests:
Expand All @@ -25,13 +25,19 @@ jobs:
run: tox -e test-unit -- -m "smoke or sanity"

integration-tests:
runs-on: ubuntu-latest
runs-on: macos-latest
strategy:
matrix:
python:
- "3.12"
- "3.8"
steps:
- name: Setup llama.cpp web server
uses: neuralmagic/nm-actions/actions/llama-cpp@main
with:
port: 8080
model: "aminkhalafi/Phi-3-mini-4k-instruct-Q4_K_M-GGUF"
context-size: 2048
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
- "3.9"
- "3.8"
steps:
- name: Setup llama.cpp web server
uses: neuralmagic/nm-actions/actions/llama-cpp@main
with:
port: 8080
model: "aminkhalafi/Phi-3-mini-4k-instruct-Q4_K_M-GGUF"
context-size: 2048
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: tox -e test-unit -- --cov-report=term-missing --cov --cov-fail-under=75

integration-tests:
runs-on: ubuntu-latest
runs-on: macos-latest
strategy:
matrix:
python:
Expand All @@ -38,6 +38,12 @@ jobs:
- "3.9"
- "3.8"
steps:
- name: Setup llama.cpp web server
uses: neuralmagic/nm-actions/actions/llama-cpp@main
with:
port: 8080
model: "aminkhalafi/Phi-3-mini-4k-instruct-Q4_K_M-GGUF"
context-size: 2048
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
Loading