In this article
Enable split-K where the total projection improves at the expected shape and memory budget.
MLX v0.32.5, published November 25, adds staged affine_qmm_t_nax kernels with split-K. The change can distribute work over parts of the reduction dimension. The value to a workload also depends on merging partial results and temporary storage.
What the source establishes
Splitting the reduction can improve available parallel work while adding a merge. At one shape, extra work can pay off. With a smaller workload it can be dominated by dispatch and memory overhead. Use the exact prompt distribution, arithmetic mode and measurement boundary as the baseline.
Design the comparison
Choose representative projection shapes and precision. Compare a single-path baseline and the actual split-K path with identical data. Include the combine step and temporary memory in your measurements. Save repetitions, hardware and software identities along with summary values. Match output lengths and request counts across cases. Use a stable control, change the condition you are investigating and repeat both cases in the same environment. Keep the request or data distribution, software revisions and hardware allocation in the run record. Include the route you normally use and the case in which the expected prerequisite is absent. This helps localize a discrepancy when the test produces a different result.
Read the results
Look at completed operator latency, sustained application rate and numerical parity. Comparing only a subkernel can hide time spent merging partial outputs or moving buffers. Compare the weak and strong slices before relying on an average. Record whether a result came from a microbenchmark or the service.
Decide what goes into service
Enable split-K where the total projection improves at the expected shape and memory budget. Keep a baseline for small shapes. State the acceptance threshold before choosing the implementation. Add the tested boundary and conditions for revisiting it to the release record. If an observed behavior differs from expectations, narrow the scope of the rollout while collecting evidence for that case. Keep the prior artifact or configuration available so the comparison remains repeatable.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.