Skip to content

Commit

Permalink
Let llama.cpp automatically download Phi-3 Mini
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Jun 1, 2024
1 parent d35edaa commit 4821137
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/actions/prepare-llm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@ description: Download Phi-3 Mini and launch it
runs:
using: "composite"
steps:
- name: Download Phi-3 Mini
shell: bash
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
run: |
curl -OL https://github.com/ggerganov/llama.cpp/releases/download/b3065/llama-b3065-bin-ubuntu-x64.zip
unzip llama-b3065-bin-ubuntu-x64.zip
- name: Launch llama.cpp
- name: Launch llama.cpp with Phi-3 Mini
shell: bash
run: ./build/bin/server -m ./Phi-3-mini-4k-instruct-q4.gguf &
run: ./build/bin/server --hf-repo microsoft/Phi-3-mini-4k-instruct-gguf --hf-file Phi-3-mini-4k-instruct-q4.gguf &

- name: Wait until it is ready
shell: bash
Expand Down

0 comments on commit 4821137

Please sign in to comment.