Skip to content

Commit

Permalink
Build script workaround for llama-cpp-python error
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Mar 5, 2025
1 parent 4a1aa4d commit fa2f114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'])"
Expand Down

0 comments on commit fa2f114

Please sign in to comment.