Developer Tools

Apple's New Chips Can Now Run a Faster Type of AI

Apple's New Chips Can Now Run a Faster Type of AI

⚡This could make AI on your Mac faster and more efficient.

Deep Dive

Compiling anything that touched fp8 on MPS used to fail with a KeyError: torch.float8_e4m3fn — because DTYPE_TO_METAL had no fp8 entries at all. This PR fixes that by mapping fp8 types to the existing c10::metal fp8 structs and computing in float32, just like half/bf16.

Two Metal quirks needed special handling: the structs' operator float() can't be called on constant inputs, so loads go through c10::metal::cast_to<float>, and as_type<> rejects the structs, so bitcasts use the detail encoders. The change enables TestFP8Types and TestE8M0ToFloat on MPS, while skipping e5m2 (which eager MPS lacks) and _scaled_mm v1.

Authored with Claude Code. Pull Request resolved: #206056, approved by Isalia20, with ghstack dependencies #205864, #205690, #205758, and #205759.

Key Points
  • Apple's M-series chips now support float8, a compressed number format that speeds up AI calculations.
  • This means AI apps on Macs can run faster and use less battery, but only on newer models.
  • Some advanced AI features still won't work, so it's not a complete solution.

Why It Matters

Faster, more efficient AI on Macs means better performance and longer battery life for everyday tasks.

🔒 FREE VIP ACCESS

Read the full breakdown & get daily AI executive intelligence

Join like-minded builders, researchers, and AI professionals who read The Neural Feed daily. 100% free. No spam.

🔔 BREAKING RELEASE RADAR INSTANT ALERTS • 1-CLICK PAUSE

Get instant breaking AI release alerts by topic

Choose the AI labs, models, or chip tracks you follow. Receive fast alerts only when something major ships — plus our free daily morning briefing.

Includes full article unlock • Only major releases • Unsubscribe anytime
🎁 FREE EXECUTIVE DOWNLOAD ISSUE #21

Download This Week's 8-Page Executive AI Briefing (PDF)

Our curated executive intelligence packet: in-depth breakdowns of frontier models, market movements, plus full-color AI comics.

  • ✓ 8-page formatted executive PDF briefing
  • ✓ Frontier AI models & technical breakthroughs
  • ✓ Full-color satirical AI comic strips
Instant 1-click download • 100% free • Unsubscribe anytime
📬 Get the top 10 AI stories daily