aidiffuser
aidiffuser
Data point for the "does spec decode help local MoE" question: measured it on GLM-5.2 (744B MoE, batch-1, 2× M3 Ultra TP) using the model's own MTP head. Acceptance is...
Your Challenge 3 rhymes with what we just measured on a different stack (GLM-5.2 MTP self-speculative decode on MLX/Metal, 2× M3 Ultra tensor-parallel). Two findings that may transfer: 1. **Small-block...
A data point on one sub-class of these hangs that does not need the CPU/GPU spinlock at all, with a fix. **Shape.** With `MLX_METAL_FAST_SYNCH=1`, a GPU stream consuming an array...
Following up with three things measured since July — all on DeepSeek-V4-Flash-0731, MLX, 2× M3 Ultra tensor-parallel: 1. **If your "plain decode" baseline runs on mlx-lm's `deepseek_v4` (or derived code),...
mx.sum over a non-last axis returns all zeros for certain large tensors (e.g. [1, 32, 4096, 131072])
**Real-world motivation:** this silently breaks the DeepSeek-V3.2-style DSA "lightning indexer", which reduces over the head axis (`axis=1`) of a `[1, 32, chunk, S]` score tensor. With 32 heads and a...
mx.sum over a non-last axis returns all zeros for certain large tensors (e.g. [1, 32, 4096, 131072])
Since a fix is in progress (thanks @varshneydevansh! 🎉) — here is the repro reshaped as a parametrized regression test, pinning the verified failing shapes *and* the same-size passing controls...
A data point on M3 Ultra, in case it helps whoever picks up `sdpa_vector`. MiMo-V2's global layers have 16 query heads per KV head, with 192-wide queries/keys and 128-wide values....
Thanks for #3992 and for quantifying the retention half — the two sides line up: what we measured as throughput decay (12→29% of decode wall going to the scan over...
Agreed on the guidance — passing changing constants as 0-d arrays is exactly the fix we shipped on our side, and the ask was never to make accidental recompilation fast....
**GLM-5.2 MTP: measured spec-decode economics on local hardware (α, cost decomposition), plus notes on where the weights live** Different runtime (EXO/MLX, 2× M3 Ultra 512GB, tensor parallel), but most of...