Bringing PyTorch Monarch to AMD GPUs: Single-Controller Distributed Tra... Liz Li & Zachary Streeter

PyTorch · Advanced ·🏗️ Systems Design & Architecture ·2mo ago

Key Takeaways

Deploys PyTorch Monarch on AMD GPUs using single-controller distributed training on ROCm

Original Description

Bringing PyTorch Monarch to AMD GPUs: Single-Controller Distributed Training on ROCm - Liz Li & Zachary Streeter, AMD PyTorch Monarch introduces a new distributed programming paradigm that enables developers to orchestrate entire GPU clusters from a single Python program. With its actor-based runtime, process mesh abstraction, and asynchronous execution model, Monarch simplifies large-scale distributed training and enables complex workflows that combine training, evaluation, and reinforcement learning within one unified script. In this talk, we present our work enabling PyTorch Monarch on AMD Instinct GPUs with ROCm, expanding the single-controller model beyond CUDA environments and bringing this emerging runtime to a broader hardware ecosystem. We describe the engineering effort required to port Monarch’s GPU runtime and distributed communication stack to ROCm, including HIPification of CUDA-specific components, adaptation of memory management and synchronization semantics, and integration with high-performance GPU-to-GPU communication on multi-node clusters through RDMA. We will share lessons learned from running Monarch workloads on MI300-class clusters, including performance considerations, debugging workflows, and developer experience improvements. Our results demonstrate that Monarch’s architecture can be successfully extended to heterogeneous hardware environments while preserving scalability and ease of use. This work advances hardware diversity in distributed PyTorch and highlights how portable runtimes can simplify large-scale training while enabling scalable, cluster-wide experimentation across accelerator platforms.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
MCP Series (08): Enterprise Governance — Registry, Routing, and Observability
Learn to implement enterprise governance in MCP series with registry, routing, and observability to manage multiple servers efficiently
Dev.to · WonderLab
📰
Where is the hosts file on Mac, Windows, and Linux?
Learn the location of the hosts file on Mac, Windows, and Linux to edit and configure network settings
Dev.to · Locahl
📰
Presentation: The Rust High Performance Talk You Did Not Expect
Learn how Rust's performance capabilities and compile-time safety can improve delivery velocity and reduce engineering overhead in high-performance caching services
InfoQ AI/ML
📰
I Use These Two Books for System Design & DSA — That’s It, No Clutter
Learn the two essential books for system design and data structures and algorithms to crack interviews at top tech companies
Medium · Programming
Up next
Forget Fable 5: Build Your SaaS with Opus 4.8! #shorts
Income stream surfers
Watch →