You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
megablocks: move to main for XPU AOT on DPC++ 2026.1 - #1279
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.
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.
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.
Same issue as #1275. megablocks still pins kernel-builder at
d054906(before huggingface/kernels#921), so thexpu20261variants are built without AOT: the.soonly carries aspir64JIT 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_moesegfaults ingetDeviceKernelInfowhen it dispatches to the xe35 kernel..sosizetorch213-xpu20260spir64_gen+spir64torch214/215-xpu20261spir64onlyThis 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.