Skip to content

megablocks: move to main for XPU AOT on DPC++ 2026.1 - #1279

Merged
github-actions[bot] merged 1 commit into
huggingface:mainfrom
jiqing-feng:megablocks-xpu-aot
Oct 28, 2026
Merged

github-actions[bot] merged 1 commit into
huggingface:mainfrom
jiqing-feng:megablocks-xpu-aot

Conversation

@jiqing-feng

Copy link
Copy Markdown
Contributor

Same issue as #1275. megablocks still pins kernel-builder at d054906 (before huggingface/kernels#921), so the xpu20261 variants are built without AOT: the .so only carries a spir64 JIT image.

The CRI grouped GEMM (MoE::xe35) is AOT-only by design (#1066), so it is missing from these builds entirely. On CRI, xpu_fused_moe segfaults in getDeviceKernelInfo when it dispatches to the xe35 kernel.

variant .so size offload sections
torch213-xpu20260 8.3 MB spir64_gen + spir64
torch214/215-xpu20261 3.9 MB spir64 only

This moves megablocks to kernel-builder main (same lock as flash-attn2). Note that this also bumps sycl-tla from v0.9.2 to v0.9.3.

@github-actions

Copy link
Copy Markdown

This PR changes source code for the following kernel(s): megablocks.

If you have the kernel-bot build permissions, then trigger /kernel-bot build megablocks yourself. Otherwise, a maintainer will review the PR and will take an appropriate action. Thanks for your patience.

@github-actions github-actions Bot added the chore Version bumps, releases, misc maintenance label Oct 28, 2026
@danieldk

Copy link
Copy Markdown
Member

/kernel-bot build megablocks

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Build request processed.

Command: /kernel-bot build megablocks
Mode: build only
Target branch: pr-1279
PR head SHA: 210901889d3ff338ae36befd2cbf665bfe0987af
Workflows: build.yaml, build-mac.yaml, build-windows.yaml

Dispatched (1):

@danieldk

Copy link
Copy Markdown
Member

/kernel-bot merge-and-upload megablocks

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Build request processed.

Command: /kernel-bot merge-and-upload megablocks
Mode: merge, build and upload
Target branch: ``
PR head SHA: 210901889d3ff338ae36befd2cbf665bfe0987af
Workflows: `build.yaml, build-mac.yaml, build-windows.yaml`

Merge result: Pull Request successfully merged

Dispatched (1):

Hub uploads:

@github-actions
github-actions Bot merged commit 619ab28 into huggingface:main Oct 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Version bumps, releases, misc maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants