8000 Merge pull request #536 from Isydmr/patch-2 · hackensun/llama-cpp-python@d89bf8c · GitHub
[go: up one dir, main page]

Skip to content

Commit d89bf8c

Browse files
authored
Merge pull request abetlen#536 from Isydmr/patch-2
Fix OpenBLAS Docker build
2 parents ffa8121 + 3e77eea commit d89bf8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/openblas_simple/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY . .
99
RUN apt update && apt install -y libopenblas-dev ninja-build build-essential
1010
RUN python -m pip install --upgrade pip pytest cmake scikit-build setuptools fastapi uvicorn sse-starlette pydantic-settings
1111

12-
RUN LLAMA_OPENBLAS=1 pip install llama_cpp_python --verbose
12+
RUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama_cpp_python --verbose
1313

1414
# Run the server
1515
CMD python3 -m llama_cpp.server

0 commit comments

Comments
 (0)
0