Context This overview sits inside the distributed AI research program; the research page has the testbeds and the other model studies. Distributed AI research.

The accelerator work had two different targets. Adreno is the GPU path: wide packed-dot projections and shader variants. Hexagon is the DSP/NPU path: matrix extensions, activation rounding, and a separate memory and scheduling model. Both can produce a real kernel-level win. Neither wins automatically at the request level.

This is an overview of what was tried on Inkling 2 Mini and Qwen4, what was measured, and what stayed out of a full deployment. The short version: the integer kernels got faster, the full requests did not always follow, and Qwen4's tested cluster path remained on the CPU.

Thinking Machines Lab

Inkling 2 Mini

Architecture
26.4B sparse MoE · 3.4B active · 5.4B effective per token
Artifact
IQ4_NL GGUF · local quantization
Platform
4 × OnePlus 11 · Ethernet switch · six threads per worker
Status
Four-phone study

Qwen

Qwen4-35B-A3B

Architecture
35B total / 3B active MoE
Artifact
Q4_K_M GGUF
Platform
4 × OnePlus 11 · Ethernet switch · Aeneas-led placement
Status
Capability study

Adreno: packed-dot and two reductions

The Inkling IQ4_NL path used a 64-lane packed-dot kernel for the routed expert projections. Two variants changed the reduction without changing the model arithmetic.

The first replaced the shared-memory output reduction with a single-subgroup reduction. Across three routes, the candidate means were 4.71–4.77 ms per block against 5.01–5.13 ms for the bracketing control, a 0.24–0.39 ms saving per block. The separate GPU timestamp runs showed 2.76 ms for gate/up and 1.64 ms for down, versus 2.92 ms and 1.80 ms for the original.

The second stored the exact signed 32-value activation sum in the second metadata halfword while packing. An integer 128 × sum then replaced the repeated bias-correction dots. The activation block stayed the same size. Static packed-dot instructions fell from 128 to 64 in the matched shader program (SPIR-V). The candidate means were 4.05–4.07 ms per block against 4.99–5.03 ms for the control, a 0.93–0.96 ms saving per block.

Adreno armGate/up GPU intervalDown GPU interval
Original 64-lane packed dot2.92 ms1.80 ms
Subgroup add2.76 ms1.64 ms
Exact activation sum2.36 ms1.42 ms
FP32 lookup reference1.87 ms1.39 ms
Medians from 48 instrumented full-bank graphs per arm. The FP32 reference is still faster at the GPU interval level; the integer variants are parity-preserving kernel improvements, not an automatic end-to-end win.

That last row is the important caveat. The optimized four-bit kernels beat their own packed-dot control, but the FP32 lookup reference remained faster in the isolated GPU interval. A kernel can be better than its predecessor and still not be the fastest available path. These variants were not installed in a full-model deployment.

Hexagon: HMX rounding and the speed gate

The Hexagon Matrix Extensions (HMX) prefill path had a numerical problem before it had a speed problem. Matching ARM's eight-bit Q8_0 activation rounding reduced worst output error from 1.13% to 0.406% relative to production ARM, passing the 0.5% parity gate. That is a real improvement in correctness.

The speed result was mixed. At 64 positions with the compact expert set, rounded HMX was faster than ARM: 90.43–90.54 ms versus 94.78–96.89 ms. With all 128 experts resident, ARM was faster: 80.81–86.86 ms versus 90.28–90.32 ms for rounded HMX. The full-bank request-speed gate did not pass, so the longer live HMX prefill request was held.

The conversions were not free. The 64-position full-bank arm spent about 0.97–0.99 ms on the two conversions, 0.20 ms on the intermediate read, 0.14 ms writing inputs, and 0.05 ms on the final read. Fusing the arithmetic did not remove the staging cost around it.

Qwen4: the tested path was the CPU

Qwen4 did not run on Adreno or Hexagon in the four-phone study. It ran as a four-bit Q4_K_M conversion over CPU/RPC, with an Aeneas-led 10/10/10/10 placement. The LiteRT package is the accelerator-oriented path, but it is a separate runtime and was not the measured bridge.

The operator trace still found useful CPU optimization work. The largest named arithmetic cost was the BF16 residual controller. Its feed-forward down/inject and up matrix families took about 60 and 18 ms per generated token across 40 layers. The pinned CPU implementation lacked an ARM NEON dot specialization for BF16, even though the phones advertise NEON dot product and INT8 matrix multiply. That is a concrete kernel gap, not a generic “the CPU is slow” claim.

The sampler was another measurable win. Moving greedy sampling to the coordinator kept the same answer token sequence while reducing Athena Ethernet transmit from roughly 993 KB to 1.2 KB per generated token on the utility prompt, and from 978 KB to 2.3 KB on Surprise. Decode improved from 2.90 to 3.01 tokens/s, about 13.16 ms per token. The n-gram table gather itself was only 1.28 ms, and the n-gram projection and state were 1.03 ms.

The coordinator RPC wait remained 299.3 ms in the warm traced token, with 201.1 ms overlapping peer execution and 95.8 ms outside it. The lesson is the same as the Adreno and HMX work: reducing one kernel or one transfer can help, but the request is still a scheduling problem.

The HTP exactness gate

Qwen3.8 Flash-Next is the cleanest Hexagon qualification case. The immutable-admission run completed an hour of requests with 597 of 597 exact native raw-logit captures, all three HTPs, and all 48 expert layers. Aggregate decode was 0.343 tokens/s and prefill 0.812 tokens/s. A width-2 speculative path failed exact native-output equivalence, so dependent performance claims were held.

That is what an accelerator path has to clear: the arithmetic must match, the full model must execute on the intended unit, and the request must still be measured separately. A kernel that runs is not yet a model that is correct or fast.

What shipped, what did not

  • Shipped as evidence: Adreno packed-dot variants, subgroup and activation-sum reductions, HMX rounding, Qwen3.8 HTP exactness, and Qwen4's CPU sampler and operator attribution.
  • Not shipped as a full-model deployment: the Adreno variants were kept independent; the HMX request gate failed; the Qwen4 bridge stayed on CPU/RPC.
  • Still open: a full-model Adreno request, an HMX prefill that beats six-thread ARM in the full-bank layout, a BF16 NEON kernel, and a Qwen4 accelerator path measured on the same prompts.

The useful claim is narrow: the accelerator paths produced real local improvements and real correctness gates. They did not replace the request measurement. The final vote still belongs to exact output, full-model placement, thermal state, and time to a usable answer.

Sources & notes

  1. Qualcomm AI Engine Direct SDK
  2. Qualcomm AI Engine Direct documentation
  3. ARM KleidiAI micro-kernel library
  4. llama.cpp repository and Vulkan backend
  5. Google, LiteRT-LM CLI documentation