Skip to content

Commit

Permalink
CI: Use Phi-3 Mini
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Apr 28, 2024
1 parent a4e5bc7 commit b86baea
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/actions/prepare-llm/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Prepare TinyLlama
description: Download TinyLlama and launch it
name: Prepare Phi-3 Mini
description: Download Phi-3 Mini and launch it
runs:
using: "composite"
steps:
- name: Download TinyLlama model
- name: Download Phi-3 Mini
shell: bash
run: curl -OL https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf
run: curl -OL https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-gguf/resolve/main/Phi-3-mini-4k-instruct-q4.gguf

- name: Download and unpack llama.cpp
shell: bash
Expand All @@ -15,7 +15,7 @@ runs:
- name: Launch llama.cpp
shell: bash
run: ./build/bin/server -m ./tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf &
run: ./build/bin/server -m ./Phi-3-mini-4k-instruct-q4.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 (TinyLlama)
- name: Prepare LLM (Phi-3 Mini)
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 (TinyLlama)
- name: Prepare LLM (Phi-3 Mini)
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 @@ -13,7 +13,7 @@ jobs:
with:
python-version: '3.10'

- name: Prepare LLM (TinyLlama)
- name: Prepare LLM (Phi-3 Mini)
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 (TinyLlama)
- name: Prepare LLM (Phi-3 Mini)
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 @@ -13,7 +13,7 @@ jobs:
with:
node-version: '18'

- name: Prepare LLM (TinyLlama)
- name: Prepare LLM (Phi-3 Mini)
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 (TinyLlama)
- name: Prepare LLM (Phi-3 Mini)
uses: ./.github/actions/prepare-llm
timeout-minutes: 3

Expand Down

0 comments on commit b86baea

Please sign in to comment.