Fix `CMD` for `llama-cpu` variant

pull/24/head
Atinoda 10 months ago
parent 00340c0504
commit 79c7cf645e

@ -112,7 +112,7 @@ RUN apt-get install --no-install-recommends -y git python3-dev build-essential p
RUN unset TORCH_CUDA_ARCH_LIST LLAMA_CUBLAS
RUN pip uninstall -y llama_cpp_python_cuda llama-cpp-python && pip install llama-cpp-python --force-reinstall --upgrade
ENV EXTRA_LAUNCH_ARGS=""
CMD ["python3", "/app/server.py", "--monkey-patch"]
CMD ["python3", "/app/server.py", "--cpu"]
FROM base AS default
RUN echo "DEFAULT" >> /variant.txt

Loading…
Cancel
Save