Skip to content

Commit 9154bb7

Browse files
committed
GHA: fixed llama.cpp paths
1 parent 17e75d0 commit 9154bb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/llama_cpp_plugin_build_and_test.yml

+4-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

@@ -60,10 +61,11 @@ jobs:
6061

6162
- name: Prepare test data - convert test model files
6263
run: |
63-
pip install -r llama.cpp/requirements/requirements-convert-hf-to-gguf.txt
64+
python3 -m pip install -U pip
65+
python3 -m pip install -r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt
6466
huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2
6567
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
68+
python3 llama.cpp/convert_hf_to_gguf.py hf_gpt2 --outtype f32 --outfile ${{ github.workspace }}/test_data/gpt2.gguf
6769
6870
- name: Install libtbb2
6971
run: |

0 commit comments

Comments
 (0)