Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
sycl: AOT build (bmg-g31) - 15.2 tok/s decode, 28.8 tok/s prompt, first token in 0.85 s, no JIT
maxfridbe46ecab131024
diff --git a/README.md b/README.mdindex 8bbceb170..8dfe18649 100644--- a/README.md+++ b/README.md@@ -33,7 +33,7 @@ of a word): faster than you can read.> | Engine | llama.cpp 0.4.1-dev (b29c606), community SYCL build for the B70, oneAPI 2026.1, `ghcr.io/snailium/llama.cpp-sycl-intel-b70` |> | Model | Qwen3.8-Flash-Next GSQ-RCO **Coder**, IQ1_M: all 29.6 GB of shard 1 on the card |> | Measured | 23-25 tok/s decode (GPU-bound); prompt reading 150 tok/s on short prompts, 424 tok/s at 105k tokens; 128k context fits on the card; correct code; see [docs/INTEL.md](docs/INTEL.md) |-> | SYCL port of the engine | `sycl/`: the CUDA engine migrated to SYCL and **generating correct text on the B70** at ~13 tok/s steady state (kernels untuned, tensor-core paths still scalar); `--stream-experts` fills the VRAM cache straight from the GGUF, so it runs on 23 GiB of RAM - [details](docs/INTEL.md#the-engine-itself-on-intel-the-sycl-port-sycl) |+> | SYCL port of the engine | `sycl/`: the CUDA engine migrated to SYCL and **generating correct text on the B70** at 15 tok/s decode, 29 tok/s prompt reading (AOT build; kernels untuned, tensor-core paths still scalar); `--stream-experts` fills the VRAM cache straight from the GGUF, so it runs on 23 GiB of RAM - [details](docs/INTEL.md#the-engine-itself-on-intel-the-sycl-port-sycl) |>> No CUDA, no compiler: `./setup.sh` detects the Arc and does the rest. Not yet on this path: images> and MTP speculative decoding. Everything below this box is the original README for NVIDIA cards.diff --git a/docs/INTEL.md b/docs/INTEL.mdindex 346a74aed..5ea707f4c 100644--- a/docs/INTEL.md+++ b/docs/INTEL.md@@ -159,10 +159,14 @@ that returns the n-th Fibonacci number", greedy, 64 tokens:> options: 1. **Recursive approach** - Simple but O(2^n) time complexity, very slow for large n. 2.> **Iterative approach** - O(n) time, O(1) ...-Measured: **~13 tok/s steady state** (64 tokens in 52.0 s of which ~47 s is the first window: the SYCL-runtime JIT-compiles every kernel on first use; 6 tokens take 47.5 s, 64 take 52.0 s). llama.cpp's SYCL-build does 23-25 tok/s on the same card; Strata's kernels have had no tuning for Xe2 yet and its-tensor-core paths are still the scalar fallbacks. Prompt reading is 2 tok/s and unoptimised.+Measured, ahead-of-time build (`-DSTRATA_SYCL_AOT=bmg-g31`): **15.2 tok/s decode** (32 tokens in 2.1 s,+1.23 tokens per speculative round of 6), **28.8 tok/s prompt reading**, first token 0.85 s after the+prompt. A window of 4 tokens through all 48 layers takes 73 ms on the card. llama.cpp's SYCL build does+23-25 tok/s on the same card; Strata's kernels have had no tuning for Xe2 yet and its tensor-core paths+are still the scalar fallbacks. Without AOT the runtime JIT-compiles every kernel on first use, ~47 s the+first time a process runs; `SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_DIR=<dir>` keeps that across runs (15 MB,+second start 15.6 tok/s from the first token) - the segfault llama.cpp's build has with the persistent+cache did not show up here.How to run it (all of this is what `coderiq1/sycl/run-engine-test.sh` does):@@ -197,8 +201,7 @@ What the port had to get right beyond compiling (each is an entry in `sycl/tools- `native_expert_parity` hand-ported: the GPU native expert kernel matches ggml's float reference on realIQ1_M rows (rel 1.1e-2, the same class as the CPU path).-Known: the process segfaults at exit (teardown order; the output is complete by then), and the first-window's JIT (an AOT build with `-DSTRATA_SYCL_AOT=bmg-g31` is the fix, in progress).+Known: the process segfaults at exit (teardown order; the output is complete by then).**Not ported yet.**diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txtindex eda1ff0d4..2214bb01f 100644--- a/sycl/CMakeLists.txt+++ b/sycl/CMakeLists.txt@@ -24,7 +24,7 @@ set(STRATA_SYCL_AOT "" CACHE STRING "AOT device for the GPU code, e.g. bmg-g31 (set(_sycl_flags -fsycl)if(STRATA_SYCL_AOT)list(APPEND _sycl_flags -fsycl-targets=spir64_gen)- set(_sycl_link -fsycl -fsycl-targets=spir64_gen "-Xs=-device ${STRATA_SYCL_AOT}")+ set(_sycl_link -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device ${STRATA_SYCL_AOT}")else()set(_sycl_link -fsycl)endif()