🚀 The feature, motivation and pitch An example where this was a little annoying was in debugging the problem as described in issuecomment-1795715999 Being able to see both graph breaks and recompiles will give us a clearer picture. Today, the problem is that changing PT2 to…
🚀 The feature, motivation and pitch I'm trying to implement graceful exit on SLURM pre-emption. SLURM gives 10 minutes upon pre-emption (i.e., SIGTERM; sleep 600; SIGKILL), but it seems that torchrun will send a SIGKILL from the launcher to all the child processes after 30…
Today, we add a ViewAndMutationMeta object to the TracingContext here, that backends can use to ask for certain information about the graph, including information about how many / which inputs were mutated. This technically exposes the ViewAndMutationMeta object to out-of-tree…
📚 The doc issue Torch distributed offers two ways of doing distributed operations: - torch.distributed. - torch.distributed.nn. The second one wraps distributed ops, e.g. all reduce , with a function to propagate through gradients. This can very easily result in a very subtle…
🐛 Describe the bug This issue is to have a centralized place to list and track work on adding support to new ops for the MPS backend. **Most requested ops** (extracted from comments to this issue and 77764) **PyTorch MPS Ops Project** : Project to track all the ops for MPS…
🚀 The feature, motivation and pitch Background Currently, PyTorch eager-mode leverages oneDNN for x86 64 & aarch64 CPUs via ideep, which is essentially a set of headers to make oneDNN integration with PyTorch more convenient. ideep is a git submodule of PyTorch, and in turn,…
Refs 8252, 8935, 8936, 9027. Builds on 8885 (ZeRO storage maps), 8519 (AutoTP layer maps), 8623 ( plan transfer ), 8809 (executor, merged), 8966 / 8967 (calibration and plan analysis). Summary When weights move from trainers on one node to rollout engines on another, the…
This is the roadmap for DeepSpeed Q4 2026. Feedback is welcome — please leave comments on this issue or join the 2026q4-roadmap channel on the DeepSpeed Slack. Some of the items are the extension of the Q3 roadmap: Tagging all the PoCs (code maintainers) for each workstream, the…
A cluster-agnostic triage tool that collects PyTorch Flight Recorder dumps from all ranks and correlates them with per-host GPU health (DCGM/XID) and collective timings could name the suspect rank or host automatically. It would be adopted because Flight Recorder is built into PyTorch but leaves cross-rank analysis and hardware correlation to the user.
A framework-agnostic harness that compares a small model's forward/backward outputs and converted weights across parallelism layouts and formats against a single-GPU reference would catch silent bugs early. Recent fuzzing found such bugs in Megatron Core, and converters remain a recurring request.
Configuring distributed LLM training across hundreds of GPUs requires jointly optimizing tensor, pipeline, expert, context, and data parallelism alongside micro-batch size, recomputation, sharding, and overlap, a combinatorial space where memory legality can hinge on a single byte of activation…
Training data attribution (TDA) estimates the contribution of individual training examples to model outputs. Most scalable TDA methods rely on per-example gradients, whose computation and use at LLM scale pose challenges in efficiency, compatibility, and extensibility. We introduce dattri-LLM, a…
Training language models whose parameters and optimizer state exceed a single node's memory requires sharding these tensors across devices. Under tensor parallelism (TP) or fully sharded data parallelism (FSDP), matrix-aware optimizers such as Muon introduce communication to perform global matrix…
Expert parallelism is vital for effectively training Mixture-of-Experts (MoE) models, enabling different devices to host distinct experts, with each device processing different input data. However, during expert parallel training, dynamic routing results in significant load imbalance among experts:…
As large language models continue to scale up, distributed training systems have expanded beyond 10k nodes, intensifying the importance of fault tolerance. Checkpoint has emerged as the predominant fault tolerance strategy, with extensive studies dedicated to optimizing its efficiency. However, the…
It is widely acknowledged that large models have the potential to deliver superior performance across a broad range of domains. Despite the remarkable progress made in the field of machine learning systems research, which has enabled the development and exploration of large models, such abilities…
Llama is a widely used open-source large language model. This paper presents the design and implementation of the parallelism techniques used in Llama 3 pre-training. To achieve efficient training on tens of thousands of GPUs, Llama 3 employs a combination of four-dimensional parallelism: fully…
Mixture-of-Experts (MoE) models add parameters without proportionally increasing per-token compute. However, training cost also depends on bytes moved, memory held, and kernels launched, and many of those costs follow total parameter size rather than active compute. On infrastructure built for…
The development of large language models (LLMs) has been instrumental in advancing state-of-the-art natural language processing applications. Training LLMs with billions of parameters and trillions of tokens require sophisticated distributed systems that enable composing and comparing several…
GPU communication libraries such as NCCL use Streaming Multiprocessors (SMs) for data movement and synchronization, slowing overlapped computation at a cost that grows with interconnect bandwidth. We present Zero-SM NCCL, which communicates within and across scale-up domains without launching any…
Large deep learning models offer significant accuracy gains, but training billions to trillions of parameters is challenging. Existing solutions such as data and model parallelisms exhibit fundamental limitations to fit these models into limited device memory, while obtaining computation,…