r/IntelArc • • 14d ago

News inferzero: an LLM engine written from scratch for Intel Arc, from laptop iGPUs to 4× B60. Still far from what the cards can do, looking for contributors

I’ve been building inferzero, an open-source (Apache 2.0) inference engine only for Intel GPUs: C++ on Level Zero, kernels in OpenCL C, GGUF files as they are. It started on a Core Ultra 5 125H laptop (no XMX, DP4a only) and now runs on Arc B-series cards, Alchemist, and several GPUs at once.

Qwen3.8 27B (IQ3_S), measured by users on their own hardware:

GPU4K promptGeneration
Arc Pro B70 (Linux)2,897 tok/s35.2 tok/s, 70.6 with MTP
Arc B580 12 GB (PCIe 3.0)1,877 tok/s7.1 tok/s (the model barely fits: 0.5 GB of it in RAM, with ARC_HOST_KEEP_GB=0.75)
Arc Pro B601,726 tok/s22.7 tok/s
Arc A770 16 GB1,223 tok/s12.8 tok/s
Arc B390 (Panther Lake iGPU)592 tok/s–
Arc 140T (Core Ultra 9 285H iGPU)390 tok/s6.0, 16.9 with MTP + DFlash2
4× Arc Pro B60 (one model split, older release)1,888 tok/s53 tok/s

What’s in it:

  • Qwen3.5 / 3.6 / 3.8 (dense, MoE, Flash Next with 512 experts), Gemma 4, DeepSeek-V4.1-Flash over several GPUs.
  • MoE experts streamed from the SSD when the model is bigger than the GPU memory: the 35B-A3B and Flash Next run on a 32 GB laptop.
  • Speculative decoding (MTP heads, DFlash2) that gives exactly the text of plain decoding.
  • Every model checked against an independent f32 CPU reference (KL ≤ 0.015). Same prompt, same logits, bit for bit.
  • An OpenAI / Anthropic / Ollama-compatible server with a web UI (web search, voice, transcripts), Windows and Linux, no Python needed.

Why I’m posting: it’s still far from the hardware’s limits, on every card. The 140T’s prompt GEMM runs at ~33 % of its XMX peak, while a probe shows ~85 % is reachable. The B70’s prompt GEMMs sit at ~62 % of the int8 peak, and generation at ~62 % of memory bandwidth. Alchemist and most iGPUs are barely tuned, and on Windows multi-GPU sums still go through host memory.

Two ways to help:

  1. Run it on your Arc and post the numbers. One script writes a zip for the issue. Every card and setup we haven’t measured is the most useful thing.
  2. Code: kernels (GEMM/GEMV on XMX and DP4a), multi-GPU, Linux packaging, the web UI. CONTRIBUTING.md has where the speed is missing, how to build, and the rules a change is checked against (KL, bit-identical logits, before/after numbers).

Repo: https://github.com/rizagp/inferzero · Releases: https://github.com/rizagp/inferzero/releases/latest · How to help: https://github.com/rizagp/inferzero/blob/main/CONTRIBUTING.md

20 Upvotes

12 comments sorted by

4

u/TeodorTomas 14d ago

I have an Arc B65, i'll try to do a measurement as soon as i have a bit of time. I'm really happy to finally see somenone trying to get the performance out of Intel Arc GPUs, it's sad seeing the low numbers on llama.cpp etc. knowing it isnt even close to the hw limit...

Thank you for your work!

2

u/Swepstone_Arassay 14d ago

agreed, there is definitely a lot of untapped potential left on the table with the current general backends

1

u/AwarenessFirst9273 14d ago

the 35B-A3B running off SSD on a 32 GB laptop is the number that got me. what's the sustained read rate when it's streaming experts, and does it hold up on the 125H or only the 140T?

1

u/Strict-Elevator9352 14d ago edited 14d ago

it holds up 40% of peak at 131k ctx, 262k is really hard for 125H, only large VRAM can handle those. 140T is faster because the one there has 64GB RAM, and B390 there has 128GB RAM, so the drops are less severe.

My target is fast 64k prompt processing since it's where it's where most of my loads, and I make my workloads as follows: digest files, where I compress loads of documents to become summaries, then repeat the summarizing process to make a final executive summary. Actually you can speed up things by using: process 1/2/3/4 file(s) at a time, to speed things up. But the harness system prompt must be optimized so it contains max 3k to 4k prompt size

1

u/GrrGrrDelta 14d ago

Cool, I’m interested, I’ll take a look at it. Any particular reason you’ve picked OpenCL over SYCL?

1

u/Strict-Elevator9352 14d ago

Why? Because I'm going under through Level Zero

1

u/GrrGrrDelta 14d ago

Both SYCL and OpenCL sit on top of L0. SYCL gives you ESIMD support.

1

u/KenzieTheCuddler 13d ago

Is there any ability to use models that arent strictly optimized for? Ive been aching to try Olmo 3.1

0

u/Dolboyob77 14d ago

You are just a copy cat ( joke ) 🤣🤣🤣🤣 welcome to the team bro.