Run any LLM — Gemma, Qwen3 MoE, gpt-oss, vision and audio — locally on an Intel Arc GPU, behind one OpenAI-compatible endpoint with hot-swapping, cost routing and a one-line installer.
Built and battle-tested on an Intel Arc Pro B60 (24GB, Battlemage) on Windows.
On a Windows box with an Intel Arc GPU + Python 3.10+, from an interactive session (GPU compute silently falls back to CPU in session-0 services — see sharp edges below):
# 1. One-line install: IPEX-LLM SYCL + mainline Vulkan llama.cpp + llama-swap engines, a default
# Gemma 3 model, the LiteLLM gateway, autostart tasks, firewall rule
iex "& { $(irm https://raw.githubusercontent.com/dirtysouthalpha/intel-arc-llm-stack/main/install.ps1) } -Root C:\arc-llm"
# ...or from a clone:
git clone https://github.com/dirtysouthalpha/intel-arc-llm-stack.git
cd intel-arc-llm-stack
.\install.ps1 -Root C:\arc-llmThe installer prints your endpoint + API key. Then, from any machine that can reach it:
curl http://<host>:4000/v1/chat/completions \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"model":"local-chat","messages":[{"role":"user","content":"hi"}]}'Model aliases: local-chat, local-vision, gemma-12b-max (128K), qwen3-30b (MoE),
gpt-oss-20b, qwen3-vl, omni (audio), local-coding, and opt-in paid coding/orchestration.
Add/edit models in llama-swap/models.yaml and routing in
gateway/config.yaml; launchers/restart-stack.ps1 restarts the stack.
Size a context window before you pick one: python vram-budget/vram_budget.py gemma3-12b --weights 6.8 --kv f16.
- Windows with an Intel Arc GPU — built and tested on an Intel Arc Pro B60 24GB (Battlemage).
- Intel Arc driver >= 31.0.101.5522 (tested with 32.0.101.8517), Intel oneAPI Base Toolkit 2025.1.
- Python 3.10+ on PATH.
- Disk space for models: Gemma 3 12B Q4_K_M is about 6.8GB; allow several GB per additional model (see
llama-swap/models.yamlfor file names). - An interactive Windows session for GPU compute — GPU work silently falls back to CPU in session-0 services.
- To update an engine, change its pin in
install.ps1($ENGINES: IPEX b20250729, llama.cpp b9544, llama-swap v223), re-run the installer, then restart the stack withlaunchers/restart-stack.ps1. - To add a model, add its entry to
llama-swap/models.yamland its alias togateway/config.yaml, download its GGUF into the models directory, then restart the stack. Test with the gateway smoke test in the Quickstart. - Do not change the LiteLLM version or engine pins without testing on the live B60 first — no verified newer known-good set is recorded in the repo.
- Remove the scheduled tasks
ArcLLM-Swap/ArcLLM-Gateway(Minimal install) orB60-Swap/B60-Gateway(Full install). - Remove the firewall rule "Arc LLM Gateway".
- Delete the install root (default
C:\arc-llm), which removes the engines, models, gateway venv, and logs under that root.
Facts below come from bench/results.md and STATUS.md; add your card via PR.
| GPU | OS / driver | Engine | Model | Result |
|---|---|---|---|---|
| Intel Arc Pro B60 24GB (Battlemage) | Windows, driver 32.0.101.8517, oneAPI 2025.1 | IPEX-LLM llama-server (SYCL, b20250729), -ngl 999 |
Gemma 3 12B Q4_K_M | 33.6 tok/s gen, pp512 84 tok/s, 49/49 layers on GPU; 128K ctx runs at ~31 tok/s; needle@16K PASS |
| Intel Arc Pro B60 24GB | same | IPEX-LLM ollama | Gemma 3 12B Q4_K_M | 0.8 tok/s (KV on CPU) — don't use |
| Intel Arc Pro B60 24GB | same | mainline llama.cpp Vulkan | gpt-oss-20b / Qwen3-VL-8B / Qwen2.5-Omni-7B | text MoE, vision, and exact audio transcription verified |
The Intel Arc software stack for LLMs is young and full of sharp edges. This repo is the result of working through every one of them so you don't have to — and packaging the result so anyone with an Arc card gets a working multi-model server in one command.
- 🧠 MoE + dense reasoning — Qwen3-30B-A3B, gpt-oss-20b, Gemma 3 12B/27B
- 👁️ Vision — Gemma 3, Qwen2.5-VL, Qwen3-VL (screenshots, OCR, visual Q&A)
- 🔊 Audio — Qwen2.5-Omni transcribes/understands speech
- 📜 Huge context — Gemma 3 12B at the full 128K window (needle-test verified)
- 💸 Local-first cost routing — everyday + vision stay free on the GPU; paid APIs are opt-in
- 🔌 One OpenAI endpoint — point any app/IDE/agent at it; models hot-swap on demand
- ♻️ Autostart — survives reboot via scheduled tasks
your apps ──> LiteLLM gateway (:4000, cost routing) ──> llama-swap (:9090, hot-swap)
├─ llama-server (IPEX SYCL) Gemma/Qwen2.5
└─ llama-server (Vulkan) gpt-oss/Qwen3-VL/Omni
└─ Intel Arc GPU
Real measured throughput, quantization recipes, and MoE-vs-dense data for this exact stack live in the companion repo intel-arc-llm-benchmarks (plus bench/results.md here for the built-in throughput + 128K needle test).
The sharp edges (so you skip the pain) — see docs/ + bench/results.md
- GPU compute only works in an interactive session (session 1), not a session-0 service —
otherwise it silently falls back to CPU. The scheduled tasks use
LogonType Interactive. - Use
llama-server -ngl 999, not IPEX-LLM ollama — ollama's scheduler keeps the KV cache on CPU on big models (0.8 tok/s vs 33 tok/s). - Use mainline GGUFs (ggml-org/unsloth) — ollama's GGUFs fail to load in the IPEX build.
- IPEX SYCL build: no flash-attn / no KV-quant (both crash) → f16 KV + small
-ubfor long ctx. - Newer archs (gpt-oss, Qwen3-VL, Omni): use the mainline Vulkan binary (enumerates only the
Arc). gpt-oss: drop
-fa. Qwen3-VL: add-fit off. - Deploy configs with SCP, not inline base64-over-SSH (truncates >~2KB). LiteLLM YAML must be ASCII.
install.ps1— the one-line installer (-MinimalGemma-only,-Fullfull roster).vram-budget/— max-num_ctxcalculator (KV-cache + sliding-window aware).launchers/— start scripts (device-pinned to the Arc) +restart-stack.ps1.llama-swap/models.yaml— model definitions.gateway/config.yaml— LiteLLM cost routing.bench/— throughput + long-context needle test + results.docs/— vLLM/Vulkan notes, Sentinel-style router integration, troubleshooting.MODELS.md— model strategy, live roster, and future tiers.PLAN.md— the build plan, with superseded phases marked.STATUS.md— live system status.recipes/— per-model Modelfiles.sentinel-dashboard/— Sentinel dashboard files.setup-services.ps1— service setup.wsl-gpu-setup.sh— WSL GPU setup.gateway/.env.example— example gateway environment file (copy togateway/.envand fill in).
MIT — built to help everyone with these cards. PRs welcome (more models, more Arc SKUs, perf tuning).
Built and maintained by one person, in the open. If it saves you time or money, you can throw something in the hat — entirely optional, and it changes nothing about the license or what ships.
Cash App — $vladien
Scan the code, or follow the link.
No tiers, no paywalled features, no "pro" build.
Self-hosted AI. Security-first. Always innovating.
- 🎛️ muse-maestro — guardrails, memory & cost telemetry for Meta Muse Code
- 🤖 sentinel-code — multi-provider AI coding agent with smart model routing
- 📊 intel-arc-llm-benchmarks — real Arc B60 inference numbers
- 🛠️ msp-tier3-toolkit — battle-tested MSP PowerShell
- 👤 @dirtysouthalpha — the full fleet
⭐ If this saved you time, star it and follow for more.
Dirty South Alpha™ · © 2026 · dirtysouthalpha.com · self-hosted AI · security-first
