From fa2f114dee7279d21ec50b80f6c3c393c801dbc5 Mon Sep 17 00:00:00 2001 From: davidmezzetti <561939+davidmezzetti@users.noreply.github.com> Date: Tue, 4 Mar 2025 21:34:39 -0500 Subject: [PATCH] Build script workaround for llama-cpp-python error --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bc14c87a..db22a95a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,12 +44,13 @@ jobs: run: | "PYTHONIOENCODING=utf-8" >> $env:GITHUB_ENV choco install wget + pip install -U wheel + pip install llama-cpp-python==0.3.2 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu if: matrix.os == 'windows-latest' - name: Build run: | pip install -U wheel - pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu pip install .[all,dev] pip cache purge python -c "import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])"