Update Dockerfile to support Mixtral (#2027)

This commit is contained in:
Simon Mo 2023-12-11 11:59:08 -08:00 committed by GitHub
parent 4dd4b5c538
commit eb17212858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,9 +73,9 @@ ENTRYPOINT ["python3", "-m", "vllm.entrypoints.api_server"]
# openai api server alternative
FROM vllm-base AS vllm-openai
# install additional dependencies for openai api server
# install additional dependencies for openai api server, and mixtral
RUN --mount=type=cache,target=/root/.cache/pip \
pip install accelerate fschat
pip install accelerate megablocks
COPY --from=build /workspace/vllm/*.so /workspace/vllm/
COPY vllm vllm