From b0dd44051896f0a377a25cf9bd224beb740e9f3c Mon Sep 17 00:00:00 2001 From: Chen Peter Date: Wed, 28 Aug 2024 15:27:50 +0800 Subject: [PATCH] Update to requirements-convert_hf_to_gguf.txt Signed-off-by: Chen Peter --- .github/workflows/llama_cpp_plugin_build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llama_cpp_plugin_build_and_test.yml b/.github/workflows/llama_cpp_plugin_build_and_test.yml index ae239085d..f2b252d95 100644 --- a/.github/workflows/llama_cpp_plugin_build_and_test.yml +++ b/.github/workflows/llama_cpp_plugin_build_and_test.yml @@ -60,7 +60,7 @@ jobs: - name: Prepare test data - convert test model files run: | - pip install -r llama.cpp/requirements/requirements-convert-hf-to-gguf.txt + pip install -r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt huggingface-cli download gpt2 model.safetensors tokenizer.json tokenizer_config.json vocab.json config.json merges.txt --local-dir hf_gpt2 mkdir -p ${{ github.workspace }}/test_data python3 llama.cpp/convert-hf-to-gguf.py hf_gpt2 --outtype f32 --outfile ${{ github.workspace }}/test_data/gpt2.gguf