forked from vllm-project/vllm
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into rms_navi31
- Loading branch information
Showing
301 changed files
with
12,297 additions
and
3,765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
# Assume wheels are in artifacts/dist/*.whl | ||
wheel_files=(artifacts/dist/*.whl) | ||
|
||
# Check that exactly one wheel is found | ||
if [[ ${#wheel_files[@]} -ne 1 ]]; then | ||
echo "Error: Expected exactly one wheel file in artifacts/dist/, but found ${#wheel_files[@]}" | ||
exit 1 | ||
fi | ||
|
||
# Get the single wheel file | ||
wheel="${wheel_files[0]}" | ||
|
||
# Rename 'linux' to 'manylinux1' in the wheel filename | ||
new_wheel="${wheel/linux/manylinux1}" | ||
mv -- "$wheel" "$new_wheel" | ||
wheel="$new_wheel" | ||
|
||
# Extract the version from the wheel | ||
version=$(unzip -p "$wheel" '**/METADATA' | grep '^Version: ' | cut -d' ' -f2) | ||
echo "Version: $version" | ||
|
||
# If the version contains "dev", rename it to v1.0.0.dev for consistency | ||
if [[ $version == *dev* ]]; then | ||
new_version="1.0.0.dev" | ||
new_wheel="${wheel/$version/$new_version}" | ||
mv -- "$wheel" "$new_wheel" | ||
wheel="$new_wheel" | ||
version="$new_version" | ||
fi | ||
|
||
# Upload the wheel to S3 | ||
aws s3 cp "$wheel" "s3://vllm-wheels/$BUILDKITE_COMMIT/" | ||
aws s3 cp "$wheel" "s3://vllm-wheels/nightly/" | ||
aws s3 cp "$wheel" "s3://vllm-wheels/$version/" |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.