Skip to content
Projekte

SergiioB/intel-arc-pro-b70-inference-cookbook

Auf GitHub ansehen

Über uns

Pinned Intel Arc Pro B60/B65/B70 inference recipes, engine patches and measurement records: Qwen3.8-27B EXL3 on one card (262,144 context, 63 tok/s; MTP3 measured lossy on 27% of a fixed 329-item set), Nemotron, Flash-Next, dual-card routes, and a machine-checked catalog where each speculative row states whether the drafter changes the answer.

KI und maschinelles Lernen

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
Verlauf wird gesammelt
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Intel Arc Pro B70 Inference Cookbook

Pinned vLLM XPU, llama.cpp SYCL and EXL3-XPU recipes, failure notes, and measurement records for Intel Arc Pro B60/B70. Every published benchmark row carries its exact workload, a commit-pinned evidence link, and — for routes that decode with a drafter — whether the drafter changes the model's greedy answer. Start with what worked, what did not, and what to test next. For a first local run, use START.md.

Pick one path

Your goal Start here Status
Choose a model for a job Model comparison 94-task quality screen of Bolt 74B-A9B (two cards), Qwen3.8-27B and Qwen3.6-35B-A3B (one card each) with power and heat; one sample per task, Qwen3.6 partial.
Serve on one B70 Qwen3.8-27B EXL3 route Primary route: trellis 4bpw + MTP3 + fp8 KV on the exl3xpu engine; the only route that completed a 245,583-token prompt on one card at the model card's sampling (2026-11-10; TensorFold with int8 K/V later served 249,784 tokens greedy), and clean on the exact-answer battery. MTP3 changes the greedy answer on 27 % of a fixed 329-item set — serve --set vllm.speculative_config=null when one-shot code must match, and see spec parity on every speculative row. The GPTQ/W4A16 route is legacy — that class fails the canary on this model.
Fastest lossless 27B at short context Qwen3.8-27B TensorFold route Screen 2026-11-08: TensorFold + DFlash2 at 128 tok/s with output identical to plain greedy; EXL3+MTP3 wins from ~16K up. Includes a +48 % long-context patch and, from 2026-11-13, a prefix attention kernel on our TensorFold tag: 90 tok/s at 32K, 51 at 131K (screen; text differs from stock TensorFold, not upstream). From 2026-11-18: two cards for one stream with upstream PR #3586 (165 tok/s code, 1.3× to 32K, 1.5× at 131K) and prompt-cache sizing for follow-up turns in 0.3–1.1 s.
Long prompts on llama.cpp KV type at depth Screen 2026-11-08: on llama.cpp after 2026-10-29, q8_0 or q4_0 KV decodes 1.8–2.1× faster at 64K than before; q5_0/q4_1 and f16 do not gain.
Run GGUF or vision Muse-Glimmer llama.cpp route Measured on its own engine and workload; no cross-engine speed ranking without matched timing.
Run MoE or long context Qwen3.6-35B-A3B recipe Historical MTP speed record is stack-specific; a later matched comparison did not reproduce it.
Run Inkling 2 Mini Inkling 2 Mini routes Primary route (2026-11-22): vLLM XPU + vllm-inkling2-xpu + PR #69186 on one card (native NVFP4/MXFP8 weights). Opt-in CUTLASS Xe2 + DSpark k=7: 80.4 to 55.3 tok/s (0–104K, card sampling; effort=0.2: 99.2 tok/s), 3,920 to 2,496 tok/s cold prefill, 8/8 tasks PASS, 163K ctx @ mbt=1024. Stock no-spec: 200K ctx @ mbt=2048 (54.5–26.3 tok/s, 135K retrieval PASS), 256K proven @ mbt=1024 (308.7K KV @ mbt=512).
Serve on two B70s Independent-card setup Default: one server per card. FP8 TP2 is a research route, not an automatic single-request win. For one Qwen3.8-27B user, TensorFold on two cards beat one card by 1.25–1.5× (screen).
Run Hy4-Flash on two B70s Hy4-Flash routes Primary (2026-11-23): Strata SYCL + strata-hy4-b70-opt.patch on native .strata packs — 723.9 tok/s 28K prefill (2.94x), 18.2–20.2 serial decode, 39.7 tok/s opt-in dfly2, 5/5 gate, +0 GPU faults. Needs ~120 GiB packs; serial greedy nondeterministic. GGUF fallback: llama.cpp-hy4pr (11.3 tok/s).
Diagnose or reproduce a number Image and patch matrix → family recipe → benchmark catalog Match image, patch, model, context, cache, power, and timing definition.
Serve without Python / PyTorch / Docker xe-serve (v0.3.1) (release) Standalone C++20 / Intel Level Zero inference engine & OpenAI HTTP/SSE server for Intel Arc Xe2 GPUs (bmg_g21/bmg_g31 AOT + SPIR-V, 0-spill on ocloc 26.05 & 26.44+, 3-command ./install.sh). Live-verified on 1× and 2× B70 (--tp 2) across 5 architectures including Qwen4-35B-A3B (186.1 tok/s 1× B70, 236.8 tok/s 2× B70 TP=2, 80K 3-code NIAH 3/3, 4.15 GiB low-RAM NVMe PLE mode), Qwen3.8-27B, Gemma-4-26B-A4B, Inkling-2-Mini, and Nanbeige4.3-33B. Full sampled tables, XeBit tier guide, and ADRs live in the xe-serve repo.
Optimise / hill-climb a model on Intel Arc Optimization playbook → Intel XPU Optimisation Skill Standalone reusable agent skill (SKILL.md, PROMPT.md, 5 Xe2 references, b70_ceiling.py, b70_preflight.py) encoding our measured B70 roofline, levers, traps, and publication gates.

Read the decision guide and optimization playbook before tuning. They separate measured improvements, proven DOs/DON'Ts, failed attempts, unpublished lab screens, and stop/go gates. A passing smoke canary does not establish model quality. No public performance claim from a different model, engine, host, or result generation transfers to this setup.

Reproduce and operate

  1. Check your card and host with scripts/doctor.py, then use the quick start for a pinned single-card run.
  2. Check the image and ordered patch matrix for the exact family before launching. Do not mix family patch stacks.
  3. Connect a client using client setup; use the reliability guide if the server hangs.
  4. Confirm a recipe with the reproduction procedure and benchmark format. The numeric authority is data/benchmarks.v1.json; docs/BENCHMARK-CATALOG.md is generated.

More routes: Ripple-65B on two cards (new, -sm tensor 13.3 tok/s), Nemotron DFlash, Nemotron Bolt 74B (one card on llama.cpp, or two cards on vLLM), Flash-Next, Ornith-1.5-122B GGUF, Hy4-Flash on two cards, Windows, and family-specific research. Research routes are not interchangeable with the first-run recipe.

Quantize a model yourself: how the Bolt 74B AutoRound W4A16 quant was made and checked on two B70s, with every command, fix and script.

Request or add a recipe

Need a model or configuration not yet covered? Submit a recipe request with your target Hugging Face model and hardware setup.

To contribute a recipe directly to the B70 Launcher catalog, follow the recipe format specification to edit recipes.json, verify with python3 -m unittest tests.test_recipes, and open a pull request.

For contributors and agents

Use data/system-map.v1.json to select an intent (read, setup, reproduce, connect, operate, optimise, submit, publish, or triage). For hill-climbing models or writing XPU/SYCL kernels on Intel Arc, install the standalone intel-xpu-inference-optimisation-skill repo alongside docs/OPTIMIZATION-PLAYBOOK.md. docs/AGENT-SYSTEM.md explains the authority layers; docs/ADDING-A-RECIPE.md explains publication. Keep historical evidence intact. Validate changes with python3 scripts/check-repo.py.

Code: MIT. Measurement reports and prose: CC BY 4.0. See LICENSE.

Ähnliche Projekte entdecken

Wird geladen…