Skip to content

Commit 0d985b7

Browse files
GHA: fixed llama.cpp paths (#948)
* GHA: fixed llama.cpp paths * Update .github/workflows/llama_cpp_plugin_build_and_test.yml
1 parent 7cc6c62 commit 0d985b7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/llama_cpp_plugin_build_and_test.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'modules/llama_cpp_plugin/**'
7+
- '.github/workflows/llama_cpp_plugin_build_and_test.yml'
78

89
permissions: read-all
910

@@ -58,12 +59,16 @@ jobs:
5859
repository: ggerganov/llama.cpp
5960
path: llama.cpp
6061

62+
- uses: actions/setup-python@v4
63+
with:
64+
python-version: '3.10'
65+
6166
- name: Prepare test data - convert test model files
6267
run: |
63-
pip install -r llama.cpp/requirements/requirements-convert-hf-to-gguf.txt
68+
python3 -m pip install -r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt
6469
huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2
6570
mkdir -p ${{ github.workspace }}/test_data
66-
python3 llama.cpp/convert-hf-to-gguf.py hf_gpt2 --outtype f32 --outfile ${{ github.workspace }}/test_data/gpt2.gguf
71+
python3 llama.cpp/convert_hf_to_gguf.py hf_gpt2 --outtype f32 --outfile ${{ github.workspace }}/test_data/gpt2.gguf
6772
6873
- name: Install libtbb2
6974
run: |

0 commit comments

Comments
 (0)