mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2805] [Feature]: SYCL: decode QSA selection and attention in fewer, shorter launches (opt-in, same bits) #1127
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#1127
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?
Originally created by @hotschmoe on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2805
What do you want to do?
Decode Flash-Next faster on an Intel Arc Pro B70 (the SYCL port), with several streams and at long context, without
changing a single output bit.
With MTP, every verify window runs the QSA selection (block scores, top-k) and the attention for each attention layer.
On the B70 these are small, latency-bound launches, and four of them do more serial work than they need to:
--batch,"parallel") runs the scores, top-k and attention one row at a time, because each slothas its own K/V: four launches per row and layer. The kernels already take several rows, each with its own step
record. So a slot's rows could share one scores launch, and the whole window could share one top-k launch and one
attention launch over every slot's pools.
--max-context 200000) finds each radix pass's digitwith one thread walking 256 bins while the other 1,023 wait.
drafter's 32K window is 512 chunks, one dependent load chain per thread, even at a 1K context.
I would like an opt-in switch for each, off by default. Each should give exactly the bits of the path it replaces,
checked by a parity test against the existing kernels, so it can be measured and turned on where it pays.
Kernel times from a working implementation, one B70 (synthetic layers: 24 q heads, INT8 K/V, a 200,000-cell capacity;
graph replay, us):
Workaround today: none.
I have an implementation that touches only
sycl/**anddocs/INTEL.md, and will open a pull request thatreferences this issue.
Prepared with AI assistance (Claude Code): the code, the measurements and this text were produced by Claude on the submitter's two Arc Pro B70s, at the submitter's request.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.