The question and measured result

Can a 35B MoE model (33.75 GiB at UD-Q4_K_XL) run fast and cool on a 48 GB Linux laptop with zero swap and exact greedy parity?

  • Setup: Snapdragon X2 Elite (SC8480XP), Omarchy Linux, 12 Prime cores (taskset -c 6-17 -t 12), clean 2.611 GHz clock clamp, greedy sampling, 0 swap.
  • Prefill (end-to-end pp214): 68.72 -> 184.38 tok/s (2.68x) via async CPU ‖ NPU overlap (154.09 tok/s on reasoning pp39).
  • Decode (end-to-end): 22.05 -> 32.06 tok/s (+45%) plain M=1 reasoning, and 32.11 tok/s with lossless ngram-mod K=8 spec decode.
  • Parity & thermals: 64/64 exact greedy match (245/245 chars on reasoning; exact on pp256 and code refactor) at 61.7 °C CPU / 54.8 °C DSP.

Four bottlenecks cleared by profiling

  • 405 dense Q8_0 ops on Hexagon HMX (68.72 -> 101.48 tok/s): packed into 1.68 GiB dma-buf (well under the 6 GiB limit) and executed in 99.1 ms DSP (kernel-only) with 12-thread parallel packing.
  • Hidden scalar BF16 loop (101.48 -> 157.56 tok/s): per-op profiling caught 653 ms (33% of prefill) stuck in a scalar C loop. A 19-line ARMv8.6 vbfdotq_f32 kernel sped up ple_key by 29.6x and pushed M=1 decode past 30 tok/s.
  • 2x2 i8mm MoE tiles (157.56 -> 166.73 tok/s): zero-copy 2x2 tiles replaced 1-row MUL_MAT_ID dots and sped up Q4_K, Q5_K, and Q6_K experts.
  • Async CPU ‖ NPU overlap (166.73 -> 184.38 tok/s): eager ring open removed a 26 ms wake spike, and non-blocking submits let Oryon run independent CPU ops alongside Hexagon.

Thermal failure and kernel-only boundaries

  • Discarded high-clock run: locking Prime cores to 4.454 GHz hit 89.6 °C, crossed the 85 °C CPU gate, and was stopped and discarded. Every published number comes from repeatable 2.611 GHz runs (61.7 °C async peak; 66.4 °C max on the baseline sweep).
  • Kernel-only M1 figure: ring.gemm_q8_0 hit 1.95 ms vs 21.54 ms Oryon (11.0x, 49.4 °C DSP) in an opt-in common-scale W8A8 mode (1.87% normalized RMS error) and is tagged kernel-only.
  • Rejected CPU MTP: depth-2 MTP on CPU was exact but slower (17.83 / 22.40 tok/s) because verification is compute-bound on Oryon.

Where the DRAM ceiling sits

Plain decode streams 2,961.8 MB of active weights per token.

At our measured 142 GB/s bandwidth, the physics ceiling is 47.02 tok/s (~21.3 ms/token), leaving ~15 tok/s above our current 32.06 tok/s.

For the discrete-GPU reference on the same checkpoint, see the RTX 5090 (32 GB) recipe.

Takeaway

Profile every op before writing an NPU kernel.

Offloading dense Q8_0 ops to Hexagon mattered, but fixing one scalar BF16 loop delivered the biggest jump in both prefill and decode, and clamping clocks kept a 35B model repeatable at 61.7 °C.