Support openblas

This commit is contained in:
Niek van der Maas 2023-04-15 20:24:46 +02:00
parent 9ce8146231
commit 59b37bbbd2

View file

@ -4,7 +4,7 @@ FROM python:3-buster
ENV HOST 0.0.0.0 ENV HOST 0.0.0.0
# Install the package # Install the package
RUN pip install llama-cpp-python[server] RUN apt update && apt install -y libopenblas-dev && LLAMA_OPENBLAS=1 pip install llama-cpp-python[server]
# Run the server # Run the server
CMD python3 -m llama_cpp.server CMD python3 -m llama_cpp.server