Repository navigation
Description
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-icd26.05.37020.3-1 - Engine:
strata-inkling-0.1.65-linux-x86_64-sycl.tar.gzfrom the v0.2.19 release (sha25666cb6a0e…matchesSHA256SUMS.txt).BUILD.json: commit26350e4387b8, 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.stratafromstrata-engine/Inkling-2-Mini-Strata, both checksum OK - Served through
terminal/serve/server.pyfrom 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 smallmax_tokens(80) comes back with emptycontentandfinish_reason: "length". - The server's progress line says
reading the prompt: N of max M tokenswhile it is generating these hidden tokens.
Happy to run another build or any diagnostics on this card.
Activity
jinsoojinsoo commentedon Nov 23, 2026
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:--gpus 2(EP2)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 k8v8is 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 isactively 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.kgmkm commentedon Nov 23, 2026
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: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,
--parallelconcurrency 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.
deriknel commentedon Nov 23, 2026
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'sstrata-inkling-0.1.65-linux-x86_64-sycl.tar.gzbeside the source build with the same--benchcommand: 181.5 / 26.1 against 182.7 / 26.7, so the build is not the difference. Every run below hasVRAM experts=3072/3072, Host-USM=0in the load banner.Engine
--bench, 0.1.66, one card,--parallel 1, fp16 KVInkling-2-Mini-SQ-20.strataUD-Q4_K_XL.ggufIQ4_NL.gguf(tok/s.) Load banners: the Unsloth file reports
build=GGUF-NVFP4andGGUF_RAW SG16+XMX kernels active for 512/3072 experts, the ggml-org filebuild=GGUF-IQ4_NLand3072/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--draft off--draft dspark(dspark-Inkling-2-Mini-Q8_0.gguf, needs #6718 to start)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
INK_SYCL_NO_XMX=1: prefill drops from about 180 to 109-115, decode does not move.--parallel8 / 16 / 32 / 64: 71 / 84 / 107 / 105 tok/s in total. That is the highest aggregate I got from one card.--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)
engine/src/inkling2/sycl,has_xmx_sg16is set inink_sy_common.hand read nowhere.draft_beam_tree, called fromcuda/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.kgmkm commentedon Nov 23, 2026
Follow-up, same machine (Arc Pro B70 32 GB): the
--kvoptions 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--benchper row, identical flags except the dtype:--kvThe flag is accepted, and neither the allocation nor the speed ever changes. Code side matches:
InkSyRunnernever readskv_dtype(no reference in engine/src/inkling2/sycl/ink_sy_runner.h), andink_backend.hdocuments 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.kgmkm commentedon Nov 23, 2026
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
--benchloop hides it entirely:--benchSQ-20, 4096/256, 0.1.66:--draft off19.5 tps vs--draft dspark19.4 tps — parity in the tight loop.serve/server.py, SQ-20, 32K ctx, the same 319-token greedy Japanese answer, 0.1.66:--draft dspark7.7 tok/s (42 s) vs--draft off22.6 tok/s (15 s) — a ~3x gap on the identical request. So the draft cost is paid in chat-shaped generation and the bench never sees it. Matches the 12.0→25.2 and 14.9→26.1 deltas above; the weaker the CPU, the bigger the hole, consistent with the missing SYCL beam-tree counterpart noted below ([Engine] strata-inkling 0.1.65 SYCL: B60 24GB at 23.3 tok/s vs 159.2 tok/s advertised for B70 - same release asset, 100% VRAM experts, DSpark on #6676).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
--kvno-op table in my earlier comment is the same finding as jinsoojinsoo'sk8v8row — 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.EnderPeter commentedon Nov 24, 2026
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.