In this article
Accept the kernel path at the target shape when numerical and dispatch checks both pass.
MLX v0.32.5 on November 25 lists vector SDPA kernels on CUDA at head dimension 256. The release concerns a selected execution path. Device, shape, precision and layout determine what is actually dispatched.
What the source establishes
Head dimension is one input to dispatch. Check the model configuration and the runtime’s observed path, including a control with another shape. Keep the output agreement test tied to the intended inputs. Use the exact prompt distribution, arithmetic mode and measurement boundary as the baseline.
Design the comparison
Run the same attention operation on a fixed reference and the updated CUDA runtime. Include small and larger batches at dimension 256. Compare output error and warmed latency after verifying the kernel choice. 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
Inspect precision, workload size and any fallback when two reported timings diverge. A shape that runs successfully can still dispatch a general implementation rather than the vector kernel. 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
Accept the kernel path at the target shape when numerical and dispatch checks both pass. Report workload-specific time rather than a general CUDA speedup. 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.