Skip to content

Commit

Permalink
fix vllm components images building. (#667)
Browse files Browse the repository at this point in the history
Signed-off-by: zhlsunshine <[email protected]>
  • Loading branch information
zhlsunshine authored Sep 11, 2024
1 parent 2d5130f commit 161c338
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

cd ../../../../
cd ../../../../../
docker build \
-t opea/llm-vllm:latest \
--build-arg https_proxy=$https_proxy \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi

# Build the docker image for vLLM based on the hardware mode
if [ "$hw_mode" = "hpu" ]; then
docker build -f docker/Dockerfile.intel_hpu -t opea/vllm:hpu --shm-size=128g . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy
docker build -f Dockerfile.intel_hpu -t opea/vllm:hpu --shm-size=128g . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy
else
git clone https://github.com/vllm-project/vllm.git
cd ./vllm/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

cd ../../../../
cd ../../../../../
docker build \
-t opea/llm-vllm-ray:latest \
--build-arg https_proxy=$https_proxy \
--build-arg http_proxy=$http_proxy \
-f comps/llms/text-generation/vllm/ray/docker/Dockerfile .
-f comps/llms/text-generation/vllm/ray/Dockerfile .
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

cd ../../../../
cd ../../../../../../

docker build \
-f comps/llms/text-generation/vllm/ray/server/docker/Dockerfile \
-f comps/llms/text-generation/vllm/ray/dependency/Dockerfile \
-t opea/vllm_ray:habana \
--network=host \
--build-arg http_proxy=${http_proxy} \
Expand Down

0 comments on commit 161c338

Please sign in to comment.