mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1111] [CLOSED] Intel arc 0.1.40 #3034
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#3034
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/1111
Author: @maxfridbe
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:intel-arc-0.1.40📝 Commits (10+)
6607546sycl: the 0.1.39 port builds - #626's thread affinity and #559's per-stage dense layers in the port's copies1939dc1sycl: benchy v1 (the standard Intel bench), the probe programs and three kernel benches81e0c4fsycl: prompt-path speedups - the lend mirror, QSA block scores as GEMM tiles, per-cell attention scores3b88502sycl: several Intel cards - setup --check sizes models across every card; a --layer-split sees every card01efa8ddocs: INTEL.md as the port's reference; every measured speed in INTEL_PERFORMANCE.md; sycl/TODO.md939e3c6sycl: #559's conversation parking in the port's conversation_state.cpp and its test37d03d6sycl: conversation_snapshot_test frees its pinned buffers with sycl::free (dpct wrote libc free)cb1f5cfsycl: host-only copies go through the CPU - the Arc's copy engine hung on pinned-host <-> pageable copiesbabd71csycl: the kernel tests all pass on the B70 - iq/ple_parity registered as upstream does; s2 grouped kernels bitwisebdb421dsycl: run without Docker (a toolbox with oneAPI); benchy v1 on a Gen5 host, B70 and B65📊 Changes
117 files changed (+31946 additions, -3241 deletions)
View changed files
📝
docs/INTEL.md(+566 -563)➕
docs/INTEL_PERFORMANCE.md(+903 -0)📝
sycl/.gitignore(+1 -0)📝
sycl/CMakeLists.txt(+90 -5)➕
sycl/TODO.md(+126 -0)➕
sycl/bench/v1/long.ids(+1 -0)➕
sycl/bench/v1/short.ids(+1 -0)➕
sycl/benchy.sh(+52 -0)📝
sycl/include/dpct/dpct.hpp(+13 -0)➕
sycl/include/strata/core/dma_batch.hpp(+182 -0)➕
sycl/include/strata/core/exchange_storage.hpp(+115 -0)➕
sycl/include/strata/core/expert_source.hpp(+774 -0)📝
sycl/include/strata/core/gguf_expert_source.hpp(+7 -5)📝
sycl/include/strata/core/mtp.hpp(+94 -4)📝
sycl/include/strata/core/remote_experts.hpp(+7 -1)📝
sycl/include/strata/core/verify.hpp(+174 -4)📝
sycl/include/strata/kernels/dp4a.hpp(+4 -0)📝
sycl/include/strata/kernels/mrope.hpp(+3 -0)📝
sycl/include/strata/kernels/native_mmvq.hpp(+65 -0)📝
sycl/include/strata/sycl_math.hpp(+20 -0)...and 80 more files
📄 Description
Replaces #809, which closed when
main's history was rewritten. Rebuilt on the newmain: the 18 commitsof #809 cherry-picked, plus one commit that refreshes the port to 0.1.40. Nothing outside
sycl/anddocs/INTEL*.mdchanges.Why the refresh was needed
main's SYCL build had stopped compiling:fused_gr,expert_sourceandprefill/gemmno longermatched the 0.1.40 headers, because
sycl/still held its 0.1.39 copies.The port is re-migrated with dpct and 3-way merged against
5047172, the commit it was migrated from.That leaves 175 conflicts and three hand-ported files (
verify.cpp,mtp.cpp,native_expert_parity.cpp), now resolved. dpct's mistranslations in the new code are listed indocs/INTEL.md(0.1.40).Fixed with it
DPCT_CHECK_ERROR(q->ext_oneapi_empty()), which is always 0.So whenever experts were mirrored and
STRATA_VERIFY_NO_HOSTwas off, any layer slower than 2 mswas reported as "never rang".
later-stage expert was mirrored (13-18 GiB of RAM), then the later GPU's cache fill copied from
that pinned memory. Using it across contexts is undefined in SYCL; on two B70s it hung at startup.
Port-side choices
STRATA_SH_STREAMis off. A recorded SYCL graph only takes itsown queue's work.
STRATA_EXPERT_SPLIT=1); the port'sgrids stay the default.
vmm.cppis upstream's no-VMM branch, so--kv-growand--vram-elasticstay off.gemm_bf16_parity(cuBLAS) andnative_expert_bench(raw CUDA).setup.py'sMIN_ENGINErequires.Tested (B70, plus a B70 + B65 split)
mmvq_multi_parity's negative control has no poweron the port's wide kernels, which use one layout at every column count; the test reports that the way
it reports gfx906's wave64 layout.
--layer-split 29run overB70 + B65 matches one card token for token.
the split.
(park, mount the shared checkpoint, restore). Every reply was sane, with
STRATA_VERIFY_NO_HOST=1and with per-layer waits. The B60 token-0 report from #809 did not reproduce.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.