Skip to content

Commit

Permalink
Update build_docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nvda-mesharma authored Sep 4, 2024
1 parent d347b1d commit fff8f14
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/build/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,12 @@
# Get latest VLLM RELEASED VERSION from https://github.com/triton-inference-server/vllm_backend/releases
TAG=$(curl https://api.github.com/repos/triton-inference-server/vllm_backend/releases/latest | grep -i "tag_name" | awk -F '"' '{print $4}')
export TRITON_CONTAINER_VERSION=${TAG#v} # example: 24.06
if [ -z "$TRITON_CONTAINER_VERSION" ]
then
echo "\$TRITON_CONTAINER_VERSION is NULL, setting it to 24.08"
TRITON_CONTAINER_VERSION=24.08
else
echo "\$TRITON_CONTAINER_VERSION is NOT NULL"
fi

docker pull nvcr.io/nvidia/tritonserver:${TRITON_CONTAINER_VERSION}-vllm-python-py3

0 comments on commit fff8f14

Please sign in to comment.