Luigi commited on
Commit
5867880
·
1 Parent(s): 02e777b

debug: force source build of llama-cpp-python

Browse files
Files changed (1) hide show
  1. postBuild +6 -1
postBuild CHANGED
@@ -1,3 +1,8 @@
1
  #!/usr/bin/env bash
 
 
 
 
 
2
  export CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS"
3
- pip install --no-cache-dir llama-cpp-python
 
1
  #!/usr/bin/env bash
2
+ set -euxo pipefail
3
+
4
+ echo ">> packages.txt and requirements.txt have been installed; now building llama-cpp-python from source"
5
+
6
+ # Make extra sure we don’t accidentally pick up a prebuilt wheel:
7
  export CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS"
8
+ pip install --no-cache-dir --force-reinstall --no-binary llama-cpp-python llama-cpp-python