Skip to content

arcint 1.8.4

Latest

Choose a tag to compare

@marfrit marfrit released this 29 Nov 12:45
· 1 commit to main since this release

arcint 1.8.4 adds Inkling 2 Mini's own speculative drafter, DSpark, behind --llama-dflash-gguf, and a decode
flash-attention kernel for the dense 27B hybrid's verify rows at q8_0 K / q4_0 V (GGML_OPENCL_FA_DEC27=1). Both are
opt-in; the defaults of the opt-in switches are unchanged. Around them is a batch of small corrections from the
series' review. The llama.cpp series is 196 patches (174 in 1.8.3). From this release on the cards are measured
uncapped (a 1 kW supply, the cards at their default power limits: Arc Pro B60 200 W, Arc Pro B70 275 W); earlier
releases were measured at 165 W (B60) / 220 W (B70). Rows measured at 165 W say so, and a number of one kind is not
compared with a number of the other. The record is in CHANGELOG.md.

Read first: what changes with no switch set

  • A write into a q8_0 / q4_0 tensor on OpenCL (ggml_backend_tensor_set; patches 0230, 0231). A partial write
    that would go to the split conversion is refused with a WARN, once a process and type; it used to convert the whole
    tensor from the caller's shorter data (a read past the caller's buffer). A range, a view or a second whole write
    into an already split non-weights tensor is now written into its two planes (whole blocks only); 1.8.3 dropped it
    with a WARN. No served path made either write (code reading).
  • test-backend-ops and three device tests have new exit codes (0229, 0250). test-backend-ops exits 1 where it
    printed OK and exited 0 having tested nothing: a -b that names no device (it now lists them; the OpenCL device is
    GPUOpenCL), or a filter that matched no case. With no device besides the CPU reference it prints SKIP and
    exits 77, and so do test-dspark-shortlist gpu, test-opencl-argmax-sched and test-opencl-kv-view-write (they
    exited 2 / 2 / 1). A script that reads those codes reads them differently now.
  • OpenCL takes any F32 ARGMAX node (0240, exact: ggml's CPU tie rule; no graph arcint serves had one before
    DSpark; GGML_OPENCL_ARGMAX=0 leaves it to the CPU). /props carries dflash.kind, and the speculative path takes
    one more lock a request.
  • Refusals that only narrow: a GGML_OPENCL_GDN_INTEL override with a misaligned second local chunk falls back
    to the defaults (0228), and the FA port's gate refuses a bias table that is a view at an offset not a multiple of 4
    (0232).
  • With GGML_OPENCL_KQ_MM_ID_I8 already set: a MUL_MAT_ID of GEMM size that the int8 route turns away prints one
    DOWNGRADE src=opencl op=MUL_MAT_ID … line a key, and /props gains that key; it fell to the fp16 path without a
    word (0233). A unit that gates on the downgrade count can see a new key.

New switches (all opt-in)

  • --llama-dflash-gguf: Inkling 2 Mini's DSpark drafter (a drafter converted by
    tools/inkling2_dspark_to_gguf.py). A draft is one decode of the trained 8-row block with the Markov
    chain over the first --llama-dflash N rows (1-7, default 7); the target verifies 1 + N rows. Lossless: greedy drafts, every
    verified row drawn with the request's own sampler. The load refuses a target that is not Inkling 2.
    --llama-dflash-kv sets the drafter context's K/V.
  • --llama-dflash-shortlist K (0-1024, 0 = the full chain): the Markov chain over each draft row's K best base
    logits. Not the reference's value: absent, a DSpark drafter runs K = 512 (the reference's coding profile serves
    256). A DFlash2 drafter is unchanged (off, and a given nonzero K refused).
  • GGML_OPENCL_FA_DEC27=1: a decode flash-attention kernel that reads a q8_0 K and a q4_0 V in place, for 4 to
    8-row calls at head size 256, taken from 8,192 keys on (=2 forces it at every key count, for tests).
  • GGML_OPENCL_Q8_2D=2 (1.8.3's int8 arm) stays opt-in in the code: off unset, 1 the fp16 arm, 2 the int8
    arm. The Inkling unit in the evidence below sets =2: the operator's unit setting, not the code's default.

The numbers, with their conditions

Release evidence, uncapped (2026-11-29; the release candidate against the installed 1.8.3 package, alternating
pairs; B60 200 W, B70 275 W; SE = the standard error of the paired difference, in t/s):

  • Inkling 2 Mini (Arc Pro B60), the unit's flags with GGML_OPENCL_Q8_2D=2, 6 pairs a depth, at depth 0 and
    32,768 only (77k was not measured on the release candidate):
    • DSpark off against 1.8.3: decode at depth 0 42.12 against 42.06 t/s (+0.2 %, SE 0.005), at 32k 31.28 against
      31.29 (level, SE 0.009); prefill at 32k 1,105.4 against 1,086.2 t/s (+1.8 %, SE 0.29).
    • DSpark on (width 3, the F32 drafter, shortlist 512) against DSpark off: decode 53.84 against 42.12 t/s, +27.8 %
      at depth 0 (SE 1.43), and 38.08 against 31.28, +21.7 % at 32k (SE 0.99). Prefill at 32k -5.1 % (SE 0.32), which
      is -3.4 % against 1.8.3: DSpark on is slower on the prompt pass.
    • The answers 15 of 15 right (the capital and the needle). DOWNGRADE keys on the DSpark arm: the one known key,
      MUL_MAT bf16 k=2304 cols=5-15 generic; none new.
  • The dense 27B (Arc Pro B60), GGML_OPENCL_FA_DEC27=1 against 1.8.3, greedy, 6 pairs a depth: decode at depth 0
    42.20 against 42.18 t/s (level, SE 0.057), at 32k 36.94 against 31.28 (+18.1 %, SE 0.514). The answers right; 0 new
    DOWNGRADE keys.
  • Flash-Next (Arc Pro B70), one pair at depth 0 (data, no SE): 41.70 against 41.21 t/s (+1.19 %); the capital
    right; 0 new DOWNGRADE keys.
  • A fresh Debian trixie container installs the release candidate's .deb with every dependency resolved. On the
    B60 with the Inkling unit's flags and DSpark: at --n-ctx 262144 the spill guard refused the start (24,500 of the
    card's 24,480 MiB; the runtime limit below); at --n-ctx 260608 it loads, the capital is right, and a tool call
    with a tab in its string argument comes back correct.

Measured at 165 W (Arc Pro B60, the item's own landing runs; not comparable with the block above):

  • DSpark against DSpark off, 2026-11-28, Inkling 2 Mini IQ4_NL at q8_0:q4_0 K/V, width 3, K = 256, 768-token code
    continuations, 10 pairs a depth: +16.9 % at depth 0 (42.03 -> 49.12 t/s), +21.4 % at 32,768 (31.30 -> 38.02),
    +13.6 % at 77,000 (27.74 -> 31.51), each more than 2 SE. The shortlist's accept price at depth 0: 48.6 % against 55.7 % without it
    (-7.1 points, SE_d 3.9).
  • GGML_OPENCL_FA_DEC27 on the dense 27B hybrid: served, a greedy pair (6 pairs a depth):
    25.81 -> 30.05 t/s at 77k and 15.41 -> 22.94 at 131k, depth 0 level. KL / top-1 against the CPU base, off -> on:
    at 2k 0.001817 / 99.039 % -> 0.001803 / 99.055 %, at 32k 0.001764 / 99.029 % -> 0.001769 / 99.097 %.
  • GGML_OPENCL_Q8_2D=2 against =1: +2.0 % on the 4,096-token prompt pass (1,255.3 against 1,230.1 t/s; 1.8.3's
    measurement, not measured again).

Closed since 1.8.3 (Arc Pro B60, uncapped, Inkling 2 Mini at q8_0 K / q4_0 V, mean KL and top-1 agreement
against the CPU base):

  • GGML_OPENCL_LOOP_CONTROL=f32 minus off (1.8.3's "owed"): at 2k +0.000049 nats / -0.08 pt on 1,024-row batches and
    -0.000021 nats / +0.05 pt on 8-row batches; at 32k +0.000197 nats / -0.03 pt and +0.000011 nats / +0.11 pt.
  • GGML_OPENCL_Q8_2D=2 against =1: at 2k -0.000134 nats / -0.05 pt, at 32k +0.000171 nats / +0.15 pt.

From GitHub issue #8, the reporter's own measurement (not ours;
#8 (comment), 2026-11-28): GGML_OPENCL_LOOP_CONTROL=f32 on
an Arc Pro B70 at the card's default power limit, Inkling 2 Mini: decode +22 % at depth 0 (37.07 -> 45.25 t/s), +18 %
at 4,096 and +23 % at 32k. Ours on the B60 at 165 W in 1.8.3: +9.3 % at depth 0 (39.24 -> 42.90 t/s) and +6.6 % at
32k.

Known limits

  • With Intel compute runtime 26.35 the driver holds about 341 MiB more device memory than with 26.27. For Inkling 2 Mini with DSpark on a 24 GiB card, use --n-ctx 260608, or runtime 26.27; the spill guard refuses and names the size.
  • DSpark's injection product at 9-15 rows runs on the generic kernel (the DOWNGRADE key above, about 2.34 ms once a
    prompt; not the propose path): a 1.8.5 item.
  • DSpark with several lanes needs named lanes (--lane-ctx): without them a lane can lose a block's ids and draft
    nothing that step, without a log line. One lane and named lanes are not affected; the answers stay right (every
    draft is verified), the cost is speed.
  • DSpark is measured on the Arc Pro B60 with Inkling 2 Mini only. Owed: the KL gate against the CPU base and
    width 5 against 7. The fallback for a drafter the shortlist does not serve has never run (its rule is unit-tested).
  • GGML_OPENCL_FA_DEC27 is measured on the Arc Pro B60 only, on the dense 27B hybrid at q8_0 K / q4_0 V only;
    micro-batch 1 is not measured.
  • The IQ4_NL split set keeps the stale-entry exposure that 0231 removes for the q8_0 / q4_0 sets (a follow-up).
  • Full list: README "Known limits (1.8.4)".

Install / upgrade

  • The Debian package (trixie, amd64) is attached to this release and is in the package pool; it is built by
    contrib/packaging/arcint/build-deb.sh from this tag's tarball; containers are in
    docs/docker.md. Debian ships no Intel compute runtime: see README, "The GPU runtime on a fresh host", and the
    runtime limit above before choosing 26.35.
  • Upgrading from 1.8.3 needs no unit change: with no new switch set, only the "Read first" items apply.
  • A DSpark drafter converted before this release needs --markov-w1 f32 (now the converter's default).

Credits

18 of the 20 commits since 1.8.3 (code, tests and one docs commit) were implemented by meseeks (a private
DeepSeek-V4.1-Flash quant, run locally), briefed and reviewed by Claude; the commits carry the line. The B70 rows are
the issue #8 reporter's: thank you.