Skip to Main Content

MetalMind is an AI agent that helps PyTorch developers get more performance out of Apple Silicon without writing Metal kernels by hand. It takes a supported PyTorch function and tensor signature, asks Meta’s Muse Wonder to propose a Metal kernel, then compiles and runs the candidate on the Mac. Compiler errors, correctness failures, and benchmark results inform the next proposal. MetalMind saves a kernel only after it passes held-out correctness tests and beats the fastest verified PyTorch baseline in two independent timing sessions. Saved kernels run offline, and incompatible calls fall back to PyTorch. In the demo, MetalMind rejects a fast FP16 softmax kernel because identical inputs produce different outputs. With targeted synchronization feedback, Muse proposes a replacement that passes 22 held-out cases and runs 3.10× and 3.18× as fast as eager PyTorch in two sessions on a 14-core M3 Pro, with caller-guaranteed input bounds. The demo then runs the saved kernel on fresh inputs with zero model requests and shows PyTorch fallback when the shape, dtype, or gradient requirements change.

Team

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview