mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1767] [CLOSED] sycl: add STRATA_DOORBELL_NOCHECK to skip the payload wait (debug only) #3659
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#3659
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/1767
Author: @duncanmcqueen
Created: 10/9/2026
Status: ❌ Closed
Base:
main← Head:a770-doorbell-nocheck📝 Commits (9)
8f69d94sycl: publish the doorbell with the uncached write hint33064c3sycl: chunk the expert mirror and raise memlock in the wrapper039992esycl: keep Alchemist's prompt path on its own buffersc756d4bsycl: add the doorbell payload checksumaa71188sycl: stage oneMKL GEMM operands that lie more than 4 GiB into their allocationb40f69fsycl: build Alchemist kernels for allocations past 4 GiBebe06f9sycl: setup picks the Intel card by PCI id and configures Alchemist712bbc9sycl: fix the GEMM staging scratch lifetime and unregister freed allocationsbd67007sycl: add STRATA_DOORBELL_NOCHECK to skip the payload wait (debug only)📊 Changes
17 files changed (+528 additions, -160 deletions)
View changed files
📝
docs/INTEL.md(+9 -0)📝
include/strata/kernels/elementwise.hpp(+15 -0)📝
sycl/CMakeLists.txt(+8 -1)📝
sycl/include/strata/core/gguf_expert_source.hpp(+7 -4)📝
sycl/include/strata/sycl_doorbell.hpp(+30 -0)📝
sycl/include/strata/sycl_queue.hpp(+45 -1)➕
sycl/probe/doorbell_store.cpp(+43 -0)📝
sycl/serve/strata-sycl.sh(+1 -0)📝
sycl/setup_intel.py(+51 -16)📝
sycl/src/core/expert_cache.cpp(+6 -0)📝
sycl/src/core/gguf_expert_source.cpp(+72 -38)📝
sycl/src/core/layer.cpp(+2 -2)📝
sycl/src/core/session.cpp(+8 -0)📝
sycl/src/core/verify.cpp(+16 -0)📝
sycl/src/kernels/cuda/elementwise.dp.cpp(+128 -96)📝
sycl/src/prefill/gemm.dp.cpp(+58 -0)📝
sycl/src/program/generate.cpp(+29 -2)📄 Description
Summary
Adds an opt-in
STRATA_DOORBELL_NOCHECKenv switch: when set,doorbell_wait_payloadtrusts the ring and skips the payload-checksum wait. It exists because on this build both in-engine profilers fail before they can measure anything —STRATA_VERIFY_EAGER=1andSTRATA_VERIFY_PROFILE=1both error in the verify window at layer 0 withrang but its payload never arrived whole(verify.cpp) — so the stage profiler cannot run. With the switch, the host-timed stage table prints.Dependency
This PR is stacked on #1602 (
intel-sycl-handshake): it modifiesdoorbell_wait_payload, which #1602 adds. The branch therefore contains #1602's commits; only the last commit (sycl: add STRATA_DOORBELL_NOCHECK...) is new. Merge after #1602, or cherry-pick that one commit once #1602 lands.Extra Notes
Debug/profile only. With it set, the CPU expert pool can read a stale payload and the output may be wrong — the exact race the checksum catches. It is inert when unset (a single
getenv), so it has no effect on a normal run. It is the smallest way to unblock profiling on the SYCL path; the underlying eager-path payload failure is a separate, deeper issue and is not fixed here.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.