Skip to content

[DO NOT MERGE][XPU] Install sglang-kernel-xpu from sgl-kernel-xpu main branch - #41262

Open
arathi-hlab wants to merge 6 commits into
mainfrom
xpu/kernel-from-main
Open

arathi-hlab wants to merge 6 commits into
mainfrom
xpu/kernel-from-main

Conversation

@arathi-hlab

@arathi-hlab arathi-hlab commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

python/pyproject_xpu.toml pins sglang-kernel-xpu to the v0.2.0+xpu release wheel in sgl-project/whl. Kernel changes merged to sgl-kernel-xpu main are not picked up until a new release wheel is built and published via release-whl-kernel-xpu.yml and this URL is bumped.

Modifications

Point the dependency at the sgl-kernel-xpu main branch instead of the release wheel:

-  "sglang-kernel-xpu @ https://github.com/sgl-project/whl/releases/download/v0.2.0+xpu/sglang_kernel_xpu-0.2.0-cp310-abi3-manylinux_2_38_x86_64.whl",
+  "sglang-kernel-xpu @ git+https://github.com/sgl-project/sgl-kernel-xpu.git@main",

Notes

  • With a git reference, pip install . builds sglang-kernel-xpu from source (scikit-build-core + CMake). The install environment needs the oneAPI/SYCL toolchain (source /opt/intel/oneapi/setvars.sh), and install time increases.
  • Installs are no longer reproducible across time since main moves.

Checklist

  • stage-a-test-1-gpu-xpu passes on this PR (verifies the source build works in the XPU CI image)

CI States

Latest PR Test (Base): ✅ Run #38114119346
Latest PR Test (Extra): ❌ Run #38114119293
Latest PR Test (AMD ROCm 10): ❌ Run #38114119385

Supersedes #41085 (moved the branch into sgl-project/sglang so it can be cloned directly with -b xpu/kernel-from-main).

Replace the pinned v0.2.0+xpu release wheel URL in pyproject_xpu.toml
with a git reference to sgl-kernel-xpu@main, so XPU installs pick up
the latest kernels without waiting for a new release wheel.
@arathi-hlab arathi-hlab added the dependencies Pull requests that update a dependency file label Sep 25, 2026
@arathi-hlab arathi-hlab changed the title [XPU] Install sglang-kernel-xpu from sgl-kernel-xpu main branch [DO NOT MERGE][XPU] Install sglang-kernel-xpu from sgl-kernel-xpu main branch Sep 30, 2026

This branch has not been deployed

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant