From Single-Node to Multi-GPU Clusters: How Discord Made Distributed Compute Easy for ML Engineers
At Discord, our machine learning systems have evolved from simple classifiers to sophisticated models serving hundreds of millions of users. As our models grew more complex and datasets larger, we increasingly ran into scaling challenges: training jobs that needed multiple GPUs, datasets that wouldn’t fit on single machines, and computational demands that outpaced our infrastructure. Access to distributed compute was necessary — but not sufficient. We needed distributed ML to be easy. Ray, an open-source distributed computing framework, became our foundation. At Discord, we built a platform around it: custom CLI tooling, orchestration with Dagster + KubeRay, and an observability layer called X-Ray. Our focus was on developer experience, turning distributed ML from something hard to use into a system they are excited to work with. This is how Discord went from no deep learning, to ad-hoc experiments, to a production orchestration platform, and how that work enabled models like Ads Ranki
Engineering & Developers How Discord ML Hit Its Scaling Limit At Discord, our machine learning systems have evolved from simple classifiers to sophisticated models serving hundreds of millions of users. As our models grew more complex and datasets larger, we increasingly ran into scaling challenges: training jobs that needed multiple GPUs, datasets that wouldn’t fit on single machines, and computational demands that outpaced our infrastructure. Access to distributed compute was necessary — but not sufficient. We needed distributed ML to be easy. Ray, an open-source distributed computing…
saved by
related reading
- Multi-Datacenter Training: OpenAI's Ambitious Plan To Beat Google's Infrastructuresemianalysis.com
- Scale Machine Learning & AI Computing | Ray by Anyscaleray.io
- Components of an Open Source AI Compute Tech Stackanyscale.com
- Training great LLMs entirely from ground up in the wilderness as a startup - Yi Tayyitay.net
- From bare metal to a 70B model: infrastructure set-up and scripts - Imbueimbue.com
- Being GPU Poor makes you creativedilawar.ai
- Machine learning needs better tools – Replicate blogreplicate.com
- Keep the Tokens Flowing: Lessons from 16 Open-Source RL Librarieshuggingface.co
- Machine Learning System Resources | std::bodun::blogbodunhu.com
- The Future of Meta Superintelligence: A 1 Year Progress Updatenewsletter.semianalysis.com
- DuckDB goes distributed? DeepSeek’s smallpond takes on Big Datamehdio.substack.com
- Scaling is subtler than it seemsberen.io