PyTorch and TorchTitan enable 1T-parameter MoE training on a European supercomputer

News PyTorch Blog · Source account, not independently verified by us.

The EUROPA consortium has scaled pretraining for a 951.9-billion-parameter Mixture-of-Experts model on JUPITER, the public supercomputer hosted in Jülich. Its report describes how PyTorch and TorchTitan made training on shared European infrastructure workable: reported throughput rose from 90 to about 1,300 tokens per second per GPU.

The model configuration activates 32.8 billion parameters per token. The runs described used 384 NVIDIA GH200 GPUs per data-parallel replica; the post gives a total of four replicas, or 1,536 GPUs. JUPITER is publicly funded research infrastructure, with constraints that include limited GPU memory and inter-node bandwidth.

Key optimizations included FlexShard for the Muon optimizer, offloading activations to Grace CPU memory, and changes to FSDP’s communication workflow. The team says these measures reduced memory bottlenecks and improved the overlap of computation and network traffic. Several changes were contributed to PyTorch and TorchTitan.

The post also details the model configuration and steps behind the performance gains. It does not, by itself, establish the model’s quality or say that a finished model has been released. Read the original PyTorch post

🇬🇧 https://pytorch.org/blog/training-a-1t-parameter-moe-on-eu-public-infrastructure-with-pytorch-and-torchtitan

Leave a Comment

The weekly brief: selected developments, projects and videos