File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
paths :
6
6
- ' modules/llama_cpp_plugin/**'
7
+ - ' .github/workflows/llama_cpp_plugin_build_and_test.yml'
7
8
8
9
permissions : read-all
9
10
@@ -58,12 +59,16 @@ jobs:
58
59
repository : ggerganov/llama.cpp
59
60
path : llama.cpp
60
61
62
+ - uses : actions/setup-python@v4
63
+ with :
64
+ python-version : ' 3.10'
65
+
61
66
- name : Prepare test data - convert test model files
62
67
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
64
69
huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2
65
70
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
67
72
68
73
- name : Install libtbb2
69
74
run : |
You can’t perform that action at this time.
0 commit comments