File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 paths :
66 - ' modules/llama_cpp_plugin/**'
7+ - ' .github/workflows/llama_cpp_plugin_build_and_test.yml'
78
89permissions : 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 : |
You can’t perform that action at this time.
0 commit comments