← Back to events
ActiveAIRelease

viable/strict/1789753839: [MPS] Guard MPP attention include on header availability (#196104)

Photo: PyTorch Releases

What happened

MppAttention.h gates its include on __METAL_VERSION__ >= 400 , which tests the compiler version, not whether the SDK ships the framework. Building with a Metal 4 toolchain against an older SDK (e.g. Xcode 26 with -isysroot .../MacOSX15.sdk , as Homebrew does) fails: MppAttention.h:10:10: fatal error: 'MetalPerformancePrimitives/MetalPerformancePrimitives.h' file not found Convolution.metal in the same directory alre…

Summary assembled by rule from the sources below

Why it's spreading

Sources