Skip to content

Releases

Nightly 2026-12-06 (619aca8)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:00
619aca8

Nightly build: not a stable release. The nightly branch at 619aca8 (2026-12-06). New
features land here first, some marked experimental; they move to a stable release once they have been
tested. The latest stable release is v1.2.1.

Use it: git checkout nightly && ./install.sh, or the Docker image ghcr.io/itstxl/arcangel:nightly
(this build: ghcr.io/itstxl/arcangel@sha256:24d52ac4a861b19b853c62621b1a928fdd93743731d87923723e8156f388666d).

Changes since v1.2.1:

  • docker: Reduce the serving image size (071f30e)
  • docker: Prevent fallback to a pre-Battlemage GPU toolchain (e5cccc2)
  • docker: Redirect curl downloads instead of using -o (c7f6834)
  • compose: Rebuild ArcAngel on source changes with Watch (a81338f)
  • Qwen4 on two cards (tensor parallel, EXPERIMENTAL) (6730052)
  • qwen4: grf_size header outside the MKL guard (CI builds without MKL) (004f430)
  • Qwen4 Q4: prompt reading +30%, decode CPU wait (4bd2c2f)
  • CHANGELOG: the Q4 decode speedup released in v1.2.1 (15cb67c)
  • Qwen4 Q4 decode ~2x: repacked K-quant experts, cache misses on the CPU (3874a24)
  • Nightly: 1.3.0-dev (232d0e6)

ArcAngel v1.2.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 15:59

Released 2026-12-05.

  • Qwen4-35B-A3B Q4 decode ~2x (B580, UD-Q4_K_XL, 96k context, server): short 49 -> 81 tok/s, new code 52 -> 101,
    a file rewrite 68 -> 145, new code after 4k / 30k / 90k 45 / 43 / 39 -> 86 / 79 / 76. Q2 faster too: 83 / 107 /
    148 -> 92 / 118 / 164, after 4k / 30k / 90k 77 / 73 / 70 -> 98 / 92 / 83. Same accuracy (mean KL against llama.cpp
    0.0086 for Q4, 0.013 for Q2).
    • The Q4_K / Q5_K / Q6_K experts repacked at load into planes (lossless, the same bytes): the expert kernels 3-5x
      faster, and misses read over PCIe in 16-byte loads.
    • The experts a token misses in the card's cache are computed by the CPU (AVX2, from the pinned system RAM, which it
      reads ~3x faster than the GPU over PCIe) while the GPU runs the cached ones; the best-scored miss of each layer is
      copied into the cache afterwards on a copy engine. Q4_NO_CPU=1 turns it off.
    • The MTP block's experts are managed on the device too and its drafts take the fused MoE; the draft's head scores
      the first 98,304 ids and the chat's control tokens (99.8% of code and prose tokens): a draft 2.5 -> 1.3 ms.
    • Long context: the indexer's block scores a sub-group per block, its top-k with the scores in registers, its query
      on the fused kernel: decode after 90k 15.3 -> 13.5 ms a token.
    • Sampling (temperature > 0) on the GPU for Qwen4, as for Inkling: no logits copied to the server.
    • The n-gram table is read with MADV_RANDOM and every row's page requested before decoding (removes the 30%
      swings on 32 GB machines, where the table does not stay in the page cache), on a helper thread with the pass.

ArcAngel v1.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 23:09

Released 2026-12-04.

Qwen4-35B-A3B joins Inkling 2 Mini, and Inkling 2 Mini is much faster. Arc B580 (12 GB), the default recipes,
through the server; llama.cpp (Vulkan) on the same card, model and quant.

Qwen4-35B-A3B (UD-Q2_K_XL, 96k context, 8-bit K/V; llama.cpp with its experts of 16 layers in system RAM, the least
that loads, no drafting):

ArcAngel v1.2 llama.cpp
Short answer 83 tok/s 23 tok/s (3.5x)
New code 107 tok/s 23 tok/s (4.6x)
Rewriting a file 148 tok/s 23 tok/s (6.5x)
New code after 4k / 30k / 90k of source 77 / 73 / 70 tok/s 22 at 4k; 1.8 at 30k
Prompt reading at 4k / 30k / 90k 1,306 / 1,292 / 1,258 tok/s 307 at 4k; 38 at 30k

Inkling 2 Mini (UD-Q2_K_XL, 96k context, 4-bit K/V, DFlash2; llama.cpp with its DSpark draft model):

v1.1 ArcAngel v1.2 llama.cpp
New code ~90 tok/s 135 tok/s 33-38 tok/s (~3.8x)
Rewriting a file ~140 tok/s 272 tok/s
New code after 4k / 30k / 90k of source 75 / 71 / 52 117 / 95 / 78 tok/s ~18 at 30k (5.3x); 90k does not fit
Prompt reading at 4k / 90k (drafter loaded) 984 / 705 1,616 / 1,268 tok/s ~225 at 4k (7.2x); 90k does not fit
Prompt reading, peak (8k, more free VRAM) ~1,000 ~2,500 tok/s
  • Qwen4-35B-A3B (Qwen), a second model with its own engine: 256 experts (8 a token, 3B active), Gated DeltaNet
    and sparse attention, a built-in MTP block that ArcAngel drafts with. ./install.sh --model qwen4, API model
    qwen4-35b-a3b, natively or in Docker. ./install.sh asks which model to install (on cards with a Qwen4 recipe;
    -y keeps Inkling 2 Mini).
    • The experts live in pinned system RAM with a hot-expert cache on the card that the GPU manages itself (admitted
      on a miss, copied inside the expert kernel), so every card runs both recipes: Q2 (UD-Q2_K_XL, the fastest)
      and Q4 (UD-Q4_K_XL, better quality; B580: 49 / 52 / 68 tok/s short / code / edit, ~1,040 tok/s prompts).
      96k context on the B580, 64k on the B570, up to 1M on the Pro cards (cards-qwen4.tsv). The B580 recipes are
      tested; the rest are sized from each card's memory.
    • A fused decode path (several layers' small steps in one kernel, token counts fixed at compile time, the LM head
      in a planar Q6_K layout), GPU argmax, and MTP plus copy drafting checked four tokens at a time.
    • 8-bit or 4-bit K/V cache (--kv-bits): 8-bit where the card can spare it, 4-bit where it cannot. Accuracy
      against llama.cpp (mean KL): Q2 0.013, Q4 0.009; the quantized caches within ~0.003.
    • Long prompts borrow the cache's last slots for their scratch while they run, so the cache is larger for decode;
      prompt chunks of 2048 tokens where the cache holds 64+ experts a layer; the indexer's scoring on oneMKL.
    • Needs 32 GB of system RAM for Q2 and 48 GB for Q4 (the 11.5 GB n-gram table shared by both wants to stay in the
      page cache). Lunar Lake has no Qwen4 recipe yet.
  • Inkling 2 Mini: prompt reading up to ~2,500 tok/s, from ~1,000 in v1.1 (B580, an 8k prompt): the prompt path's
    matrix multiplies on the matrix units through oneMKL, experts grouped across chunks, a new attention kernel, and
    every prompt buffer planned at start-up. In the server's default setup (96k context with the DFlash2 drafter
    loaded) 4k prompts read at 1,616 tok/s (984 in v1.1) and 90k at 1,268 (705); with more VRAM free (a smaller
    context, no drafter, or a larger card) it reaches ~2,500. Details below.
  • Inkling 2 Mini: generation ~1.5x faster: new code ~90 -> 135 tok/s, a file rewrite ~140 -> 272, new code
    after 90k of source 52 -> 78. Plain decode is ~20% faster (int8 dot products on the packed instruction) and
    speculative decoding gains more (a learned check policy, 16-token checks, attention and the LM head of checks on
    the matrix units). Details below.
  • README, installer, server and the repository description describe the engine, not one model; the README lists each
    model with its performance and recipes.

Everything since v1.1.0, in detail:

  • Speculative decoding faster (B580, UD-Q2_K_XL, server at temperature 0): edits 227 -> ~265 tok/s, code
    ~150 -> ~160, an 87k-token prompt 63-72 -> 73-86; replayed greedy traces: code 141 -> ~170, prose 131 -> ~154.

    • The DFlash2 check-size policy learns how often its confidence bins are accepted while serving (the fitted
      table is the prior), and its step / check costs are today's: the old defaults priced a check of 8 at 53 ms
      (now ~27), so it almost never drafted 7 tokens.
    • Checks of up to 16 tokens on the fast path (longer ones took the prompt path: 270+ ms for 12). A copy draft that
      was kept whole earns a 15-token draft next (ink_max_check tells the server the limit).
    • A check's full attention on the matrix units for checks of 8 and 16 (80k context: a check of 8 49 -> 39 ms),
      the 16-token checks also for the sliding-window layers, with chunks that grow with depth so their partials fit
      in the prompt pool. Sliding-window checks read V from local memory; the striped P.V no longer uses local float
      atomics.
    • Decode attention with the 4-bit cache reads each V row once for the three query heads (80k: 4.6 -> 3.4 ms a
      step).
    • The LM head of checks of 4 and 8, and of DFlash2 drafts, on the matrix units (check of 8: 1.23 -> 0.80 ms).
    • The check buffers are part of the start-up memory plan.
  • Prompt reading with the drafter loaded faster (B580, UD-Q2_K_XL, 96k context, the server's setup; v1.1 read
    4k / 90k prompts at 984 / 705 tok/s): 8k 1,214 -> 1,873 tok/s, 32k 1,354 -> 1,743, 86k 784 -> 1,379 (110 -> 62 s).
    With a small context and no drafter 8k prompts still read at ~2,500 (1024-token chunks in groups of 8).

    • Prompt attention runs a new kernel where each sub-group owns its 8 query rows end to end: the softmax in registers
      on the matrix units' results, 40 query tokens per work-group instead of 16 (each key read and unpacked from the
      4-bit cache 2.5x less often), double-buffered K/V tiles. An 86k prompt's attention 41 -> 30 s. It no longer needs
      the packed fp16 key window (67 MB at 1024-token chunks: room for larger groups). INK_FA2=1 uses it only past
      16k keys, INK_FA2=0 not at all.
    • The automatic prompt chunk is chosen by a time-per-token model fitted to measurements; the previous score picked
      256-token chunks whenever a little more VRAM was free (1,214 tok/s at 8k against 1,546 for 512).
    • One VRAM safety margin, 384 MB (INK_MARGIN_MB), for the engine's plan and every load check: the engine kept
      512 MB and the drafter another 512 MB of its own, so the drafter's load could fail on a desktop's normal swings.
      The server reserves exactly the drafter's needs (360 MB) while the engine plans. Lowest free VRAM through a
      server run: 352 MB (was 453).
    • The drafter gets the features of the prompt's last 1,088 tokens (was 2,112, INK_TAP_HORIZON): the chunks
      before them read grouped. Drafting is as good (code after a 29k prompt, a file edit), an 8k prompt 9% faster.
    • The prompt's last chunks, which feed the drafter, are read grouped too (the drafter's features of a group
      collected side by side, the drafter fed once the group is done): an 8k prompt 1,692 -> 1,873 tok/s.
    • The memory plan's allowance for decode buffers is 16 MB (64 before; ~7 MB are allocated).
  • Long prompts with DFlash2 ~25% faster: loading the drafter turned off the grouped (visit-major) prompt path for
    the whole prompt, though the drafter only needs the last ~2k tokens' features. The chunks before them now take the
    grouped path (B580, 96k context, an 86k prompt: 110 -> 83 s).

  • Docker: apt retries downloads (a Launchpad PPA outage failed the nightly image build with exit code 100).

  • Fix: on two cards, DFlash2 no longer fails to load at large contexts (192k on two B580s, issue #15). The
    speculative checks' command graphs, and the check buffers they need, were built when the engine loaded, before
    the drafter, in VRAM the start-up planning did not count. They are now built before the first check, after the
    drafter; if they no longer fit, checks are submitted directly (as INK_TP_VGRAPH=0 does).

  • Fix: the release image did not build since the int8 dot-product change (the SPIR-V extension flag needs a target
    per device when the build compiles for several).

  • Prompt reading ~2.5x faster (B580, UD-Q2_K_XL, an 8k prompt in bench-prefill: ~1,000 -> ~2,500 tok/s; ~2,700
    with more free VRAM). The prompt path's matrix multiplies now go through oneMKL's SYCL BLAS: weights unpacked to
    fp16 and multiplied on the matrix units by the library, experts one at a time. Chunks of 2048 tokens run each
    layer's experts for a group of chunks together (twice the tokens per expert, weights unpacked once a group); the
    group size follows the free VRAM. On by default when oneMKL is found at build time: the installer offers to
    install it (intel-oneapi-mkl-sycl on Arch, intel-oneapi-mkl-sycl-devel from Intel's repository on
    Debian/Ubuntu/Fedora, ~2 GB on disk); without it ArcAngel builds as before. -DINK_MKL=OFF builds without it;
    INK_DQ=0 / INK_DQE=0 / INK_VGROUP=1 turn its parts off at run time. The Docker image includes it (the
    four libraries ArcAngel loads, 176 MB): same prompt speed as a native build (B580, 8k prompt: 2,483 tok/s).
    Server defaults (96k context, 4-bit KV): 1,038 -> 2,048 tok/s.

  • Prompt memory planned at start-up: every prompt buffer (including the attention bias table and packed K/V
    window, which were allocated on the first prompt and never counted) is sized and allocated when the engine
    starts, so a setup that loads runs every prompt at the same speed and cannot run out of VRAM mid-request. The
    automatic prompt chunk prefers a smaller chunk with oneMKL over a larger one without it; INK_MEM=1 prints
    the plan. On two cards n...

Read more

ArcAngel v1.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 00:35

Released 2026-12-01.

  • Two cards (experimental): ARCANGEL_TP=2 splits the model across two Xe2 cards (tensor parallel), and the
    installer offers it with two of the same card (--setup dual; on two B580s, UD-Q4_K_XL with a 192k context).
    Run on two Arc Pro B70s (no peer-to-peer, exchanges through host memory): ~120-130 tok/s, an hour of live use
    with no faults. See docs/tensor_parallel.md.
  • Two cards: the device pick no longer takes an integrated GPU (its memory is the system's RAM, so it outranked any
    card; this also hit single-card machines with an iGPU enabled) (thanks prg3, PR #10).
  • Two cards: one way to exchange, and no GPU waits on the other card any more (each card's host thread waits for
    its own copy). The GPU-side waits crashed on two Arc Pro B70s without
    peer-to-peer; ARCANGEL_TP_MODE (event / host) is gone.
  • Faster unpacking: NVFP4 experts (most of every Q4 recipe) and IQ2_XXS / IQ2_XS: UD-Q2_K_XL +1.3%, the
    UD-Q4_K_XL offload recipe +2% on a B580; more on the full-VRAM Q4 cards (not measured here).
  • Speculative decoding with offloading: copy drafting and DFlash2 now run in the offload setups too. A check runs
    the CPU's experts for all its tokens at once (each distinct expert read once; a new batched AVX2 kernel), next to the
    cached experts on the GPU; the GPU also takes the uncached experts most of a check's tokens share, reading them from
    RAM over PCIe (the split calibrates itself); checks run as command-graph segments; and they feed the hot-expert
    cache's counts. B580, UD-Q4_K_XL offload: +16% prose, +39% new code, +94% rewriting a file.
    ARCANGEL_OFFLOAD_SPEC=0 turns it off.
  • Dense Q4_K / Q6_K layers on DP4A: GGUFs that store the attention projections, wo or the LM head in Q4_K or
    Q6_K (some community quants; the Unsloth UD quants use Q8_0 there and are unchanged) run those matvecs on int8
    activations: 1.2-1.3x on those kernels, +4% decode on an Arc 140V. INK_MVQ8 (bitmask: 1 proj, 2 wo, 4 head;
    default 3, 0 = off) (thanks alpha2beta, PR #12).
  • Longer answers: the default output limit is 32768 tokens (was 8192), in the server and the installer's
    opencode settings.
  • Releases: the nightly pre-release and stable releases are published only after their image builds; a quick CI
    build and the CPU-only tests run on every push and pull request (the server tests' mocks updated to pass again).
  • Fix: with expert offloading and a small hot-expert cache (the offload recipes with a drafter, or cards with little
    VRAM to spare), the prompt path read the largest expert tensors straight from RAM because they did not fit its
    staging area; it now stages them in expert ranges. Prompt reading 25% faster there (B580 offload recipe with
    speculation: 55k tokens in 107 s, was 135 s).
  • Fix: the prompt path saved part of the K/V convolution history from the wrong place whenever K and V were not
    contiguous (only with tensor parallel; single-card results were unaffected).

ArcAngel v1.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:00

The first stable release: everything on main as of 2026-11-30.

Engine. A SYCL engine written for Inkling 2 Mini on Intel Xe2 (Arc B570, B580, Pro B50, Pro B60, Pro B70 and
Lunar Lake's Arc 140V), compiled ahead of time for each chip.

  • Decode as one SYCL command graph per token, expert routing on the GPU, fused kernels for every weight format in
    Unsloth's UD quants (IQ1_S to Q8_0, NVFP4, MXFP4, BF16).
  • Prompt reading on the XMX units (flash attention and expert GEMMs), up to 1,024-token chunks.
  • 8-bit or 4-bit K/V cache; contexts up to 96k on a B580 and several hundred thousand tokens on the 24-32 GB cards.
  • Expert offloading: the routed experts of chosen layers in pinned system RAM, computed by the CPU during decode,
    with a hot-expert cache in VRAM.
  • Speculative decoding: copy drafting and the DFlash2 draft model (on by default in the full-VRAM setups), batched
    verification, GPU sampling; DSpark as an option.
  • Checked against llama.cpp's CPU output layer by layer (test-forward).

Server. OpenAI-compatible API (/v1/chat/completions with streaming, reasoning as reasoning_content, tool
calls; /v1/models, /health, /stats, /tokenize), sandboxed and checksummed chat templates, the current
conversation kept on the GPU and two more stashed in system RAM.

Install. install.sh detects the card and offers two recipes per card (full VRAM, or offload), natively or in
Docker (ghcr.io/itstxl/arcangel, built by GitHub Actions with a build-provenance attestation), and can add the
model to opencode. An Omarchy bar widget lives in omarchy-arcangel.

Speed on an Arc B580 (UD-Q2_K_XL, 96k context, default setup): 103 tok/s on short coding requests, 75 / 74 /
71 / 52 tok/s with 4k / 12k / 30k / 90k of context; prompt reading 984 tok/s at 4k, 705 tok/s at 90k. Other cards
and the measurements behind these numbers: README.md and PERF.md.

Thanks to vvoland (Docker and Compose packaging, the template sandbox and checksums,
model info), alpha2beta (Lunar Lake support, NVFP4 and Q5_K kernels, GPU argmax,
the incremental output parser, speculative decoding) and marcellbaan (the first
Docker image, the Arc Pro B60 measurements).