I built an open source tool that runs your unmodified model on every backend on the machine (CPU, CUDA, MPS), compares each against a float64 reference, and names the exact layer and op where results start to drift. It writes a small repro script that runs on stock PyTorch.
A few things it has found so far: on a real Apple M2, copying an MPS tensor straight to float64 on the CPU returned all zeros with torch 2.14.1. On 403 GPU kernels written by others, its false alarm rate was 3.6%, against 35.1% for assert_close.
pip install truestar
truestar check your_model.py
I’d love feedback, especially results that look wrong.