[PR #4712] [Engine] SYCL: Intel Arc on Windows, and an integrated Arc B390 (shared memory, oneAPI build, served) #5143

Open
opened 2026-11-07 16:33:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4712
Author: @yangweijie
Created: 10/30/2026
Status: 🔄 Open

Base: main ← Head: pr-arc-b390


📝 Commits (7)

  • 6435673 [Engine] SYCL: Intel Arc on Windows, and an integrated Arc B390 sized from its shared-memory budget
  • 6139053 [Other] The Terminal on Windows with an Intel card: the card is seen, and the plan says build rather than download
  • 649b856 [Other] setup's Intel route on Windows: pin Level Zero only where it answers, and say what to do where it does not
  • 0d00df4 [Engine] SYCL: an integrated Arc is sized against the RAM the computer can give, and waits for the CPU as an A-series does
  • 44e7e88 [Other] doctor: an Intel run on Windows that cannot reach oneAPI says so, in the words that fix it
  • c745d7c [Docs] INTEL_ARC: the Windows build has to run in the setvars window, and doctor says when oneAPI is unreachable
  • e985fe0 [Other] The launcher folds a built-in chip that the registry names several times into one card

📊 Changes

24 files changed (+744 additions, -89 deletions)

View changed files

📝 docs/DOCKER.md (+1 -1)
📝 docs/INTEL_ARC.md (+87 -12)
📝 include/strata/platform/memory.hpp (+13 -0)
📝 packaging/README.md (+1 -1)
📝 setup.py (+4 -6)
📝 src/platform/memory.cpp (+96 -0)
📝 strata_cli/launch/catalog.py (+47 -3)
📝 strata_cli/launch/runner.py (+25 -1)
📝 strata_control/doctor.py (+19 -0)
📝 strata_control/engine_component.py (+19 -0)
📝 strata_control/targets.py (+9 -0)
📝 sycl/CMakeLists.txt (+8 -0)
📝 sycl/include/strata/core/gguf_expert_source.hpp (+4 -2)
📝 sycl/include/strata/sycl_doorbell.hpp (+10 -1)
📝 sycl/setup_intel.py (+94 -14)
📝 sycl/src/core/expert_cache.cpp (+67 -10)
📝 sycl/src/core/gguf_expert_source.cpp (+81 -13)
📝 sycl/src/core/pinned.dp.cpp (+6 -7)
📝 sycl/src/kernels/cuda/verify_kernels.dp.cpp (+2 -2)
📝 sycl/src/prefill/prefill.cpp (+7 -0)

...and 4 more files

📄 Description

The problem and the result

Strata had no Intel Arc path on Windows: setup --backend sycl stopped with "the Intel Arc engine has no Windows
setup yet", the SYCL build was only ever invoked with icpx, the cache sizing's unified-memory rule sat behind
#if defined(__linux__) on a flag the SYCL port never sets, and the Terminal saw no graphics card at all on a PC
whose only GPU is Intel. An integrated Arc - the B390 of a Panther Lake PC, issue #515 - had nothing: it has no
memory of its own, so everything (experts, KV, draft layer) competes for the same RAM as the desktop.

The engine now builds and serves on Windows, and this PC's Arc B390 answers requests through Strata's
OpenAI-compatible API.

Base main, head yangweijie:pr-arc-b390 (branch pr-arc-b390, 7 commits, 24 files, +744/-89):

commit what it does
[Engine] SYCL: Intel Arc on Windows, and an integrated Arc B390 sized from its shared-memory budget the Windows build, the platform DXGI query, the shared-memory cache sizing
[Other] The Terminal on Windows with an Intel card: the card is seen, and the plan says build rather than download the launcher reads the Intel adapter from Windows' device list; the plan and the component refusal say the truth
[Other] setup's Intel route on Windows: pin Level Zero only where it answers the config writes the device selector only where Level Zero is reachable
[Engine] SYCL: an integrated Arc is sized against the RAM the computer can give, and waits for the CPU as an A-series does the two rules the first served requests taught
[Other] doctor: an Intel run on Windows that cannot reach oneAPI says so, in the words that fix it the Level Zero probe, one owner, and a check that names the fix
[Docs] INTEL_ARC: the Windows build has to run in the setvars window, and doctor says when oneAPI is unreachable the two pieces of build friction, written down
[Other] The launcher folds a built-in chip that the registry names several times into one card the B390 is one card, not three (two identical discrete Arcs stay two)

The approach

Building on Windows. sycl/CMakeLists.txt links the MKL SYCL/ILP64/core import libraries, which -qmkl adds by
itself on Linux and not at all on Windows. The rest are the places where the port assumed a POSIX platform: the
streamed GGUF expert source reads its shards through a read mapping (there is no pread, and an OVERLAPPED read on a
handle shared between threads answered 0 bytes while another read was in flight); prefill.cpp gets _mkdir;
generate.cpp a memmem replacement; verify_kernels.dp.cpp renames a template parameter OUT and generate.cpp
the ring-budget locals small, both of which the Windows SDK defines as macros.

Knowing the card. strata::platform::gpu_shared_memory_budget_intel asks Windows (IDXGIAdapter3) for an Intel
adapter's memory budget and whether it runs in system RAM. The SYCL runtime names no adapter by LUID, so it is matched
by PCI device id and, when that answers nothing (the OpenCL device answers with the CPU's id), as the Intel adapter
with the largest pool. Measured on a B390, driver 32.0.101.9150: 0.12 GiB dedicated, 26.67 GiB in the LOCAL segment
and none in NON_LOCAL
- the driver puts an iGPU's usable pool in the local segment, so the pool is the larger of the
two segments, not the non-local one. An adapter with under 1 GiB of its own is one that shares the machine's memory.

Sizing the cache. device_free_bytes() raises the driver's figure to that budget minus STRATA_UMA_HEADROOM_GIB
(the setting the Linux unified-memory rule already used) and then caps it by what the OS can actually hand out
(available_physical_memory: ullAvailPhys on Windows, MemAvailable on Linux), because the budget is a per-process
permission while the model, the KV, the draft layer and the desktop all live in the same RAM. The Windows
pinned-arena limit (#243) uses the same query instead of CUDA device properties.

Waiting for the CPU. An integrated Arc computes the experts that do not fit the cache on the CPU, exactly like an
Arc A-series on i915, so its window waits must complete rather than expire; with the B-series bound of 20,000 reads
the GPU went on with the experts' outputs missing - the crash sycl_doorbell.hpp already documents for the A750. The
shared-memory sizing sets the long bound before any launch. STRATA_SPIN_MAX still overrides; a card with its own
memory is untouched.

The route the person is shown. sycl/setup_intel.py reads the Intel adapter from Windows' device list (there is no
/sys/class/drm), uses build-win\strata.exe, and writes a native config: lib_dirs for the oneAPI runtime DLLs and,
when Level Zero answers for that process, ONEAPI_DEVICE_SELECTOR=level_zero:gpu + ZES_ENABLE_SYSMAN=1. Where
Level Zero is not reachable nothing is pinned (a forced selector with no Level Zero device leaves the engine with no
graphics device at all) and setup says to run Strata where setvars.bat has run. strata launch --plan on such a PC
says "no Intel engine to download: build it with Intel oneAPI and run setup --backend sycl" instead of promising a
download; targets.py keeps the package matrix Linux-only because no Intel package exists for any system.

Validation

All on the machine this change targets: Intel Arc B390 iGPU (8086:b082), Core Ultra X7 358H, 31.5 GB RAM, Windows,
driver 32.0.101.9150, oneAPI 2026.1.1, engine 0.1.54 built from source with icx, Qwen3.8-Flash-Next IQ1_M,
--spec 6, 8K context.

Passed

  • cmake -S sycl -B build-win (icx, Ninja) + ninja strata: 0 errors.
  • the API answers, with no engine-environment overrides: "What is 128 + 256?" -> 384; "Name three colors, comma
    separated." -> red, blue, green. 48 tokens in 45.8 s and 57 tokens in 30.1 s; cache 2,861 of 12,288 experts,
    hit rate 58-67%.
  • a one-shot session: 9,552 experts resident (18.19 GiB, filled at 1.23 GB/s), 21.8 GB/s host to device,
    32 greedy tokens at 10.5 tok/s, 14 of 14 drafts accepted, first token after 15.7 s, exit 0.
  • the shared-memory sizing on a device that reports no free memory at all (OpenCL): before, 0.00 GiB free and the
    session refused; after, 15.05 GiB and 6,075 slots.
  • the RAM cap and the wait bound, each reproduced as a failure first: with the cache at 17.68 GiB a served request ran
    with 318 MiB of RAM left on the computer and died 0xC0000005; with the 20,000-read bound the served request died
    the same way at 5.95 GiB of cache (twice). Both fixes together serve correctly.
  • src/platform/memory.cpp (shared with the CUDA and HIP builds) compiles with MSVC cl.
  • the whole route, with nothing typed by hand: sycl/setup_intel.py's own to_sycl() was run on this PC (in a
    window where setvars.bat has run, so its level_zero_answers() answers True). It saw the card
    ('Intel Arc B390', 31.5 GB, integrated=True) and wrote backend: sycl, exe: build-win\strata.exe, the three
    oneAPI lib_dirs, env: {ONEAPI_DEVICE_SELECTOR: level_zero:gpu, ZES_ENABLE_SYSMAN: 1} and absolute model paths.
    Serving exactly that config answered "Reply with the number only: what is 128 + 256?" with content 384
    (49 tokens in 27.0 s).
  • the official CLI routes on this PC: strata serve --engine strata --config <that sycl config> --plan plans it
    (ok: true, engine and files resolved); strata launch --plan --model-path <the IQ1_M files already on disk> --data-dir <Strata-data> recognises them ("These files are coder IQ1_M"), says nothing to download and prints the
    Intel build instruction instead of a download promise. Both changed nothing.
  • strata doctor --profile <a config with "backend": "sycl"> on this PC, both sides: from a plain shell it reports
    ONEAPI_NOT_REACHABLE with the setvars fix; from a shell where setvars.bat has run, sycl-ls answers one
    Level Zero GPU and the same report is quiet.
  • tests: python tools/test_setup_sycl.py 27 (5 new Windows cases), pytest tests/terminal/test_archive_gaps.py 12
    passed, 1 skipped (2 new doctor cases), pytest tests/terminal/test_sycl_package.py test_flow2_022.py test_tui2_023_plan.py test_linux_aarch64.py test_engine_component.py test_launch.py tests/sycl 131 passed, 1
    skipped, 1 failed (that failure is pre-existing, see below).
  • the whole tests/terminal, this branch and main run on the same PC at the same time: branch 13 failed, 1,714
    passed, 90 skipped
    ; main 13 failed, 1,708 passed, 90 skipped. Twelve names are identical on both -
    test_dsv41_own_files_and_mmproj (3), test_install_scripts_env, test_launch, test_lifecycle_matrix (2),
    test_monitor_bundle (2), test_tui3, test_tuiqa_browser, test_bundle_imports - and none of them is Intel or
    SYCL code; several need textual, which is not installed here. The two that differ are timing flakes under the
    load of two suites plus engine runs, not regressions: test_bench_standard.py::...never_finishes_times_out failed
    once on the branch inside that run and then passed 8/8 in isolation on the branch and 4/4 on main;
    test_no_acquisition.py::test_update_still_installs failed once in main's run and passed 2/2 on the branch.
    The branch's own run also had two full engine sessions competing for the same 31.5 GB of RAM.

Failed - nothing of this change failed. Each failure named above is a pre-fix failure, kept deliberately as the
evidence that the two rules are load-bearing.

Not run

  • the CUDA and HIP engine builds: no CUDA or ROCm SDK here. Two shared files changed, src/platform/memory.cpp and
    its header, both additions; no existing function changed, and cl compiles them.
  • the Linux SYCL build, Docker and strata-sycl.sh: no Linux machine. The Linux branch of device_free_bytes() is
    unchanged except that it now calls one shared helper for the same headroom value.
  • prompt throughput on a long prompt, contexts past 8K, pictures, a second card, an integrated Arc other than the
    B390, the desktop app, and answer quality beyond the two prompts above.

Limits

One card on one PC. 31.5 GB of shared RAM is the real ceiling: with IQ1_M most experts do not fit, so serving runs at
1-2 tok/s while the one-shot run with more experts resident reached 10.5 tok/s - speed here is a memory question, not
a kernel one, and the engine now caps the cache to protect the machine instead of filling the budget. Windows still
has no Intel engine package: the user builds with oneAPI, as on Linux. An integrated Arc's figures come from Windows'
per-process budget, so other programs and the desktop take memory first; the engine prints which number it used. The
GPU's generation is classified as Battlemage from its marketing name (the runtime reports no architecture for Xe3),
which is what engages the B-series kernels; those were exercised by the runs above but not compared kernel-by-kernel
against a discrete B-series card.


🔄 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/4712 **Author:** [@yangweijie](https://github.com/yangweijie) **Created:** 10/30/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `pr-arc-b390` --- ### 📝 Commits (7) - [`6435673`](https://github.com/Niko1221/Strata/commit/6435673677be5d746c7aef313f1aab31a03610fa) [Engine] SYCL: Intel Arc on Windows, and an integrated Arc B390 sized from its shared-memory budget - [`6139053`](https://github.com/Niko1221/Strata/commit/6139053d35c8ff7a51f369a1fee4c91d052bcb39) [Other] The Terminal on Windows with an Intel card: the card is seen, and the plan says build rather than download - [`649b856`](https://github.com/Niko1221/Strata/commit/649b856d1ba4d99a772e16f1e06fedd470204d91) [Other] setup's Intel route on Windows: pin Level Zero only where it answers, and say what to do where it does not - [`0d00df4`](https://github.com/Niko1221/Strata/commit/0d00df49897d2dd466b2857133760d4a29bb58db) [Engine] SYCL: an integrated Arc is sized against the RAM the computer can give, and waits for the CPU as an A-series does - [`44e7e88`](https://github.com/Niko1221/Strata/commit/44e7e8853caca9275034b435e946df26adea0937) [Other] doctor: an Intel run on Windows that cannot reach oneAPI says so, in the words that fix it - [`c745d7c`](https://github.com/Niko1221/Strata/commit/c745d7c7c1e446cb72dbd1bc4629d64da3c3ea14) [Docs] INTEL_ARC: the Windows build has to run in the setvars window, and doctor says when oneAPI is unreachable - [`e985fe0`](https://github.com/Niko1221/Strata/commit/e985fe00e7cb71befbd5c26e66d3a1445025ee13) [Other] The launcher folds a built-in chip that the registry names several times into one card ### 📊 Changes **24 files changed** (+744 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `docs/DOCKER.md` (+1 -1) 📝 `docs/INTEL_ARC.md` (+87 -12) 📝 `include/strata/platform/memory.hpp` (+13 -0) 📝 `packaging/README.md` (+1 -1) 📝 `setup.py` (+4 -6) 📝 `src/platform/memory.cpp` (+96 -0) 📝 `strata_cli/launch/catalog.py` (+47 -3) 📝 `strata_cli/launch/runner.py` (+25 -1) 📝 `strata_control/doctor.py` (+19 -0) 📝 `strata_control/engine_component.py` (+19 -0) 📝 `strata_control/targets.py` (+9 -0) 📝 `sycl/CMakeLists.txt` (+8 -0) 📝 `sycl/include/strata/core/gguf_expert_source.hpp` (+4 -2) 📝 `sycl/include/strata/sycl_doorbell.hpp` (+10 -1) 📝 `sycl/setup_intel.py` (+94 -14) 📝 `sycl/src/core/expert_cache.cpp` (+67 -10) 📝 `sycl/src/core/gguf_expert_source.cpp` (+81 -13) 📝 `sycl/src/core/pinned.dp.cpp` (+6 -7) 📝 `sycl/src/kernels/cuda/verify_kernels.dp.cpp` (+2 -2) 📝 `sycl/src/prefill/prefill.cpp` (+7 -0) _...and 4 more files_ </details> ### 📄 Description ## The problem and the result Strata had no Intel Arc path on Windows: `setup --backend sycl` stopped with "the Intel Arc engine has no Windows setup yet", the SYCL build was only ever invoked with `icpx`, the cache sizing's unified-memory rule sat behind `#if defined(__linux__)` on a flag the SYCL port never sets, and the Terminal saw no graphics card at all on a PC whose only GPU is Intel. An integrated Arc - the B390 of a Panther Lake PC, issue #515 - had nothing: it has no memory of its own, so everything (experts, KV, draft layer) competes for the same RAM as the desktop. The engine now builds and serves on Windows, and this PC's Arc B390 answers requests through Strata's OpenAI-compatible API. Base `main`, head `yangweijie:pr-arc-b390` (branch `pr-arc-b390`, 7 commits, 24 files, +744/-89): | commit | what it does | | --- | --- | | `[Engine] SYCL: Intel Arc on Windows, and an integrated Arc B390 sized from its shared-memory budget` | the Windows build, the platform DXGI query, the shared-memory cache sizing | | `[Other] The Terminal on Windows with an Intel card: the card is seen, and the plan says build rather than download` | the launcher reads the Intel adapter from Windows' device list; the plan and the component refusal say the truth | | `[Other] setup's Intel route on Windows: pin Level Zero only where it answers` | the config writes the device selector only where Level Zero is reachable | | `[Engine] SYCL: an integrated Arc is sized against the RAM the computer can give, and waits for the CPU as an A-series does` | the two rules the first served requests taught | | `[Other] doctor: an Intel run on Windows that cannot reach oneAPI says so, in the words that fix it` | the Level Zero probe, one owner, and a check that names the fix | | `[Docs] INTEL_ARC: the Windows build has to run in the setvars window, and doctor says when oneAPI is unreachable` | the two pieces of build friction, written down | | `[Other] The launcher folds a built-in chip that the registry names several times into one card` | the B390 is one card, not three (two identical discrete Arcs stay two) | ## The approach **Building on Windows.** `sycl/CMakeLists.txt` links the MKL SYCL/ILP64/core import libraries, which `-qmkl` adds by itself on Linux and not at all on Windows. The rest are the places where the port assumed a POSIX platform: the streamed GGUF expert source reads its shards through a read mapping (there is no `pread`, and an OVERLAPPED read on a handle shared between threads answered 0 bytes while another read was in flight); `prefill.cpp` gets `_mkdir`; `generate.cpp` a `memmem` replacement; `verify_kernels.dp.cpp` renames a template parameter `OUT` and `generate.cpp` the ring-budget locals `small`, both of which the Windows SDK defines as macros. **Knowing the card.** `strata::platform::gpu_shared_memory_budget_intel` asks Windows (IDXGIAdapter3) for an Intel adapter's memory budget and whether it runs in system RAM. The SYCL runtime names no adapter by LUID, so it is matched by PCI device id and, when that answers nothing (the OpenCL device answers with the CPU's id), as the Intel adapter with the largest pool. Measured on a B390, driver 32.0.101.9150: 0.12 GiB dedicated, **26.67 GiB in the LOCAL segment and none in NON_LOCAL** - the driver puts an iGPU's usable pool in the local segment, so the pool is the larger of the two segments, not the non-local one. An adapter with under 1 GiB of its own is one that shares the machine's memory. **Sizing the cache.** `device_free_bytes()` raises the driver's figure to that budget minus `STRATA_UMA_HEADROOM_GIB` (the setting the Linux unified-memory rule already used) and then caps it by what the OS can actually hand out (`available_physical_memory`: ullAvailPhys on Windows, MemAvailable on Linux), because the budget is a per-process permission while the model, the KV, the draft layer and the desktop all live in the same RAM. The Windows pinned-arena limit (#243) uses the same query instead of CUDA device properties. **Waiting for the CPU.** An integrated Arc computes the experts that do not fit the cache on the CPU, exactly like an Arc A-series on i915, so its window waits must complete rather than expire; with the B-series bound of 20,000 reads the GPU went on with the experts' outputs missing - the crash `sycl_doorbell.hpp` already documents for the A750. The shared-memory sizing sets the long bound before any launch. `STRATA_SPIN_MAX` still overrides; a card with its own memory is untouched. **The route the person is shown.** `sycl/setup_intel.py` reads the Intel adapter from Windows' device list (there is no `/sys/class/drm`), uses `build-win\strata.exe`, and writes a native config: `lib_dirs` for the oneAPI runtime DLLs and, when Level Zero answers for that process, `ONEAPI_DEVICE_SELECTOR=level_zero:gpu` + `ZES_ENABLE_SYSMAN=1`. Where Level Zero is not reachable nothing is pinned (a forced selector with no Level Zero device leaves the engine with no graphics device at all) and setup says to run Strata where `setvars.bat` has run. `strata launch --plan` on such a PC says "no Intel engine to download: build it with Intel oneAPI and run `setup --backend sycl`" instead of promising a download; `targets.py` keeps the *package* matrix Linux-only because no Intel package exists for any system. ## Validation All on the machine this change targets: **Intel Arc B390 iGPU (`8086:b082`), Core Ultra X7 358H, 31.5 GB RAM, Windows, driver 32.0.101.9150, oneAPI 2026.1.1, engine 0.1.54 built from source with `icx`, Qwen3.8-Flash-Next IQ1_M, `--spec 6`, 8K context.** **Passed** - `cmake -S sycl -B build-win` (icx, Ninja) + `ninja strata`: 0 errors. - the API answers, with no engine-environment overrides: "What is 128 + 256?" -> **384**; "Name three colors, comma separated." -> **red, blue, green**. 48 tokens in 45.8 s and 57 tokens in 30.1 s; cache 2,861 of 12,288 experts, hit rate 58-67%. - a one-shot session: 9,552 experts resident (18.19 GiB, filled at 1.23 GB/s), 21.8 GB/s host to device, **32 greedy tokens at 10.5 tok/s**, 14 of 14 drafts accepted, first token after 15.7 s, exit 0. - the shared-memory sizing on a device that reports no free memory at all (OpenCL): before, 0.00 GiB free and the session refused; after, 15.05 GiB and 6,075 slots. - the RAM cap and the wait bound, each reproduced as a failure first: with the cache at 17.68 GiB a served request ran with 318 MiB of RAM left on the computer and died `0xC0000005`; with the 20,000-read bound the served request died the same way at 5.95 GiB of cache (twice). Both fixes together serve correctly. - `src/platform/memory.cpp` (shared with the CUDA and HIP builds) compiles with MSVC `cl`. - **the whole route, with nothing typed by hand**: `sycl/setup_intel.py`'s own `to_sycl()` was run on this PC (in a window where `setvars.bat` has run, so its `level_zero_answers()` answers True). It saw the card `('Intel Arc B390', 31.5 GB, integrated=True)` and wrote `backend: sycl`, `exe: build-win\strata.exe`, the three oneAPI `lib_dirs`, `env: {ONEAPI_DEVICE_SELECTOR: level_zero:gpu, ZES_ENABLE_SYSMAN: 1}` and absolute model paths. Serving exactly that config answered "Reply with the number only: what is 128 + 256?" with content **`384`** (49 tokens in 27.0 s). - the official CLI routes on this PC: `strata serve --engine strata --config <that sycl config> --plan` plans it (`ok: true`, engine and files resolved); `strata launch --plan --model-path <the IQ1_M files already on disk> --data-dir <Strata-data>` recognises them ("These files are coder IQ1_M"), says *nothing to download* and prints the Intel build instruction instead of a download promise. Both changed nothing. - `strata doctor --profile <a config with "backend": "sycl">` on this PC, both sides: from a plain shell it reports `ONEAPI_NOT_REACHABLE` with the setvars fix; from a shell where `setvars.bat` has run, `sycl-ls` answers one Level Zero GPU and the same report is quiet. - tests: `python tools/test_setup_sycl.py` 27 (5 new Windows cases), `pytest tests/terminal/test_archive_gaps.py` 12 passed, 1 skipped (2 new doctor cases), `pytest tests/terminal/test_sycl_package.py test_flow2_022.py test_tui2_023_plan.py test_linux_aarch64.py test_engine_component.py test_launch.py tests/sycl` 131 passed, 1 skipped, 1 failed (that failure is pre-existing, see below). - the whole `tests/terminal`, this branch and `main` run on the same PC at the same time: branch **13 failed, 1,714 passed, 90 skipped**; `main` **13 failed, 1,708 passed, 90 skipped**. Twelve names are identical on both - `test_dsv41_own_files_and_mmproj` (3), `test_install_scripts_env`, `test_launch`, `test_lifecycle_matrix` (2), `test_monitor_bundle` (2), `test_tui3`, `test_tuiqa_browser`, `test_bundle_imports` - and none of them is Intel or SYCL code; several need `textual`, which is not installed here. The two that differ are timing flakes under the load of two suites plus engine runs, not regressions: `test_bench_standard.py::...never_finishes_times_out` failed once on the branch inside that run and then passed 8/8 in isolation on the branch and 4/4 on `main`; `test_no_acquisition.py::test_update_still_installs` failed once in `main`'s run and passed 2/2 on the branch. The branch's own run also had two full engine sessions competing for the same 31.5 GB of RAM. **Failed** - nothing of this change failed. Each failure named above is a *pre-fix* failure, kept deliberately as the evidence that the two rules are load-bearing. **Not run** - the CUDA and HIP engine builds: no CUDA or ROCm SDK here. Two shared files changed, `src/platform/memory.cpp` and its header, both additions; no existing function changed, and `cl` compiles them. - the Linux SYCL build, Docker and `strata-sycl.sh`: no Linux machine. The Linux branch of `device_free_bytes()` is unchanged except that it now calls one shared helper for the same headroom value. - prompt throughput on a long prompt, contexts past 8K, pictures, a second card, an integrated Arc other than the B390, the desktop app, and answer quality beyond the two prompts above. ## Limits One card on one PC. 31.5 GB of shared RAM is the real ceiling: with IQ1_M most experts do not fit, so serving runs at 1-2 tok/s while the one-shot run with more experts resident reached 10.5 tok/s - speed here is a memory question, not a kernel one, and the engine now caps the cache to protect the machine instead of filling the budget. Windows still has no Intel engine package: the user builds with oneAPI, as on Linux. An integrated Arc's figures come from Windows' per-process budget, so other programs and the desktop take memory first; the engine prints which number it used. The GPU's generation is classified as Battlemage from its marketing name (the runtime reports no architecture for Xe3), which is what engages the B-series kernels; those were exercised by the runs above but not compared kernel-by-kernel against a discrete B-series card. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#5143
No description provided.