[DNM] upgrade oneapi 2026.0#321
Conversation
Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
There was a problem hiding this comment.
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.
| 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 |
| 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" | ||
|
|
| 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 |
| # 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") |
| "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", |
| 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 |
Signed-off-by: Kunshang Ji <jikunshang95@gmail.com>
|
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. |
| "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", |
There was a problem hiding this comment.
Why skip 2.12 and upgrade directly to 2.13...
There was a problem hiding this comment.
Is it because only this version supports the new OneAPI?
There was a problem hiding this comment.
torch 2.12 will use 2025.3
torch 2.13 will use 2026.0, but it's WIP, not merged yet.
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor 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)