Spaces:
Runtime error
Runtime error
specify a openblas llama cpp build
Browse files- packages.txt +4 -1
- postBuild +3 -0
- requirements.txt +1 -1
packages.txt
CHANGED
|
@@ -1 +1,4 @@
|
|
| 1 |
-
python3-opencv
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
python3-opencv
|
| 2 |
+
build-essential
|
| 3 |
+
cmake
|
| 4 |
+
libopenblas-dev
|
postBuild
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
requirements.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
gradio>=5.0
|
| 2 |
opencv-python
|
| 3 |
pillow
|
| 4 |
-
llama-cpp-python
|
| 5 |
huggingface-hub
|
| 6 |
termcolor
|
|
|
|
| 1 |
gradio>=5.0
|
| 2 |
opencv-python
|
| 3 |
pillow
|
| 4 |
+
# llama-cpp-python
|
| 5 |
huggingface-hub
|
| 6 |
termcolor
|