mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2756] [CLOSED] sycl/A770 prefill: QSA attention 128 queries a launch on Alchemist (bitwise); parity test hashes the FP32 kernel #4248
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#4248
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/2756
Author: @aslater3
Created: 10/16/2026
Status: ❌ Closed
Base:
main← Head:a770/up-pf-attn-batch📝 Commits (1)
d5874f0sycl/A770 prefill: QSA attention 128 queries a launch on Alchemist (bitwise); parity test hashes the FP32 kernel📊 Changes
2 files changed (+43 additions, -3 deletions)
View changed files
📝
sycl/src/kernels/qsa_prompt_attn_parity.cpp(+28 -1)📝
sycl/src/prefill/prefill.cpp(+15 -2)📄 Description
sycl/A770 prefill: QSA attention 128 queries a launch on Alchemist (bitwise); parity test hashes the FP32 kernel
pf_attn_batch() / STRATA_PF_ATTN_BATCH: queries per qsa_decode_attn_batch launch in the prompt's QSA attention.
Alchemist default 128 (32 elsewhere, unchanged). Every query's work-groups are its own, so the batch changes no bit;
its scratch (~0.8 MB a query) shares the prompt region with the MoE half's larger scratch.
qsa_prompt_attn_parity: OLDHASH (a hash of the FP32 kernel's output), QPA_OLD_ONLY=1 (only that kernel: the XMX one
refuses an A770, 86,784 B of local memory over its 64 KiB) and QPA_BATCH. A770, 8K context, 2,048 queries:
batch 32 56.0 ms, 64 52.1, 128 50.9, 256 50.3, 512 49.9, the same hash. Engine (Coder IQ1_M, 8K code prompt, 2 pairs,
STRATA_PREFILL_TIMING=1): qsa attn 2269/2270 -> 2077/2078 ms, prefill 712.3/755.5 -> 738.6/763.8 tok/s, reference
tokens in all four.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.