itstxl/arcangel
À propos
Fast local LLMs for Intel Arc GPUs (B570/B580/B50/B60/B70, Lunar Lake 140V): SYCL engine with kernels tuned per model, expert offloading, speculative decoding, OpenAI-compatible server, one-command installer (native or Docker)
Systèmes et infrastructureProgression mesurée des étoiles
- in 24h
- +4
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
Fast local AI for Intel Arc GPUs.
An inference engine built for Intel Xe2, running on your own machine.
Install · Performance · GPUs · How it works · Docs
Free, open source, and fully local. ArcAngel currently runs Inkling 2 Mini, a strong coding model, on Intel Xe2 GPUs: the Arc B570 and B580, the Arc Pro B50, B60 and B70, and the Arc 140V in Lunar Lake laptops. It serves an OpenAI-compatible API that opencode and other coding agents use directly.
- Fast. 100+ tok/s on coding tasks on an Arc B580, ~140 when rewriting files, 52 tok/s with 90k tokens of context. About three times llama.cpp's generation speed on the same card, and four times its prompt speed.
- Long context. 96k tokens on a 12 GB card; up to 1M on the Pro cards.
- Two setups per card. Everything in VRAM for speed, or part of the model in system RAM for a better quantization or more context.
- One command. The installer detects the card, picks the model and sets up the server and opencode, natively or in Docker.
Install
git clone https://github.com/itstxl/arcangel && cd arcangel
./install.sh
It detects your card, asks which setup you want, shows a plan, and after one confirmation installs the GPU
runtime if needed, downloads the right model, builds the engine for your card and starts the arcangel
service. Then pick Inkling 2 Mini (ArcAngel) in opencode.
Options, Omarchy bar widget and requirements: docs/install.md. Containers:
docs/docker.md (ghcr.io/itstxl/arcangel).
Performance
Arc B580 (12 GB), full VRAM, 96k context, the default setup, through the server. llama.cpp (Vulkan, with its DSpark draft model) on the same card and model.
| ArcAngel | llama.cpp | |
|---|---|---|
| Coding requests, short context | 103 tok/s | 33-38 tok/s |
| Generation at 30k / 90k of context | 71 / 52 tok/s | ~18 / does not fit |
| Prompt reading at 4k / 90k | 984 / 705 tok/s | ~225 / does not fit |
Speculative decoding (copy drafting and the DFlash2 draft model) is on by default and leaves the output unchanged: HumanEval / HumanEval+ score 94.5% / 90.2% with it. Offload setup, other cards and the accuracy checks: docs/benchmarks.md.
Supported GPUs
| GPU | Memory | Full VRAM | Offload | Tested |
|---|---|---|---|---|
| Arc B570 | 10 GB | UD-IQ1_S, 32k | UD-Q4_K_XL, 32k | not yet |
| Arc B580 | 12 GB | UD-Q2_K_XL, 96k | UD-Q4_K_XL, 96k | both |
| Arc Pro B50 | 16 GB | UD-Q2_K_XL, 256k | UD-Q4_K_XL, 256k | not yet |
| Arc Pro B60 | 24 GB | UD-Q4_K_XL, 256k | UD-Q4_K_XL, 1M | both |
| Arc Pro B70 | 32 GB | UD-Q4_K_XL, 512k | UD-Q4_K_XL, 1M | full VRAM |
| Arc 140V (Lunar Lake) | 32 GB shared | UD-Q4_K_M, 32k | UD-Q2_K_XL, 96k | full VRAM |
Offload keeps the experts of the 12 layers that run once per token in system RAM and computes them on the CPU alongside the GPU (needs ~32 GB of RAM). Two of the same card can split the model between them (experimental). Recipes: cards.tsv.
Usage
systemctl --user start arcangel # or in the foreground: server/run.sh
journalctl --user -u arcangel -f # logs
The API is at http://127.0.0.1:8082/v1 (model inkling-2-mini, localhost only). Settings, conversation
caching and two cards: docs/usage.md.
How it works
The current model, Inkling 2 Mini, is a mixture of experts (128 experts, 8 per token) whose 24 layers run as 48 visits. ArcAngel is SYCL C++ on Level Zero, with kernels tuned to each model it runs:
- Per-format kernels for every weight format in the model's quantizations, bit-exact with ggml, repacked at load into GPU-friendly layouts.
- Prompt reading on the XMX matrix units; generation as a recorded SYCL graph with int8 experts and attention; an 8- or 4-bit K/V cache.
- Expert offloading with AVX2 CPU kernels beside the GPU and a VRAM cache of the most-used experts.
- Speculative decoding with batched verification, copy drafting and the DFlash2 draft model, sampling on the GPU.
Documentation
- Install, Docker and Usage: setting up and running it
- Benchmarks and PERF.md: results per card, and how the speed was reached
- SPEC.md and Development: the forward pass, building and testing
- CHANGELOG.md: releases, stable (
main, taggedvX.Y.Z) and nightly (nightly)
Contributors
@itstxl (engine, installer, recipes) · @vvoland (Docker and Compose, template sandbox) · @alpha2beta (Lunar Lake, kernels, speculative decoding) · @marcellbaan (first Docker image, Arc Pro B60) · @prg3 (multi-GPU device selection)
ArcAngel is an open-source project by Enpora.
MIT license · the model and tokenizer are Apache-2.0, downloaded, not included (NOTICE)
Explorer des projets similaires
Chargement…