mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 06:15:01 +08:00
Update dockerfile with ModelScope support (#3429)
This commit is contained in:
parent
7341c77d69
commit
c614cfee58
@ -122,7 +122,7 @@ RUN --mount=type=bind,from=flash-attn-builder,src=/usr/src/flash-attention-v2,ta
|
|||||||
FROM vllm-base AS vllm-openai
|
FROM vllm-base AS vllm-openai
|
||||||
# install additional dependencies for openai api server
|
# install additional dependencies for openai api server
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
pip install accelerate hf_transfer
|
pip install accelerate hf_transfer modelscope
|
||||||
|
|
||||||
COPY --from=build /workspace/vllm/*.so /workspace/vllm/
|
COPY --from=build /workspace/vllm/*.so /workspace/vllm/
|
||||||
COPY vllm vllm
|
COPY vllm vllm
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user