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

specify a openblas llama cpp build

Browse files
Files changed (3) hide show
  1. packages.txt +4 -1
  2. postBuild +3 -0
  3. 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