File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,18 @@ jobs:
54
54
name : build_artifacts
55
55
path : binaries
56
56
57
- - name : Prepare test data
57
+ - name : Prepare test data - checkout llama.cpp repo
58
58
uses : actions/checkout@v3
59
59
with :
60
60
repository : ggerganov/llama.cpp
61
61
path : llama.cpp
62
- run : pip install llama.cpp/requirements/requirements-convert-hf-to-gguf.txt
63
- run : huggingface-cli huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2
64
- run : mkdir -p ${{ github.workspace }}/test_data
65
- run : python3 llama.cpp/convert-hf-to-gguf.py hf_gpt2 --outtype f32 --outfile ${{ github.workspace }}/test_data/gpt2.gguf
62
+
63
+ - name : Prepare test data - convert test model files
64
+ run : |
65
+ pip install llama.cpp/requirements/requirements-convert-hf-to-gguf.txt
66
+ huggingface-cli huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2
67
+ mkdir -p ${{ github.workspace }}/test_data
68
+ python3 llama.cpp/convert-hf-to-gguf.py hf_gpt2 --outtype f32 --outfile ${{ github.workspace }}/test_data/gpt2.gguf
66
69
67
70
- name : Run E2E tests
68
71
run : ${{ github.workspace }}/binaries/llama_cpp_e2e_tests
You can’t perform that action at this time.
0 commit comments