Skip to content

Commit 5597978

Browse files
committed
Fix workflow
1 parent 393d39e commit 5597978

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/llama_cpp_plugin_build_and_test.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ jobs:
5959
with:
6060
repository: ggerganov/llama.cpp
6161
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+
run: |
63+
pip install llama.cpp/requirements/requirements-convert-hf-to-gguf.txt
64+
huggingface-cli huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2
65+
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
6667
6768
- name: Run E2E tests
6869
run: ${{ github.workspace }}/binaries/llama_cpp_e2e_tests

0 commit comments

Comments
 (0)