Repository navigation
flash-attn2: move to main for XPU improvements - #1275
Conversation
|
/kernel-bot build flash-attn2 |
|
This PR changes source code for the following kernel(s): If you have the kernel-bot build permissions, then trigger |
|
Build request processed. Command: Dispatched (1):
|
|
/kernel-bot merge-and-upload flash-attn2 |
|
Build request processed. Command: Merge result: Pull Request successfully merged Dispatched (1):
Hub uploads: |
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.
Move to
mainto get the improvements fromhuggingface/kernels#921