MachX · local LLM inference engine

Built for Arc from the metal up.

A C++/SYCL local LLM inference engine for Intel Arc GPUs, built and tuned on two Arc Pro B70 cards: XMX kernels, quantized models, multi-GPU execution and an OpenAI-compatible server. No fork of llama.cpp, no PyTorch in the language-model engine, no vendor runtime.

Built and tested on

2× B70Intel Arc Pro B70 cards, Battlemage (BMG-G31)
64 GBGDDR6 in total, 32 GB on each card
C++20SYCL / DPC++ on oneAPI 2026.x
Apache 2.0Free to use, modify and ship, commercially too

Built and tested on 2× Intel Arc Pro B70: Battlemage (BMG-G31), 32 GB GDDR6 each (64 GB total), 608 GB/s bandwidth, ~183 FP16 TFLOPS via XMX, oneAPI 2026.x / SYCL. All single- and multi-GPU benchmarks in the MachX README are on this hardware. Many models also run on a single card, and Intel GPUs without XMX serve the dense model families with SIMD kernels.

What's inside

Hand-written for Arc

Intel Arc is a genuinely capable AI GPU that inference tooling has mostly ignored. MachX is written for it: its own kernels, its own server, and day-one support for new model architectures.

SYCL kernels

XMX matrix engines, int-dot quantized GEMV (W4A8, W6A8, W8A8) over repacked weights, tiled FlashAttention with split-K decode, sliding-window and attention-sink variants.

Quantized models

Q4_K, Q5_K, Q6_K, Q8_0 and MXFP4 on its own kernels, FP8 dense weights kept FP8 on the card, and ie import to convert supported AWQ, GPTQ and EXL3 safetensors to GGUF.

Multi-GPU built in

ie serve --gpus 2: tensor parallel and layer split, no P2P required. Runs models bigger than one card across two B70s.

Speculative decoding

A self-drafting MTP head with batched verify, the checkpoint's own DFlash drafter on MiMo-V2.6, and prompt-lookup drafts for replies that copy text already in the conversation.

Request lanes

Several requests at once, up to 16 lanes on the supported models, with a shared system prompt read once. Built for a lead agent and its sub-agents.

OpenAI-compatible server

ie serve with tool calls, reasoning in the OpenAI fields and image inputs. ie supervise puts several servers behind one endpoint that routes by model name.

Native vision

DeepSeek-V4.1-Flash and MiMo-V2.6-Flash with each checkpoint's own vision tower, Qwen3.8-Flash-Next and more, with image input through the API.

Correctness first

Perplexity-validated, per-layer cosine ≈ 1.0 against a llama.cpp oracle, bit-exact where claimed.


What people run on it

The big ones, on your desk

One video model and the language models below, each run on two Arc Pro B70 cards (64 GB VRAM), with host RAM holding the experts that do not fit. Figures as published in the MachX README; every date is 2026.

Lightricks LTX

LTX-2.5 · Lightricks' text-to-video model, with sound · 5 s of 1280×704 video in about 21 s on two Arc Pro B70 cards (stock PyTorch: 79 s) · a clip every 17 s with one process per card.

Measured October 5–6. The video pipeline runs in Python on PyTorch's Intel GPU build with MachX kernels; it is not the language-model engine, and the video scripts are not in the repository yet.

Language models measured on two Intel Arc Pro B70 cards, as published in the MachX README
ModelWeightsPrefill tok/sDecode tok/s
Qwen
Qwen3.8-27Bdense · measured Oct 4–5 · prompt cache · vision · 16 lanes
Q8_0 GGUF 2,962 2.4K
3,001 10.7K
46.2 both cards per layer, --spec24.3 layer split, --spec17.1 plain
Nanbeige4.3-33Bdense (llama arch) · measured Oct 29 · two cards · 65K context · prompt cache · lookup spec
Q6_K GGUF27 GB 367 at 0.9K
254 at 5.3K
28.7 at 0.9K27.8 at 5.3K78 on repeats, --spec
Qwen
Qwen3.8-35B-A3BMoE · measured Oct 4–22 · 16 lanes · 15-agent replay in 77 s
Q8_0 GGUF 2,896 2.4K
2,808 10.7K
89.0 at 2K86.6 at 9.8K
Qwen
Qwen3.8-Flash-NextMoE · measured Oct 22 · native vision · 16 lanes
UD-Q4_K_XL GGUF104 GB 978 at 8K
1,031 at 16K
38.9 MTP head, greedy35.6 plain
Xiaomi MiMo
Xiaomi MiMo-V2.6-FlashMoE · measured Oct 12 · native vision · tool calls · 120K context
FP8 + MXFP4178 GB safetensors 596–630 at 5–6K
708–716 at 38K
27.8–28.3 with drafter16.9–18.9 plain
Tencent Hy4-flashMoE + n-gram memories · measured Nov 19 · native vision · tool calls · 262K context
8-bit expert pack225 GB, made from the BF16 release 487 at 4.9K
462–470 at 25K
22.6–25.8 short prompt22.4–24.2 after 25K
DeepSeek
DeepSeek-V4.1-FlashMoE · measured Sep 16–27 · native vision · tool calls · 223K context
FP8 + MXFP4475 GB safetensors 304 at 2K
319 at 32K–223K
14.9–15.3 one request25.1–25.8 two lanes together
DeepSeek
DeepSeek-V4-FlashMoE · measured Sep 11 · tool calls · prompt cache
MXFP4 + Q8_0155 GB GGUF 571 at 4K 26.1 at 4K32.7 short prompt
Z.ai GLM
GLM-5.3-FlashMoE · measured Oct 20 · MTP draft · prompt cache
UD-Q4_K_XL GGUFhost-resident experts 300 at 9.6K, served 13.5–14.3 as served14.0–14.4 runner, at 16K

Prefill is prompt reading and decode is writing, in tokens per second; 2.4K and 10.7K are prompt lengths in tokens (ie-prompt-bench, prompt cache off, greedy). "Plain" is without speculative decoding; --spec is speculative decoding: the 27B's own MTP draft head, and on Flash-Next lookup drafts, which pay only on replies that copy text already in the conversation. Qwen figures were measured on community fine-tunes of the models: the 35B-A3B on the Qwen3.8-35B-A3B Distill. GLM's 300 and 13.5–14.3 are ie serve with its defaults on a 9.6K-token agent prompt (October 20), and 14.0–14.4 the standalone runner with its MTP draft at 16K. Every figure, with its date and conditions, and newer release results are in the MachX README. Logos are trademarks of their owners and identify the models only; they imply no endorsement.

Also runs

gpt-oss-120B and 20B · Gemma-4 31B and 26B-A4B · the Qwen3, Qwen3-Next and Qwen2.5 families · Llama-, Mistral-, Phi- and Granite-compatible GGUFs.

Supported architectures

Dense, MoE and hybrid

Served through ie serve unless marked. A standalone runner does not imply server integration, and prebuilt container images may lag the source.

Qwen3.5 / 3.6 / 3.8 hybrid27B dense, 35B-A3B MoE
Qwen3.8-Flash-NextQwen 4 preview architecture
Qwen3 MoECoder-30B-A3B, Tongyi-30B
Qwen3-Next80B-A3B
Qwen denseQwen2 / 2.5 / 3 and compatible distills
DeepSeek-V4.1Flash, FP8 dense with MXFP4 experts
DeepSeek-V4Flash, Flash-Vision-Exp
MiMo-V2.6Flash-RL, FP8 dense with MXFP4 experts
GLM-5.3-FlashUD-Q4_K_XL GGUF
Tencent Hy4-flashText, images, reasoning and tool calls
Ling-3.2-airOriginal FP8 checkpoint, text and tool calls
gpt-oss20b and 120b (MXFP4)
Gemma-431B dense, 26B-A4B MoE
Llama-compatible denseNanbeige4.3-33B, Llama-3.x, compatible Mistral, Phi and Granite
Laguna S 2.1118B-A8B MoE
Inkling-Small276B-A12B MoE
GLM-5.2 experimental runnerStandalone MLA + MoE forward path
Tencent Hy4-preview experimental runnerStandalone generation and PPL

Entry points, limits and status for each family are in the README's supported architectures table.


Better together

Press Load. Dream does the rest.

MachX and Dream were built side by side. From Dream's Home screen you pick a model and press Load: Dream checks the cards first, refusing when they are busy, hot or in use by another program and saying why, then starts the engine with the model's saved or recommended settings and serves it for you.

  • Dream launches and manages ie serve (model picker, GPUs, context, tuning) and talks to it over the OpenAI API, including tool calls.
  • Dream finds a checkout at ~/machx-inference-engine on its own; set DREAM_MACHX_DIR for any other location.
  • Through the engine, Dream's Train tab fine-tunes a local model and Evaluations runs the coding quiz on it.

Not using Dream? MachX is a standalone server: point any OpenAI client at it.

Dream's Home screen with a local Qwen3.8-35B-A3B model loaded through MachX, and buttons to unload it or use it in Chat.
Dream's Home screen with a local model loaded through MachX. Demo data.

Get started

Running on your Arc in minutes

You need an Intel Arc GPU on Linux. Either way you end with an OpenAI-compatible server on port 11435.

Docker

Pull the prebuilt image, or build it yourself

docker pull ghcr.io/red-weasel/ie-engine:latest && docker tag ghcr.io/red-weasel/ie-engine:latest ie-engine
# or build from source (~15 min):   docker build -t ie-engine .
./scripts/ie-docker pull llama8b                     # or any Hugging Face GGUF
./scripts/ie-docker serve /models/…/model.gguf --gpus 1

The prebuilt image dates from July 2026 and does not contain the newer models and features; build from source for those. The full five-minute path is in QUICKSTART.md.

From source

Needs oneAPI 2026.x and an Intel Arc GPU

source scripts/env.sh
cmake -S . -B build -G Ninja && cmake --build build -j
./build/src/ie pull llama8b
./build/src/ie serve <model.gguf> --gpus 1
./build/src/ie serve --help   # every flag, its default, and the environment variables that matter

Multi-GPU: add --gpus 2 (VRAM-aware; tensor parallel and layer split). Several models on one endpoint: ie supervise --config <layout.json>.

MachX is free

More fast local inference on Intel Arc.

If MachX saves you time, or you want to see more of it, donations are welcome, one-time or monthly. All donations support the project. Requests and suggestions are welcome too.