Skip to content

Commit

Permalink
CI: Use LLama-3.2 1B model
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Oct 10, 2024
1 parent cb60164 commit 59f914c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/actions/prepare-llm/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Prepare Phi-3.5 Mini
description: Download Phi-3.5 Mini and launch it
name: Prepare Small LLM
description: Download small LLM and launch it
runs:
using: composite
steps:
Expand All @@ -9,9 +9,9 @@ runs:
curl -OL https://github.com/ggerganov/llama.cpp/releases/download/b3614/llama-b3614-bin-ubuntu-x64.zip
unzip llama-b3614-bin-ubuntu-x64.zip
- name: Launch llama.cpp with Phi-3.5 Mini
- name: Launch llama.cpp
shell: bash
run: ./build/bin/llama-server -c 8192 --hf-repo bartowski/Phi-3.5-mini-instruct-GGUF --hf-file Phi-3.5-mini-instruct-Q4_K_M.gguf &
run: ./build/bin/llama-server -c 4096 --hf-repo lmstudio-community/Llama-3.2-1B-Instruct-GGUF --hf-file Llama-3.2-1B-Instruct-Q4_K_M.gguf &

- name: Wait until it is ready
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-babashka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- run: bb --version

- name: Prepare LLM (Phi-3 Mini)
- name: Prepare LLM
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-bun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- run: bun --version

- name: Prepare LLM (Phi-3 Mini)
- name: Prepare LLM
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- run: python3 --version

- name: Prepare LLM (Phi-3 Mini)
- name: Prepare LLM
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- run: go version

- name: Prepare LLM (Phi-3 Mini)
- name: Prepare LLM
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- run: node --version

- name: Prepare LLM (Phi-3 Mini)
- name: Prepare LLM
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-pypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- run: pypy3 --version

- name: Prepare LLM (Phi-3 Mini)
- name: Prepare LLM
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down

0 comments on commit 59f914c

Please sign in to comment.