Recipes for running the bench-standard models fastest on Intel Arc GPUs, each backed by a bench.sh result folder in results/. tools/cookbook.py validates recipes against their runs and generates the number tables and site/index.html. All results are synthetic DEMO data so far, made by tools/demo/make_demo.py; nothing has been measured yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.6 KiB
Host setup for Intel Arc
What every recipe assumes on the host. The engines (llama.cpp SYCL, vLLM XPU) bring their own oneAPI and Level Zero runtimes in their containers. The host needs the kernel driver, device access and Docker.
1. Kernel driver
Battlemage (B-series) needs the xe driver, which ships with current kernels. Check
that the card is there:
ls /dev/dri/ # card* and renderD* entries
lspci -k | grep -A3 -i 'vga\|display' | grep -i 'driver in use' # xe (or i915 on Alchemist)
2. Device access
Your user needs the render group, or containers started by your user can't open
the GPU:
sudo usermod -aG render,video "$USER" # log out and in again
Every recipe passes --device /dev/dri to Docker.
3. Resizable BAR
ReBAR must be on (BIOS: "Above 4G decoding" and "Resizable BAR"). Without it, Arc loses a lot of speed:
sudo lspci -vv -s "$(lspci | awk '/VGA.*Intel/ {print $1; exit}')" | grep -i -A2 'resizable bar'
bench.sh records ReBAR in the pcie note of every run.
4. Power limit and telemetry
xpu-smi reads power and energy during a benchmark, and sets the power limit:
xpu-smi discovery
xpu-smi stats -d 0 # power, clock, memory
sudo xpu-smi config -d 0 --powerlimit 200
The power limit changes prefill and concurrency numbers. bench.sh records it. If you
change it, say so in the result (--special-notes).
5. Models
The recipes mount /models into the container. Download the standard files there,
as each recipe shows, and check the hash: bench.sh rejects any other file.