Skip to content

Commit

Permalink
vllm 0.6.3 (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmchoiboi authored Oct 14, 2024
1 parent 89b9ddd commit 74a40e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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

0 comments on commit 74a40e7

Please sign in to comment.