This skill guides developers through implementing Metal kernels for PyTorch operators on Apple Silicon (MPS). It covers the complete workflow including updating dispatch configuration in native_functions.yaml, writing Metal shader code with type-specialized functors, implementing host-side stubs in Objective-C++, and testing the implementation.
MetalPytorchApple Silicon+3