@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 136c499f6e
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 9, 17:06 UTC

[CI] fix version comparsion and exclusion patterns in upload-release-wheels.sh (#32971)

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>

Shengqi Chen committed Jan 23, 2026 at 14:21 UTC 136c499f6ea8e34b18b9a7cda0518ed1df6ae8ad
1 file changed +6 -5
.buildkite/scripts/upload-release-wheels.sh
+6 -5
@@ -16,7 +16,7 @@ else
16 echo "Git version for commit $BUILDKITE_COMMIT: $GIT_VERSION"
17 fi
18 # sanity check for version mismatch
19 -if [ "v$RELEASE_VERSION" != "$GIT_VERSION" ]; then
19 +if [ "$RELEASE_VERSION" != "$GIT_VERSION" ]; then
20 if [ "$FORCE_RELEASE_IGNORE_VERSION_MISMATCH" == "true" ]; then
21 echo "[WARNING] Force release and ignore version mismatch"
22 else
@@ -24,6 +24,7 @@ if [ "v$RELEASE_VERSION" != "$GIT_VERSION" ]; then
24 exit 1
25 fi
26 fi
27 +PURE_VERSION=${RELEASE_VERSION#v} # remove leading 'v'
28
29 # check pypi token
30 if [ -z "$PYPI_TOKEN" ]; then
@@ -81,16 +82,16 @@ echo "Existing wheels on S3:"
82 aws s3 ls "$S3_COMMIT_PREFIX"
83 echo "Copying wheels to local directory"
84 mkdir -p $DIST_DIR
84 -# include only wheels for the release version, ignore all files with "dev" or "rc" in the name
85 -aws s3 cp --recursive --exclude "*" --include "vllm-${RELEASE_VERSION}*.whl" --exclude "*dev*" --exclude "*rc*" "$S3_COMMIT_PREFIX" $DIST_DIR
85 +# include only wheels for the release version, ignore all files with "dev" or "rc" in the name (without excluding 'aarch64')
86 +aws s3 cp --recursive --exclude "*" --include "vllm-${PURE_VERSION}*.whl" --exclude "*dev*" --exclude "*rc[0-9]*" "$S3_COMMIT_PREFIX" $DIST_DIR
87 echo "Wheels copied to local directory"
88 # generate source tarball
88 -git archive --format=tar.gz --output="$DIST_DIR/vllm-${RELEASE_VERSION}.tar.gz" $BUILDKITE_COMMIT
89 +git archive --format=tar.gz --output="$DIST_DIR/vllm-${PURE_VERSION}.tar.gz" $BUILDKITE_COMMIT
90 ls -la $DIST_DIR
91
92
93 # upload wheels to PyPI (only default variant, i.e. files without '+' in the name)
93 -PYPI_WHEEL_FILES=$(find $DIST_DIR -name "vllm-${RELEASE_VERSION}*.whl" -not -name "*+*")
94 +PYPI_WHEEL_FILES=$(find $DIST_DIR -name "vllm-${PURE_VERSION}*.whl" -not -name "*+*")
95 if [ -z "$PYPI_WHEEL_FILES" ]; then
96 echo "No default variant wheels found, quitting..."
97 exit 1