mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2487] [CLOSED] sycl/A770: large GRF for the grouped expert kernels (bit-identical; Alchemist default) #4071
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4071
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2487
Author: @aslater3
Created: 10/14/2026
Status: ❌ Closed
Base:
main← Head:a770/up-expert-grf📝 Commits (1)
55fb6e5sycl/A770: large GRF for the grouped expert kernels (STRATA_EXPERT_LARGE_GRF, Alchemist default)📊 Changes
1 file changed (+54 additions, -16 deletions)
View changed files
📝
sycl/src/kernels/cuda/iq_kernels.dp.cpp(+54 -16)📄 Description
Title
sycl/A770: large GRF for the grouped expert kernels (bit-identical; Alchemist default)
Summary
On Arc A-series (Alchemist), the gate/up and down launches of
native_expert_groupedrun in large-GRF mode (256 registers per thread). This is the decode window's VRAM-hit expert kernel. The arithmetic is unchanged, so the output is bit-identical. Battlemage and every other device keep the compiler's default GRF and the same kernels.What changed
sycl/src/kernels/cuda/iq_kernels.dp.cpp:launch_gu_port/launch_down_portdispatch to aBIGtemplate variant withgrf_size<256>.expert_large_grf(q):intel_gpu_gen == Alchemistby default.STRATA_EXPERT_LARGE_GRF=1forces it on,=0off.Extra Notes
Arc A770 16 GB, xe, compute runtime 26.05, oneAPI 2026.1.
Kernel bench.
native_grouped_parity --bench2(in the bench PR), at the Coder's shape: 2560 × 640, 16 groups / 24 entries, 48 layers with their own experts.Correctness.
native_grouped_parity: 0 failures.Decode. +1.3% on its own. The stepped window runs these kernels alongside the CPU's misses, so most of the kernel gain is hidden while the CPU pool is the longer side.
Not tested: A750 / A580, i915, Windows.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.