Skip to content

[Engine] Inkling-2-Mini on Intel Arc Pro B70 (SYCL 0.1.65): 25 tok/s decode, 175 tok/s prefill vs 159.2 claimed #6595

Open

Description

@djgene01

The v0.2.19 release notes say Inkling 2 Mini reaches 159.2 tok/s on Intel Arc Pro B70 32 GB. With the published Linux SYCL package and the SQ-20 pack, I measure 25 to 27 tok/s decode and 175 to 185 tok/s prefill on the same card. That is about 6x slower for decode. Prefill is the bigger problem in practice: a 20.5K-token agent prompt takes about 2 minutes before the first token.

Could you say which build, pack and settings produced the 159.2 figure, so I can reproduce it?

Setup

  • GPU: Intel Arc Pro B70 32 GB (PCI id 0xe223), max clock 2800 MHz, single card
  • Host: Ubuntu 26.04 LTS, kernel 7.0.0-43-generic, AMD Ryzen 7 3700X, 60 GiB RAM
  • Intel compute runtime: libze-intel-gpu1 / intel-opencl-icd 26.05.37020.3-1
  • Engine: strata-inkling-0.1.65-linux-x86_64-sycl.tar.gz from the v0.2.19 release (sha256 66cb6a0e… matches SHA256SUMS.txt). BUILD.json: commit 26350e4387b8, oneAPI DPC++ 2026.1.1 + oneMKL 2026.1, AOT acm-g10/bmg-g21/bmg-g31 + spir64
  • Model: Inkling-2-Mini-SQ-20.strata + Inkling-2-Mini-Vision.strata from strata-engine/Inkling-2-Mini-Strata, both checksum OK
  • Served through terminal/serve/server.py from the v0.2.19 tag, but the numbers below come from the engine's own --bench, with no server in the way

The model loads fully on the GPU, DSpark is on, and INK_SY_DEBUG=1 shows clean activations (no NaN/Inf):

[ink_sycl] loaded model/Inkling-2-Mini-SQ-20.strata (build=SQ-20, minor=1, dev=Intel(R) Graphics [0xe223] 30.3 GiB) in 4.71s | VRAM experts=3072/3072 (14.60 GiB, 5 slabs), Host-USM=0
[ink_sycl] runner ready: slots=1 ctx=32768 batch=512 dspark=1 hybrid=0 | KV=1184.0 MiB SC=3.7 MiB DevAlloc=19.87 GiB

Results

Command: ./strata-inkling --bench --native Inkling-2-Mini-SQ-20.strata --prompt-len 2048 --gen 128 (with LD_LIBRARY_PATH set to the package folder)

Variant Prefill (tok/s) Decode (tok/s)
default 175.8 25.5
INK_SYCL_XMX_MOE_MIN_N=1 175.8 25.5
INK_SYCL_NO_XMX=1 120.2 25.4
INK_SYCL_BACKEND=level_zero 180.0 25.5
INK_SYCL_BACKEND=opencl 172.4 25.7
--prompt-len 512 --gen 256 185.4 27.2
--parallel 4 --prompt-len 512 --gen 128 188.8 59.8 total (14.9 per slot)
--parallel 8 --prompt-len 512 --gen 128 185.8 64.2 total (8.0 per slot)

So XMX is in use (turning it off slows prefill), the driver backend makes no difference, and even 8 parallel streams reach only 64 tok/s in total, so 159.2 does not look like an aggregate figure either.

Through the server, single requests log about 26 to 28 tok/s decode, and a 35K-token prompt took about 4 minutes to read.

For comparison, the same card runs Qwen3.8-27B (GPTQ int4, MTP) on vLLM XPU at about 73 tok/s decode and reads prompts well above 1,000 tok/s, so the card and driver seem healthy.

Minor, possibly related

  • With reasoning_effort: "none", the model still spends about 190 completion tokens before any visible content, so a request with a small max_tokens (80) comes back with empty content and finish_reason: "length".
  • The server's progress line says reading the prompt: N of max M tokens while it is generating these hidden tokens.

Happy to run another build or any diagnostics on this card.

Activity

  1. jinsoojinsoo commented on Nov 23, 2026

    @jinsoojinsoo

    Adding a second B70 datapoint (2× Arc Pro B70 32 GB host) that corroborates your numbers on 0.1.65 and
    extends them to 0.1.66 (v0.2.20). Same card (0xe223), Ubuntu 26.04, kernel 7.0.0-43,
    intel-opencl-icd 26.05.37020.3, Threadripper 3970X (AVX2-only), 121 GiB RAM. Engine assets sha-verified
    against SHA256SUMS.txt; SQ-20 pack sha-verified.

    Engine --bench, SQ-20, fp16 KV, 4096-prompt / 256-gen, one card:

    engine prefill (ppts) decode (tps)
    0.1.65 (v0.2.19) 176.0 24.9
    0.1.66 (v0.2.20) 171.6 22.0
    0.1.66 --gpus 2 (EP2) 103.1 22.0

    So 0.1.66 is a small regression on this card, and the new dual-GPU expert-parallel mode is worse for
    prefill
    (−41%) with no decode gain — the second card adds PCIe round-trips without parallel benefit at
    parallel=1. --kv k8v8 is a no-op on SYCL (171.5 / 22.0, identical to fp16), consistent with #6681/#6692
    (the SYCL pool allocates fp16-sized pages regardless).

    Through serve/server.py (300-token prose, 32K ctx, 1 card): 0.1.65 --draft off = 29.5 tok/s;
    0.1.66 --draft off = 25.2 tok/s; 0.1.66 --draft dspark = 12.0 / 10.8 tok/s. The drafter is
    actively harmful on SYCL here — see the note on #6676.

    For reference on the same card, the OpenCL/llama.cpp path (arcint 1.8.0, IQ4_NL) reaches 336 tok/s prefill
    and 32 tok/s decode on the same workload, so the card and driver are healthy — the gap is engine-side.

    We also found a hard bug on the GGUF+DSpark path on SYCL (engine exits 2, missing dspark tensor dspark.fuse_weight) and filed it separately with a fix: #6717.

  2. kgmkm commented on Nov 23, 2026

    @kgmkm
    Contributor

    Same GPU here (Arc Pro B70 32 GB, Level-Zero, oneAPI 2026.2.0, Ryzen 7 3700X, Ubuntu 26.04), full-VRAM residency confirmed in the load banner every time (VRAM experts=3072/3072 … Host-USM=0), all numbers from the serve log's own per-request lines, one session per data point, same-day runs:

    • SQ-20, engine 0.1.65 (v0.2.19 package): decode 14.4–14.5 tok/s (476-token answer), prefill ~172 tok/s on a 4,873-token prompt — the same neighborhood as this issue's 25 tok/s / 175 tok/s, far from the 159.2 tok/s claim.
    • SQ-20, engine 0.1.66 (v0.2.20 package), DSpark on in both cases: decode 7.7 tok/s (319-token answer, two identical runs: 42.2 s / 42.7 s wall), prefill ~129 tok/s (4,887-token prompt, wall-derived) — the SQ path got slower between 0.1.65 and 0.1.66 on this card, both directions.
    • Unsloth UD-Q4_K_XL GGUF via the new GGUF_RAW path, engine 0.1.66: decode 23.7 tok/s (200-token answer; drafting off — this GGUF has no embedded drafter), all 3072/3072 experts in VRAM, GGUF_RAW SG16+XMX kernels active … zero S_K transcode. On this card the GGUF_RAW path is currently ~3× faster than the SQ packs, which may be the more useful reading of the 0.2.20 release for B70 owners.

    Not run: other SQ packs, --parallel concurrency and other flag combinations that might reach the claimed numbers, Windows, dual-GPU.

    One caution worth adding for anyone comparing numbers across days on these cards: the same binary (Qwen, strata-engine) measured a day apart drifted ~10 % in decode here (40.1 → 35.4 tok/s, same config), so only same-day numbers should be compared.

  3. deriknel commented on Nov 23, 2026

    @deriknel

    A third B70 host, same picture on 0.1.65 and 0.1.66. Adding the quants and paths this thread does not have yet.

    Setup: 2x Arc Pro B70 32 GB (0xe223), i9-14900KF, 31 GiB RAM, CachyOS (kernel 7.3.5), compute runtime 26.35.39758.10, IGC 2.41.5, oneAPI DPC++ 2026.1.1. Engine built from source at the v0.2.20 tag (-DSTRATA_ENABLE_SYCL=ON -DSTRATA_SYCL_TARGETS=intel_gpu_bmg_g31,spir64). On 0.1.65 I ran the release's strata-inkling-0.1.65-linux-x86_64-sycl.tar.gz beside the source build with the same --bench command: 181.5 / 26.1 against 182.7 / 26.7, so the build is not the difference. Every run below has VRAM experts=3072/3072, Host-USM=0 in the load banner.

    Engine --bench, 0.1.66, one card, --parallel 1, fp16 KV

    Model file Size Prefill, 4096 prompt Decode, 256 Prefill, 512 prompt Decode, 64
    Inkling-2-Mini-SQ-20.strata 19.3 GB 171.2 22.5 177.5 24.2
    Unsloth UD-Q4_K_XL.gguf 17.6 GB 210.7 23.4 219.6 25.2
    ggml-org IQ4_NL.gguf 17.6 GB 198.5 16.3 not run not run

    (tok/s.) Load banners: the Unsloth file reports build=GGUF-NVFP4 and GGUF_RAW SG16+XMX kernels active for 512/3072 experts, the ggml-org file build=GGUF-IQ4_NL and 3072/3072 experts. The GGUF path reads prompts about 23% faster than SQ-20; decode is the same or lower.

    Two cards

    --gpus 2, SQ-20, 4096 / 256: prefill 100.7, decode 23.7 (Dual-GPU EP2, split=0.50, pinned). That matches the 103.1 / 22.0 reported above. My second card sits on a PCIe 3.0 x4 link and the other host's result is the same, so the link is not what limits it.

    Through serve/server.py, one card, 64K context, Unsloth GGUF

    300-token answer
    --draft off 26.1 tok/s
    --draft dspark (dspark-Inkling-2-Mini-Q8_0.gguf, needs #6718 to start) 14.9 tok/s

    A 10.6K-token prompt takes 54 s to the first token in both cases, about 196 tok/s.

    0.1.65 arms, SQ-20, one card

    • The card in the x16 slot and the card on PCIe 3.0 x4 give the same numbers.
    • INK_SYCL_NO_XMX=1: prefill drops from about 180 to 109-115, decode does not move.
    • OpenCL backend against Level Zero: the same.
    • --parallel 8 / 16 / 32 / 64: 71 / 84 / 107 / 105 tok/s in total. That is the highest aggregate I got from one card.
    • Served, greedy: 17 tok/s with DSpark, 28 with --draft off.

    Another engine on the same card, for scale

    llama.cpp server-intel (SYCL, b12627) with the ggml-org IQ4_NL file: decode 12.1-12.6 tok/s and prefill 81 tok/s on one card, 15 and 87 on two.

    Two things in the source (v0.2.20)

    • In engine/src/inkling2/sycl, has_xmx_sg16 is set in ink_sy_common.h and read nowhere.
    • The W=4 beam-tree drafter (draft_beam_tree, called from cuda/ink_cuda_backend.cu) has no counterpart in the SYCL backend.

    If the 159.2 figure is an aggregate over --parallel N, or comes from a build that has those two pieces, naming the command would let us reproduce it. I can run anything on this host.

  4. kgmkm commented on Nov 23, 2026

    @kgmkm
    Contributor

    Follow-up, same machine (Arc Pro B70 32 GB): the --kv options are a silent no-op on the SYCL backend, found while checking whether quantized KV helps this card.

    strata-inkling-0.1.66 (shipped sycl package), Unsloth UD-Q4_K_XL GGUF via GGUF_RAW, one --bench per row, identical flags except the dtype:

    --kv KV alloc @ ctx 32768 KV alloc @ ctx 131072 decode prefill
    fp16 1184 MiB 4256 MiB 20.7 tps 168.2 ppts
    k8v8 1184 MiB 4256 MiB 20.7 tps 164.9 ppts
    fp8 1184 MiB 4256 MiB 20.7 tps 167.9 ppts
    k8v4 1184 MiB 4256 MiB 20.8 tps 169.4 ppts

    The flag is accepted, and neither the allocation nor the speed ever changes. Code side matches: InkSyRunner never reads kv_dtype (no reference in engine/src/inkling2/sycl/ink_sy_runner.h), and ink_backend.h documents the intended answer to VRAM capacity as "default lossless FP16; Host KV Offload handles VRAM capacity (#552)" — so quantized KV looks unimplemented rather than buggy here. This is the mild cousin of the llama.cpp Inkling-2-Mini KV issue Unsloth just publicized (there, an unsupported quantized KV silently made extra F16 copies; here it simply stays FP16 and wastes nothing).

    Practical effect on a 32 GB card today: none — FP16 KV is 1.2 GiB at 32k and 4.3 GiB at 131k, and both fit — but the usage lines advertise --kv fp16|fp8|k8v8|k8v4, and on SYCL only the FP16 row is real. Worth knowing before anyone plans long-context VRAM budgets around it.

    Not tested: whether CUDA/HIP honor --kv (no hardware here), the Host KV Offload path (#552), Windows.

  5. kgmkm commented on Nov 23, 2026

    @kgmkm
    Contributor

    Third host joining the serve-side picture (single Arc Pro B70 32 GB, Ryzen 7 3700X AVX2-only, powersave governor, Ubuntu 26.04) — the drafter harm is even starker on a weak CPU, and the --bench loop hides it entirely:

    Also corroborating from the earlier comment here: my Unsloth UD-Q4_K_XL GGUF serve number (23.7 tok/s) lines up with deriknel's bench 23.4 — and on this host the GGUF_RAW path is likewise the fast way to run the model (SQ-20 + dspark 7.7 / SQ-20 draft off 22.6 / GGUF 23.7 with no drafter to turn off).

    And a belated cross-link: the --kv no-op table in my earlier comment is the same finding as jinsoojinsoo's k8v8 row — I had not seen #6681/#6692 when I posted it; those issues already cover the fp16-sized SYCL pool.

    Practical setting on a B70 until the SYCL drafter gets the CUDA-side beam-tree: serve the SQ packs with --draft off.

  6. EnderPeter commented on Nov 24, 2026

    @EnderPeter

    Same picture on 0.2.21 / engine 0.1.67 (released package, not a source build), so the 0.1.67 release does not change it yet.

    Setup: Arc Pro B70 32 GB, single card, primary slot (PCIe 5.0 x16 upstream), i5-13600K, 128 GB DDR4, Ubuntu 26.04, kernel 7.0.0-44, xe, compute runtime 26.40.40196.15, Level Zero 1.34, IGC 2.42.14. Engine strata-inkling 0.1.67 linux-x86_64-sycl (BUILD.json: commit eada459, fat SG16 acm_g10 + bmg_g21 + bmg_g31 + spir64, DPC++ 2026.1.1 + oneMKL). Model Inkling-2-Mini-SQ-20.strata, VRAM experts=3072/3072.

    Engine --bench (no server), SQ-20, DSpark on (default in bench):

    Run prefill (ppts) decode (tps)
    4096 / 128 449.6 27.0
    2048 / 128 479.5 28.0
    SYCL_UR_USE_LEVEL_ZERO_V2=1 500.2 29.3
    UR_L0_USE_IMMEDIATE_COMMANDLISTS=1 / =0 477.7 / 456.8 28.0 / 26.8
    INK_SY_GRAPH=1 449.9 24.9
    STRATA_SYCL_NO_XMX=1 116.4 28.0
    Through serve/server.py (262144 context, --kv fp8): chat decode 33.5 tok/s, 16K prompt 380 tok/s (first token 42 s); --draft dspark forced: decode 22–33 tok/s, 4K prompt 239 tok/s. KV=8352.0 MiB with --kv fp8, matching the no-op --kv reported above.

    INK_SY_PROF=1, per decode step: host-submit=39.86 ms total=39.86 ms | mix=4.40 | qkv=6.66 | sconv=0.83 | attn=7.09 | wo=2.33 | router=3.37 | moe=12.41 | tailv=0.54 | head=2.23. The GPU sits at its max clock (act_freq 2800 MHz, ~227 W). The time is spread over every stage rather than one kernel, and turning XMX off only changes prefill, so the decode path is the non-XMX one.

    The runtime switches (Level Zero v2 adapter, immediate command lists, INK_SY_GRAPH) move decode by at most ±5%, so on this host it does not look like submission overhead alone. #6881's measurements (TPOT 52.9 → 26.0 ms, 32K TTFT 236 → 41 s) look like they would cover most of this; happy to run a build with it on this card if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions