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

📰
ArborDb: a Rust document store where reading one field doesn't get slower as the record grows
Learn about ArborDb, a fast Rust document store that maintains read performance regardless of record size
Dev.to · Frédéric Meyer
📰
The 2026 World Cup: A Stress Test For Enterprise Intelligence
The 2026 World Cup will stress test enterprise intelligence, requiring organizations to operate efficiently across massive networks
Forbes Innovation
📰
Why Interoperability Can Be A Tough Sell In Manufacturing
Interoperability can be challenging to implement in manufacturing due to various reasons, making it a tough sell for manufacturers
Forbes Innovation
📰
Introduction: What are Design Patterns and Why Should You Care?
Learn about design patterns and their importance in software development to improve coding efficiency and effectiveness
Dev.to · Manoj Khatri
Up next
What is API and How it Works? | API Explained for Beginners | Tamil | Karthik's Show
Karthik's Show
Watch →