Skip to content

[DNM] upgrade oneapi 2026.0#321

Open
jikunshang wants to merge 4 commits into
vllm-project:mainfrom
jikunshang:kunshang/oneapi_2026
Open

[DNM] upgrade oneapi 2026.0#321
jikunshang wants to merge 4 commits into
vllm-project:mainfrom
jikunshang:kunshang/oneapi_2026

Conversation

@jikunshang
Copy link
Copy Markdown
Collaborator

Essential Elements of an Effective PR Description Checklist

  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS ABOVE HAVE BEEN CONSIDERED.

Purpose

Test Plan

Test Result

(Optional) Documentation Update

BEFORE SUBMITTING, PLEASE READ https://docs.vllm.ai/en/latest/contributing (anything written below this line will be removed by GitHub Actions)

Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
Copilot AI review requested due to automatic review settings May 3, 2026 05:44
Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the XPU build/CI environment to target oneAPI 2026.0 and a newer (nightly) Torch XPU stack, adjusting the Docker image, dependency pins, SYCL AOT device list, and CI workflow image tagging.

Changes:

  • Update Torch and Triton-XPU dependencies to pinned nightly wheel URLs.
  • Bump the XPU Docker base image to intel/deep-learning-essentials:2026.0.0 and adjust GPU runtime package installs / pip index settings.
  • Update SYCL AOT device defaults and CI workflow docker image tagging.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
requirements.txt Pins Torch/Triton-XPU to specific nightly wheel URLs.
pyproject.toml Updates build-system Torch requirement to a direct nightly wheel URL.
Dockerfile.xpu Bumps oneAPI base image to 2026.0.0 and updates package/index configuration.
CMakeLists.txt Adds cri to default SYCL AOT device list.
.github/workflows/ut.yaml Switches CI docker tagging and container image reference to test-213.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ut.yaml
Comment on lines 76 to 78
container:
image: localhost:5000/xpu-kernel-ci-image:latest
image: localhost:5000/xpu-kernel-ci-image:test-213
options: --device /dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged -v ccache:/root/.ccache -e CCACHE_DIR=/root/.ccache
Comment thread Dockerfile.xpu
Comment on lines 5 to 7
ARG PYTHON_VERSION=3.12
ARG PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/xpu"
ARG PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/test/xpu"

Comment thread Dockerfile.xpu
Comment on lines 29 to 37
RUN mkdir neo && cd neo && \
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.22.2/intel-igc-core-2_2.22.2+20121_amd64.deb && \
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.22.2/intel-igc-opencl-2_2.22.2+20121_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.44.36015.8/intel-ocloc_25.44.36015.8-0_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.44.36015.8/intel-opencl-icd_25.44.36015.8-0_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.44.36015.8/libigdgmm12_22.8.2_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.44.36015.8/libze-intel-gpu1_25.44.36015.8-0_amd64.deb && \
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.11.7/intel-igc-core-2_2.11.7+19146_amd64.deb && \
wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.11.7/intel-igc-opencl-2_2.11.7+19146_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/intel-ocloc_25.18.33578.6-0_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/intel-opencl-icd_25.18.33578.6-0_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/libigdgmm12_22.7.0_amd64.deb && \
wget https://github.com/intel/compute-runtime/releases/download/25.18.33578.6/libze-intel-gpu1_25.18.33578.6-0_amd64.deb && \
wget https://github.com/oneapi-src/level-zero/releases/download/v1.21.9/level-zero_1.21.9+u24.04_amd64.deb && \
dpkg -i *.deb && cd .. && rm -rf neo
Comment thread CMakeLists.txt
# VLLM_XPU_AOT_DEVICES="pvc,bmg-g21-a0" export
# VLLM_XPU_XE2_AOT_DEVICES="pvc,bmg-g31-a0"
set(AOT_DEVICES "pvc,bmg,bmg-g21-a0,bmg-g31-a0")
set(AOT_DEVICES "pvc,bmg,bmg-g21-a0,bmg-g31-a0,cri")
Comment thread pyproject.toml
Comment on lines 8 to 10
"setuptools-scm>=8.0",
"torch == 2.11.0+xpu",
"torch @ https://download-r2.pytorch.org/whl/nightly/xpu/torch-2.13.0.dev20260502%2Bxpu-cp312-cp312-linux_x86_64.whl",
"wheel",
Comment thread .github/workflows/ut.yaml
Comment on lines +46 to +48
docker build -t xpu-kernel-ci-image:test-213 -f Dockerfile.xpu .
docker tag xpu-kernel-ci-image:test-213 ${{ env.REGISTRY }}/xpu-kernel-ci-image:test-213
docker push ${{ env.REGISTRY }}/xpu-kernel-ci-image:test-213
jikunshang added 2 commits May 3, 2026 14:04
Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
@jikunshang
Copy link
Copy Markdown
Collaborator Author

pending on torch upgrade to 2026.0 toolchain, then we can use latest nightly torch for further test. pytorch/pytorch#182003

while build seems pass now.

Comment thread pyproject.toml
"setuptools>=77.0.3,<80.0.0",
"setuptools-scm>=8.0",
"torch == 2.11.0+xpu",
"torch @ https://download-r2.pytorch.org/whl/nightly/xpu/torch-2.13.0.dev20260502%2Bxpu-cp312-cp312-linux_x86_64.whl",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why skip 2.12 and upgrade directly to 2.13...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it because only this version supports the new OneAPI?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

torch 2.12 will use 2025.3
torch 2.13 will use 2026.0, but it's WIP, not merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants