Skip to content

vllm 0.6.3 #636

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# syntax=docker/dockerfile:1
ARG VLLM_VERSION=0.6.2
ARG VLLM_BASE_IMAGE=vllm/vllm-openai:v${VLLM_VERSION}
ARG VLLM_VERSION=0.6.3
ARG VLLM_BASE_REPO=vllm/vllm-openai
ARG VLLM_BASE_IMAGE=${VLLM_BASE_REPO}:v${VLLM_VERSION}
FROM ${VLLM_BASE_IMAGE} AS base

RUN apt-get update \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eo pipefail

# Build and push vLLM docker image to AWS ECR.
#
# Usage: VLLM_VERSION=0.5.3.post1 ./build_and_upload_image.sh <AWS_ACCOUNT_ID> <IMAGE_TAG> vllm|vllm_batch|vllm_batch_v2
# Usage: VLLM_VERSION=0.6.3 ./build_and_upload_image.sh <AWS_ACCOUNT_ID> <IMAGE_TAG> vllm|vllm_batch|vllm_batch_v2

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
PROJECT_DIR=$SCRIPT_DIR/../../../..
Expand All @@ -21,14 +21,16 @@ if [ -z "$2" ]; then
fi

if [ -z "$3" ]; then
echo "Must supply the build target (either vllm or vllm_batch)"
echo "Must supply the build target (either vllm or vllm_batch_v2)"
exit 1;
fi


ACCOUNT=$1
IMAGE_TAG=$2
BUILD_TARGET=$3
VLLM_VERSION=${VLLM_VERSION:-"0.6.2"}
VLLM_BASE_REPO=${VLLM_BASE_REPO:-"vllm/vllm-openai"}

# if build target = vllm use vllm otherwise use vllm_batch
if [ "$BUILD_TARGET" == "vllm" ]; then
Expand All @@ -40,6 +42,7 @@ fi
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin $ACCOUNT.dkr.ecr.us-west-2.amazonaws.com
DOCKER_BUILDKIT=1 docker build \
--build-arg VLLM_VERSION=${VLLM_VERSION} \
--build-arg VLLM_BASE_REPO=${VLLM_BASE_REPO} \
-f Dockerfile.vllm \
--target ${BUILD_TARGET} \
-t $IMAGE ${PROJECT_DIR}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
vllm==0.6.2
vllm==0.6.3