Change8

modular/v26.1.0

📦 mojo-languageView on GitHub →
5 features🔧 2 symbols

Summary

This release graduates the eager-style Tensor and Module APIs to stable status, simplifying GenAI model building, and significantly expands Apple silicon GPU support for basic MAX graphs. It also introduces several powerful new features to the Mojo language, including compile-time reflection and linear types.

✨ New Features

  • Graduated eager-style `Tensor` and `Module` APIs from experimental status, providing a PyTorch-like modeling interface for high-performance GenAI models.
  • Expanded Apple silicon GPU support so basic MAX graphs now compile and run on Apple GPUs.
  • Introduced compile-time reflection for automatic trait conformance in Mojo (enabling JSON serialization and CLI argument parsing).
  • Introduced explicitly destroyed types ("linear types") in Mojo for compile-time guarantees against value leakage.
  • Introduced typed errors in Mojo for overhead-free error handling on GPUs.

Affected Symbols