[PR #2754] [CLOSED] sycl/A770: MTP shared-expert branch off by default on Alchemist (a non-linear draft graph resets ~50 events a replay) #4247

Closed
opened 2026-11-07 15:34:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2754
Author: @aslater3
Created: 10/16/2026
Status: ❌ Closed

Base: main ← Head: a770/up-mtp-linear


📝 Commits (1)

  • 30cf024 sycl/A770: MTP shared-expert branch off by default on Alchemist (a non-linear draft graph resets ~50 events a replay)

📊 Changes

1 file changed (+8 additions, -2 deletions)

View changed files

📝 sycl/src/core/mtp.cpp (+8 -2)

📄 Description

sycl/A770: MTP shared-expert branch off by default on Alchemist (a non-linear draft graph resets ~50 events a replay)

The shared expert of a draft step was forked onto a side queue and joined before the combine. On Arc A-series every
kernel runs on the one compute engine in submission order, so the branch runs nothing in parallel; but the fork / join
makes each captured draft graph non-linear, and the SYCL graph then replays as a command buffer with an event per node,
reset after every run: ~50 zeCommandListAppendEventReset + 2 barriers per draft graph, 0.45-0.7 ms on the GPU before
the next one (unitrace chrome timeline, A770, Level Zero v2 adapter). Linear, it replays as an in-order command buffer
with none. Same kernels on one stream: the same bits.

A770 (xe, oneAPI 2026.1, UR_LOADER_USE_LEVEL_ZERO_V2=1), Coder IQ1_M, 8K code prompt, 3 pairs with
STRATA_MTP_SHARED_BRANCH=1 vs 0: MTP drafting 7.91 -> 7.27 ms a round (-0.64, every pair), decode within noise,
reference tokens. STRATA_MTP_SHARED_BRANCH=1 forces the branch back on; other devices are unchanged.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2754 **Author:** [@aslater3](https://github.com/aslater3) **Created:** 10/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `a770/up-mtp-linear` --- ### 📝 Commits (1) - [`30cf024`](https://github.com/Niko1221/Strata/commit/30cf024f8960d0fb6bfd813b96662b798efe1fd0) sycl/A770: MTP shared-expert branch off by default on Alchemist (a non-linear draft graph resets ~50 events a replay) ### 📊 Changes **1 file changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `sycl/src/core/mtp.cpp` (+8 -2) </details> ### 📄 Description ## sycl/A770: MTP shared-expert branch off by default on Alchemist (a non-linear draft graph resets ~50 events a replay) The shared expert of a draft step was forked onto a side queue and joined before the combine. On Arc A-series every kernel runs on the one compute engine in submission order, so the branch runs nothing in parallel; but the fork / join makes each captured draft graph non-linear, and the SYCL graph then replays as a command buffer with an event per node, reset after every run: ~50 zeCommandListAppendEventReset + 2 barriers per draft graph, 0.45-0.7 ms on the GPU before the next one (unitrace chrome timeline, A770, Level Zero v2 adapter). Linear, it replays as an in-order command buffer with none. Same kernels on one stream: the same bits. A770 (xe, oneAPI 2026.1, UR_LOADER_USE_LEVEL_ZERO_V2=1), Coder IQ1_M, 8K code prompt, 3 pairs with STRATA_MTP_SHARED_BRANCH=1 vs 0: MTP drafting 7.91 -> 7.27 ms a round (-0.64, every pair), decode within noise, reference tokens. STRATA_MTP_SHARED_BRANCH=1 forces the branch back on; other devices are unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:34:18 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4247
No description provided.