mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5236] [Engine] Windows Intel Arc: merge a community port, publish it as a preview component, or defer? #3113
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#3113
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 @demetree on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5236
What this is. A scope decision, which CONTRIBUTING asks for before a large feature. At least five native Windows Intel Arc ports exist and none is merged. This is to pick a direction, not to push one.
The candidates
The user problem. On Windows with an Arc card,
setup --backend syclstops by design (docs/INTEL_ARC.md), and the CUDA, HIP and CPU engines cannot use the card. Today the only route is a fork.The constraint I know of. "Platform support that we cannot test without a Windows Arc machine" (#2079). Windows HIP exists because you have that hardware; Windows Intel has no owner, and no CI job builds the SYCL engine at all, Linux included.
Options
(a) Merge one port. Review time once, then the Windows engine is part of releases. Needs an owner for Windows/Arc testing; I can be that owner from this machine.
(b) Publish a preview engine component,
windows-x86_64-sycl, built from a branch I keep level with main, marked preview in the feed and the docs, with its known issues listed. It needs one BACKEND_MATRIX line and no source-level commitment from you.(c) Defer. docs/INTEL_ARC.md already says Windows has no path; say that it stays that way.
Evidence, measured here (Arc Pro B70 32 GB, 256K, Coder IQ1_M, all 12,288 experts resident). Prompt 1,249 and 1,444 tok/s at 4K and 16K, decode 81.6 / 72.9 / 74.2, first token 0.61 / 3.33 / 11.39 s, sanity checks 12/12. ctest 55 of 57 (the Q2_0 fixture, and
qsa_prompt_attn_parityon the new ESIMD int8 path),test_setup_sycl52/52, terminal suite 2453 passed with 13 failures that fail identically on clean v0.2.10.Limits, plainly. #4698 (the host arena with
STRATA_VERIFY_NO_HOST=1returns!x256);--stream-expertspins 46.8 GiB and dies withDEVICE_LOSTon a 64 GB machine; everything above is one machine - no A-series card, no second Windows PC, no laptop, no iGPU run.Ask. One line: (a), (b) or (c). For (a), the shape - one pull request or split into build, serve, docs. For (b), I will build the asset and the manifest entry for the next release.
@agnaylor commented on GitHub (Nov 6, 2026):
One more data point for this decision: native Windows against WSL on the same Arc Pro B70, with the same model and prompts, run on consecutive days.
Setup: Arc Pro B70 32 GB, Windows, Intel driver 32.0.101.8976. Engine at
06698c6746(0.1.56). Qwen3.8-Flash-Next IQ3_S. 3 synthetic prompts, no thinking, same seeds. WSL build: icpx 2026.1.1. Native build: icx 2026.0 and Level Zero win-sdk 1.32.0, plus a small patch (below, 96 added lines:preadtoReadFile, the leftover CUDA LUID code inpinned.dp.cpp, windows.h macro clashes,memmem, and MSVC-style compiler flags insycl/CMakeLists.txt).Passed: native build (icx 2026.0, no oneAPI 2026.1 needed); load; all 13,455 experts mirrored (25.73 GiB pinned); 3 of 3 rows finished with
stop.Failed: the first native attempt, with reserve 3072 MiB and
STRATA_MIRROR_MIB=26000, was refused by the engine's own check: 178 experts were neither in VRAM nor mirrored underSTRATA_VERIFY_NO_HOST=1. That refusal was correct, not a crash. Raising the mirror to 27000 fixed it.Not run: ctest; the terminal test suite; any other card or machine; a rebase onto 0.1.57; CUDA and HIP builds of the patch (the CMake change is inside the SYCL tree only).
Limits:
My reading is that most of the gain is the copy path (WSL's
/dev/dxg), not the engine. So whichever port you choose, a native Windows path looks worth having for B70 owners. I'm not proposing another PR. The patch is below in case it helps whoever does (a) or (b).strata-win.patch (against
06698c6746)An AI helped write the comment. They were measured B70 cards.
@demetree commented on GitHub (Nov 7, 2026):
Thanks @agnaylor — that is the comparison this question needed, and the copy-path explanation (WSL's
/dev/dxg) matches what this branch sees: it never goes through/dev/dxg, and its numbers land far above the WSL column.For calibration, same card (Arc Pro B70 32 GB, driver 32.0.101.8976, Windows 11 25H2), native Windows, from the
windows-syclbranch in #3607 (measured on engine 0.1.56; rebuilt today at 0.1.58):Coder IQ1_M, 256K context, all 12,288 experts resident (int8 KV with 32K resident, prefill 2048, spec 4 + MTP,
STRATA_ATTN_BATCH=128):IQ3_S, 32K context (the set in your comparison): 63–65 tok/s decode, 626–780 tok/s prompt at 5K–27K tokens, 68–77% expert-cache hit — with the arena path, experts in ordinary RAM and the CPU computing the cache misses. Not like-for-like with your run: you used a pinned 25.73 GiB mirror, so every miss crosses PCIe. On this card the mirror measured 40.3 tok/s on IQ3_XXS against 64.6 for the arena, and recent 0.2.x prefers the arena when the experts do not fit. I think that is most of the gap between 18.3 and 63, not a different engine. Your 1 GiB
zeMemAllocHostfinding is worth keeping too: it is a WSL limit, and it is why the mirror chunks at 1 GiB there.What is not settled on Windows, so the numbers above should not be read as a finished product:
STRATA_VERIFY_NO_HOST=1with the arena returns!×256 from the first token (#4698);0answers correctly.DEVICE_LOSTon this 64 GB machine.qsa_prompt_attn_parityby 1.6e-4 of scale against a 1e-4 bar;FAILURES: 0withSTRATA_PROMPT_ATTN_ESIMD=0. Suspected cause is this build ignoring-ffp-contract=offunder clang-cl — unconfirmed.The full record, and the runs behind each number:
docs/INTEL_ARC.mdon the branch, reports underbench/results/2026-10-30-dev-256k-standard-v1*. ctest 83 of 85 (the Q2_0 fixture and the ESIMD case),test_setup_sycl52/52.The decision is still #5236: merge a port, publish a preview component, or defer until Windows hardware is on the maintainer's bench. Your data point argues for the second, and the patch you attached is the cheapest form of it.