Spaces:
Running
Running
Add executable postBuild hook
Browse files
postBuild
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
#!/usr/bin/env bash
|
2 |
set -euxo pipefail
|
3 |
|
4 |
-
echo "
|
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
|
|
|
1 |
#!/usr/bin/env bash
|
2 |
set -euxo pipefail
|
3 |
|
4 |
+
echo ">>> Running postBuild: force-building llama-cpp-python with OpenBLAS"
|
5 |
|
|
|
6 |
export CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS"
|
7 |
pip install --no-cache-dir --force-reinstall --no-binary llama-cpp-python llama-cpp-python
|