AI Dynamics

Global AI News Aggregator

About

PyTorch MPS Backend Bug: Silent Tensor Contiguity Failures

Beautiful technical debugging detective longread that starts with a suspicious loss curve and ends all the way in the Objective-C++ depths of PyTorch MPS backend of addcmul_ that silently fails on non-contiguous output tensors. I wonder how long before an LLM can do all of this.

→ View original post on X — @karpathy