mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1410] Support Intel Arc Pro B50 (Xe2 / BMG-G21) as a tested SYCL target — 16 GB at 70 W is the card users are actually buying #572
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#572
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 @ditronicos on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1410
TL;DR
The Intel Arc Pro B50 is the cheapest card that can plausibly host a mid-size MoE
model entirely in VRAM (16 GB), draws 70 W with no external power connector,
is sold in volume with a 3-year warranty, and is already supported by the SYCL
backend's AOT target
bmg-g21— but only as experimental, with no maintainerhardware, no CI coverage, and detection that rejects it.
I have one in a 24/7 inference box and I'd like to help turn it into a target you
can actually say "supported" about. This issue is the technical case + a concrete
list of what I think it would take.
Why this card, specifically
Intel Arc Pro B50 (launched Q3'25, Battlemage / Xe2-HPG, TSMC N5, device ID
8086:e212):Physical/engineering points that matter for always-on inference boxes, not just
workstations: 168 × 69 mm, dual-slot, half-length/half-height, 330 g, minimum
PSU 280 W, and no power cable at all — it runs off the slot. It also carries
4 × DisplayPort 2.1 (UHBR 13.5) and two Xe Media engines (H.264/HEVC/VP9/AV1
encode+decode, incl. 10-bit 4:2:2 decode) — useful if a box does transcode and
inference, irrelevant if it's headless. API surface: oneAPI / Level Zero / OpenCL 3.0 /
Vulkan 1.4 / OpenVINO / IPEX.
Positioning vs. the cards people quote instead: it competes with AMD Radeon Pro
W7500 (8 GB) and NVIDIA RTX A1000/A2000 (8/12 GB) at a similar or lower price with
double-to-triple the VRAM, and Phoronix's launch-day Linux testing put it at
~1.47 × an RTX A1000 across an OpenGL/Vulkan/OpenCL mix on the open-source
stack. The interesting part is that it does that without a proprietary kernel
module: it runs on the upstream
xeKMD withbmg_guc_70.bin/bmg_huc.bin.For a quantised-MoE engine like Strata the relevant trade is:
16 GB of local VRAM and 224 GB/s, at 70 W, for ~$350. Bandwidth is the card's
weak point — decode is memory-bound, and ~224 GB/s is why an 8 B Q4 sits around the
mid-20s tok/s rather than the 60–70 tok/s of a 16 GB card with 512–624 GB/s. But
224 GB/s of VRAM still beats spilling experts over a PCIe link or DDR5, and 16 GB
is the size that makes "everything on the card" reachable at IQ2–Q4 for the model
sizes people actually self-host.
What happens when I try it with Strata today
Environment (Linux, upstream
xedriver bound,intel-compute-runtime26.22,oneapi-level-zero,oclocpresent — noicpx/oneAPI DPC++ compiler installed):bmg-g21as an AOT target, so the path exists.untested on Arc hardware. On v0.1.39 I have no numbers, because I could not get
to "running" without first solving the items below — i.e. the failure mode is
silent-ish, which is exactly the thing to fix.
--backend syclneeds oneAPI/icpx. My distro ships theruntime but not the compiler, so the Docker route is the only documented path
and it is the one users fall over — and per #1113 the shipped port does not
currently survive a clean build, so a first-time Arc user hits two walls in a row.
8086:e212,so the card is rejected rather than reported as "known, unsupported, want?"
That converts a would-have-been-15-minutes test into a source read.
Why I think it's worth your time (the interesting engineering part)
decided. Any tuning you do for a 224 GB/s device with a finite 16 GB budget
transfers to the APUs and the 12–16 GB RDNA cards your users already have.
xeKMD, Level Zero, oneAPI —no vendor DKMS module to babysit. That is rare and it makes CI feasible.
per-seat licence, and the
xedriver gained VF support around kernel 6.17. Thatmeans a single B50 can be shared across VMs/containers, which changes the
economics of a shared Strata endpoint. (Caveat: the number of usable VFs has been
firmware- and driver-version-dependent — worth documenting rather than asserting.)
card that stays in a box 24/7 is the deployment target most self-hosters are
actually building toward. If Strata has an optimal configuration on a B50, that
configuration is a selling point.
Related open threads (so this is not another "any update?")
The Intel side of Strata is clearly being worked on — PR #1111 and the closed
#809 series show Arc work landing, and #1390/#1295 are pushing a native Windows
Arc path. But searching the tracker there is no Arc Pro B50 thread, and the
open items read as one systemic problem seen from five angles:
undefined refs). Until that is resolved, no Arc card of any generation has
reproducible numbers, which is exactly why the B50 row is empty rather than bad.
--layer-splitdeadlock and B65 expert-cache fillstall: multi-card and expert-residency behaviour on Xe2 is still unresolved.
the last two closed without a support statement. That ambiguity is what costs
users money and goodwill; a one-line matrix answer fixes it.
e211) in the Intel setup path. Ise212(B50) expected to work through that same path? If yes, the fix here may be
documentation plus one detection entry, not new code — and I can verify that.
So this issue is deliberately narrow: not "please support Intel", but "the B50 has a
row in the matrix, detection knows the device id, and one honest install page exists".
What I'm asking for (checked = I can do it / test it)
8086:e212(BMG-G21) alongsidee211, with an explicitexperimental on Arc, unsupported on consumer Arcmessage instead of a generic "no supported device found".
checkout, say so at the top of the Intel docs — that single line would have
saved me the attempt and is the reason there is no B50 data yet.
prefill, kernel ≥ 6.14, CR 26.22" is worth more than the current silence.
I will run and maintain that row.
bmg-g21AOT artifact in the release, so users do not needicpxon the host to get value out of the SYCL backend.files, compute-runtime version pairing, and a
sycl-ls/Level Zero sanitycheck. There is a lot of stale guidance out there (including Intel-side
tooling that has moved on), and community guides that send people in circles.
Vulkan have inverted strengths (SYCL much better token generation, Vulkan
better prompt processing). If Strata ever exposes both paths on Xe2, that
trade should be documented rather than discovered.
(x16/x8/x4, and OCulink/eGPU topologies that negotiate x4) when deciding what
to keep resident vs. stream — a silent x4 negotiation is the difference between
usable and not, and it is invisible to the engine today.
bmg-g21target and runs a smoke generate, so the experimental path cannot rot quietly.
(Compilation coverage alone already catches most regressions and needs no GPU
runner — for runtime you can pass a VF to a runner.)
What I can offer
A physical Arc Pro B50 on an always-on Linux box (upstream
xe, current computeruntime), with: the model/pack set already downloaded and quantised at several
levels;
llama-bench-style harnesses and a reproducible prefill/decode measurementscript; the ability to test
--backend syclbuilds (hosticpxinstall orcontainerised, whichever you prefer); and time to bisect. I'd rather send you
numbers and a working matrix row than another "any update?" comment.
If there is an existing internal Arc/Xe branch, or a reason
bmg-g21is deliberatelyfrozen, say so and I'll close this — the goal is a clear statement of whether Intel
Xe2 is on the roadmap or not, for the several of us who picked this card partly
because the SYCL target already nominally existed.
Reference data
170 pTOPS INT8, 16 GB GDDR6 @ 14 Gbps / 128-bit / 224 GB/s, PCIe 5.0 x8, TBP 70 W,
DP 2.1 UHBR 13.5 ×4,
8086:e212numbers, ~1.47 × RTX A1000 aggregate, Level Zero / Compute Runtime working)
E212, Xe2, kernel 6.11+ line)@Niko1221 commented on GitHub (Oct 8, 2026):
Thank you for the offer and the spec table. The SYCL backend can be compiled ahead of time for one device (sycl/CMakeLists.txt names bmg-g31 for the Arc Pro B70); the default build is SPIR-V compiled at run time, which any Xe2 card can load. The B70 and the A750 are the two Intel cards we test on. The B50 is the same architecture family as the B70 with 16 GB and 224 GB/s, so we expect it to work through the same code, but it is not tested and we will not call it supported until a run on it is recorded.
What would help most: run setup on the B50 (
./setup.sh --backend sycl, docs/INTEL_ARC.md), and post the setup output, the first lines of the engine log and a short decode and prompt measurement with a model that fits (the IQ2_XS or the Coder size). If setup rejects the card, send the output oflspci -nnfor it. A result can go into bench/results/COMMUNITY.md like the other community reports.@ditronicos commented on GitHub (Oct 9, 2026):
A B50 run, recorded — setup output, engine log, measurements, and two results worth acting on
You asked for setup output, the first lines of the engine log and a short decode/prompt measurement. Here they are, from a physical Arc Pro B50 in a 24/7 box. Everything below is measured on 0.1.41 unless a line says otherwise; the earlier 0.1.40.3 numbers are in the middle table for comparison.
Machine. Fedora 44 Server, kernel 7.2.8-200,
xedriver bound,intel-compute-runtime26.35.39758.11,oneapi-level-zero1.33.1, oneAPI DPC++ 2026.1.1 + MKL (Intel's RPM repo),oclocfrom the distro. Host: Ryzen AI 9 HX PRO 370, 124 GB DDR5-5600. The card is on an external Oculink PCIe Gen4 x4 dock — that detail matters for every number here.So
bmg-g21is a confirmed match fore212(same 20.1.0 assycl-ls), and AOT needs no JIT. Build is native, no container:1. setup output
./setup.sh --backend sycl --family coder --model IQ1_M --data-dir … --no-start --yes(Fedora 44, system Python 3.14).--model IQ1_Malone stops with "Qwen3.8-Flash-Next has no IQ1_M model file … (or IQ1_M: --family coder --model IQ1_M)", which is clear. The rest:Detection works — my issue's first ask (
e212recognised) is already insycl/setup_intel.py:46, and Step 3 no longer dies on a distro without system pip: 0.1.41'ssetup.shmakes its own.venv. Please withdraw those two asks from my list.What setup wrote for this card:
exe = sycl/serve/strata-sycl.shwith/work/…paths (the container wrapper — a native user has to rewrite those by hand), and engine options--expert-cache auto --spec 4 --spec-min-p 0.5 --max-context 65536 --kv int8 --kv-resident 32768 --stream-experts --vram-reserve-mib 2048 --prefill 4096.2. That config does not start on a 16 GB card
Run natively with setup's own options, unchanged:
Following the last suggestion makes it worse, not better —
--max-context 8192gives a smaller auto cache and a bigger mirror to pin:--vram-reserve-mib 2048)--max-context 8192--vram-reserve-mib 512Why it is a hard wall:
sycl::malloc_hoston this stack tops out between 15 and 16 GiB. A ladder probe (root,ulimit -l unlimited, 36 GiB free RAM) gives 15 GiB OK, 16 GiB →nullptrwith no exception at all, sogguf_expert_source.cpp:137prints the generic "no pinned host memory" and points at RAM that is free. Unchanged after NEO 26.22.38646.6 → 26.35.39758.11 / level-zero 1.28.6 → 1.33.1. IQ1_M needs 15 907–15 950 MiB of mirror on a 16 GB card, i.e. just over the ceiling — so a B50 is wedged unless the cache is pushed up by shrinking--vram-reserve-mib. (#1545 reports a 4 GiB ladder ceiling on an A770, but thereulimit -lwas 8 MiB and unrooted, so that one looks rlimit-bound; this is the limit itself, above the rlimit.)Three concrete asks: fill the mirror in chunks so a partially-pinned mirror is a valid plan sized to the ceiling instead of all-or-nothing; surface the level-zero/UR error instead of a
nullptr; and fix the "or lower--max-context" advice for this case — on this card it moved the mirror need from 15.9 GiB to 18.1 GiB.3. Engine log, first lines (the working config, ctx 4096,
--vram-reserve-mib 512,NO_HOST=1)4. Decode and prompt (Coder IQ1_M, greedy, 5 prompts,
enable_thinking:false)NO_HOST=1, full mirror 14.87 GiBSTRATA_MIRROR_MIB=14000,NO_HOST=0, partial mirror 13.67 GiB"!!!!!"(whole completion) + one wrong factSTRATA_HOST_UNCACHED=0--vram-reserve-mib 512The honest trade on a 16 GB card is ~9 tok/s and correct, or ~18–32 tok/s and untrustworthy. The garbage reply has the hash
eb85c34e9302…— the same hash on 0.1.40.3 (10.1 tok/s median then) and 0.1.41, and on NEO 26.22 and 26.35. If the ~23–27 tok/s B50 numbers indocs/INTEL_ARC.mdcame from aSTRATA_MIRROR_MIBbelow the "missing from VRAM" count, they are measuring this fallback path. Please put a warning line next to the B50 row: the tempting configuration is the fast one, and it is the unsafe one.Worse than the
"!!!!!": in the same partial-mirror run, four replies looked fine and one was factually wrong — "The first Emperor of Rome was Nero, who ruled from 54 to 68 AD", where the full-mirror run answers "Augustus, who ruled from 27 BC to AD 14". So the failure is not only a visible garbage token; it degrades silently.5. The #1545 confound, tested away
I have to flag this, because it is the obvious rival explanation and my 0.1.40.3 build was affected by it.
sycl/include/strata/sycl_queue.hppuseszeMemAllocHost(... BIAS_UNCACHED)only when<level_zero/ze_api.h>is present at build time, andsycl/CMakeLists.txt:184only doesfind_library(STRATA_ZE_LOADER ze_loader)— nothing warns. Fedora splits the loader from the headers, so our first build had no Level Zero headers at all:So the 0.1.41 build above does have the uncached doorbell, and the partial-mirror result is unchanged: same garbage hash, same frequency, and run C (
STRATA_HOST_UNCACHED=0) reproduces it deliberately. Missing headers are not the cause here; experts that are neither resident nor mirrored are. (#1545's fix is still worth merging — the silent fallback is a trap, and a configure-timecheck_include_file+ a warning is the right answer. For reference, on this boxocloc, the loader and the runtime were all present; only the headers were missing.)6. One line for the tested matrix, and one correction to my own issue
Please state the link with the number. This B50 trains Gen4 x4 and the engine's own probe agrees with our
bwmeasurement (7.0 GB/s H2D), whilelspci/LnkStaon this dock lie (2.5GT/s Width x1, a retimer quirk) —sycl/serve/xe_telemetry.py::_link()already walks sysfs correctly and is the right place to read it. Suggested row: "Arc Pro B50 16 GB (xe, NEO 26.35, oneAPI 2026.1.1, AOT bmg-g21), PCIe Gen4 x4 dock (7.0 GB/s measured), Coder IQ1_M, ctx 4096, 4493 experts resident + 7795 mirrored in 14.87 GiB pinned: decode 8.9 tok/s median (3.6–11.1), prompt 12.6–15.8 tok/s, answers correct; the same card in an x16 slot is a different machine." Bandwidth math says why: ~288 routed experts/token × ~1.9 MB, ~63 % of them in host memory ⇒ ~345 MB per token over a 7 GB/s link ⇒ ~20 tok/s ceiling, ~9 measured.Also correcting myself: the Monitor's
gpu_name/gpu_mem_used/gpu_mem_totalbeingnullis not a bug —xe_telemetry.pyreads them from/run/gpustat.json, written by the root samplersycl/tools/gpustat.py, anddocs/INTEL.md:412-414says so; I simply had not installedgpustat.service. Only ask there: have setup install it, since the VRAM card is exactly what a 16 GB owner needs.I can run more on this card — a
STRATA_MIRROR_MIBsweep against the pin ceiling, a chunked-mirror patch if you write one, ctx 128K on the working config, or the same model on an x16 slot — and I can package all of it (flags, per-request timings, engine logs) asbench/results/2026-10-09-community-arc-b50-x4/in a PR if you want it in the community index.@SleepinDevil commented on GitHub (Oct 12, 2026):
@ditronicos is your message the output from an LLM? It's pretty hard to follow. Sounds like you are using an external link to run the GPU. Have you had success running other LLM servers on that via the same setup? What is the RAM+VRAM you have on your setup?
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.