M5 GPU TF32 numerics and batched attention divergence

Parent: Mac local LLMs: MLX kernels, numerics and internals · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

Two independent mechanisms, not one. (1) fp16/bf16 masked attention takes the NAX attention kernel on gen-17; only an architecture override moves it, `MLX_ENABLE_TF32` does nothing to it. (2) fp32 GEMM takes the NAX GEMM at TF32 precision on gen-17; both `MLX_ENABLE_TF32=0` and a forced gen-16 ar...

These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Corrections and disagreements

Children

← the whole tree · 3D view· how to read this page