What’s new in metal?

Generated on 7/27/2024

2 searches

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

What's New in Metal?

Machine Learning Enhancements

  1. MPS Graph Improvements:

    • Focused on improving the efficiency of transformer models.
    • New features to accelerate FFT-based ML models.
    • Low-level control over GPU synchronization and memory, useful for sequencing ML tasks with other GPU work.
    • Accelerate machine learning with Metal
  2. Framework Support:

    • TensorFlow: Easier integration with Metal backend, supporting distributed training and mixed precision.
    • PyTorch: Supports custom operations and profiling for performance benchmarking.
    • JAX: Improved advanced array indexing, CI runner workflow, and mixed precision support. New Pfloat 16 data type for mixed precision training.
    • MLX: New framework optimized for Apple silicon, supporting numpy-like API, just-in-time compilation, distributed training, and unified memory.
    • Train your machine learning and AI models on Apple GPUs

Gaming and Graphics

  1. Unified Gaming Platform:

    • Apple silicon Macs, iPads with M series chips, and iPhone 15 Pro can now play console-class games.
    • New advancements in Metal and Apple silicon to improve gaming experiences.
    • Platforms State of the Union
  2. Metal Shader Converter:

  3. Rendering in visionOS:

    • Metal APIs to render frames in mixed immersion style, blurring the line between the real world and imagination.
    • Integration with ARKit for world and hand tracking.
    • Render Metal with passthrough in visionOS

Additional Features

  1. Low-Level Mesh and Textures:
    • New APIs for low-level mesh and textures, working with Metal compute shaders for improved control over app visuals.
    • Platforms State of the Union

Relevant Sessions

  1. Accelerate machine learning with Metal
  2. Train your machine learning and AI models on Apple GPUs
  3. Platforms State of the Union
  4. Port advanced games to Apple platforms
  5. Render Metal with passthrough in visionOS