-
Notifications
You must be signed in to change notification settings - Fork 0
Added Intel XPU support #102
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 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f4d8e38
Added Intel XPU support
wtripp180901 daf91c0
added on PR for dev
wtripp180901 87fbd55
updated xpu build with new dockerfile location
wtripp180901 7e57308
fixed ghcr typo
wtripp180901 4b1ca87
removed on-PR for XPU builds
wtripp180901 474f7b4
Merge branch 'main' into feat/xpu-support
wtripp180901 09e01a2
refactored image templating
wtripp180901 ee1ded9
fixed missing image version
wtripp180901 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Publish vLLM XPU images | ||
|
||
on: | ||
# NOTE(sd109): Since this is checking out an external | ||
# it's probably safer to leave this as workflow dispatch | ||
# only so that we can manually build images from specific | ||
# refs rather than automatically pulling in the latest | ||
# content from the remote repo. | ||
workflow_dispatch: | ||
inputs: | ||
vllm_ref: | ||
type: string | ||
description: The vLLM GitHub ref (tag, branch or commit) to build. | ||
required: true | ||
|
||
jobs: | ||
build_push_xpu_image: | ||
name: Build and push image | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write # needed for signing the images with GitHub OIDC Token | ||
packages: write # required for pushing container images | ||
security-events: write # required for pushing SARIF files | ||
steps: | ||
- name: Check out the vLLM repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vllm-project/vllm | ||
ref: ${{ inputs.vllm_ref }} | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push image | ||
run: | | ||
IMAGE=ghcr.io/stackhpc/vllm-xpu:${{ inputs.vllm_ref }} | ||
docker build -f docker/Dockerfile.xpu -t $IMAGE --shm-size=4g . | ||
docker push $IMAGE |
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
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.
Uh oh!
There was an error while loading. Please reload this page.