forked from opendatahub-io/vllm
-
Notifications
You must be signed in to change notification settings - Fork 17
Build VLLM CUDA from RHEL AI wheels, add audio and video packages #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
49c228c
Update Dockerfile.ubi to install vllm-cuda using wheel from RHEL AI team
ckhordiasma 94c16a7
update payload/run.sh to use bot token
ckhordiasma bb7545e
Merge branch 'rhoai-2.19' into ckodama-patch
ckhordiasma fc4209f
add trap to guarantee run.sh deletion
ckhordiasma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,7 @@ | ||
| BASE_UBI_IMAGE_TAG=9.5-1739420147 | ||
| PYTHON_VERSION=3.11 | ||
| LIBSODIUM_VERSION=1.0.20 | ||
| VLLM_TGIS_ADAPTER_VERSION=0.6.3 | ||
| FLASHINFER_VERSION=https://github.com/flashinfer-ai/flashinfer/releases/download/v0.2.1.post1/flashinfer_python-0.2.1.post1+cu124torch2.5-cp38-abi3-linux_x86_64.whl | ||
| VLLM_WHEEL_VERSION=0.7.2 | ||
| VLLM_WHEEL_INDEX=https://gitlab.com/api/v4/projects/66664052/packages/pypi/simple |
This file contains hidden or 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,34 @@ | ||
| #!/bin/bash | ||
| # required env vars: | ||
| # $BOT_PAT | ||
| # $WHEEL_RELEASE_ARTIFACTS | ||
| # optional: | ||
| # $VLLM_TGIS_ADAPTER_VERSION | ||
| # $VLLM_WHEEL_VERSION | ||
| set -ex | ||
|
|
||
| cat <<EOF > ${HOME}/.netrc | ||
| machine gitlab.com | ||
| login rhel-ai-wheels-prefetch-token-rhoai | ||
| password $BOT_PAT | ||
| EOF | ||
|
|
||
| trap "rm ${HOME}/.netrc" EXIT | ||
|
|
||
| # https://docs.astral.sh/uv/configuration/indexes/#searching-across-multiple-indexes | ||
| # This will prefer to use the custom index, and fall back to pypi if needed | ||
| export UV_EXTRA_INDEX_URL=${VLLM_WHEEL_INDEX} | ||
| export UV_INDEX_STRATEGY=unsafe-first-match | ||
|
|
||
| vllm="vllm[tensorizer,audio,video]" | ||
|
|
||
| if [[ -n "$VLLM_TGIS_ADAPTER_VERSION" ]]; then | ||
| vllm_tgis_adapter="vllm-tgis-adapter==${VLLM_TGIS_ADAPTER_VERSION}" | ||
| fi | ||
|
|
||
| if [[ -n "$VLLM_WHEEL_VERSION" ]]; then | ||
| vllm="${vllm}==${$VLLM_WHEEL_VERSION}" | ||
| fi | ||
|
|
||
| uv pip install $vllm $vllm_tgis_adapter | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work, RHEL AI wheels are an all-or-nothing solution which cannot be mixed with PyPi wheels