[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-83613-en":3,"doc-seo-83613-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},83613,16904993612988,"Olivia Brown","https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd",8,"Research & Report","Mixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models","This paper proposes a memory-efficient training stack for Mixture-of-Experts (MoE) models, combining existing and new parallelism techniques across different layers and stages of the MoE training pipeline. The approach targets maximal efficiency under practical CPU/GPU and interconnect bandwidth constraints, and introduces an optimizer-step strategy to improve throughput and memory usage. Experiments show 4.7–8.2× higher per-GPU throughput than a tuned FSDP2 baseline and enable training with up to 1M tokens, avoiding out-of-memory issues beyond 64–128K for the baseline.","arXiv :2607 .0 1844v 1 [ cs .DC] 2 Jul 2026  \nMixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models  \nXuan-Phi Nguyen†∗ Shrey Pandit† Yiran Zhao†  \nSemih Yavuz Silvio Savarese Shafiq Joty∗  \nSalesforce AI Research  \nAbstract  \nThis paper proposes a memory-efficient training stack for Mixture-of-Experts (MoE) models. It is a training paradigm that combines and specializes various existing and novel parallelism techniques at different layers and stages of the Mixture-of-Experts (MoE) model training pipeline. It leverages these techniques to achieve maximal efficiency given the physical constraints of CPU, CPU memory, GPU HBM memory, and the CPU-GPU, GPU-GPU, and node-node communication bandwidth of the GPU cluster. It also contains a novel strategy for the optimizer step to achieve high throughput and memory efficiency, enabling practitioners to conduct lossless pre-training/fine-tuning of trillion-parameter scale models, at a million context length, with just under 12 8x H200 GPU nodes, with state-of-the-art throughput and memory efficiency. In our experiments, MoP delivers 4.7–8.2 × higher per-GPU throughput than a strongly-tuned FSDP2 baseline (with the gap widening at larger scale) and sustains training at context lengths up to 1M tokens, where the baseline runs out of memory beyond 64–128K.  \n1 Introduction  \nSparse Mixture-of-Experts (MoE) architectures have become the dominant recipe for scaling language models, because they decouple parameter count from per-token compute: routing each token to only k of E experts lets the parameter budget—and with it model quality—grow far faster than the FLOPs per token [6, 3] . The frontier this enables, trillion-parameter models trained at near-million-token context, is no longer compute-bound on modern accelerators; it is bound by GPU memory and by the communication bandwidth of the cluster. A single trillion-parameter model needs ∼ 16Θ bytes of persistent optimizer-related state alone [8](§2.1), tens of terabytes that no single device can hold, while long-context activations add a transient footprint that grows with sequence length and depth. Training such models therefore hinges on how effectively a system spreads state and traffic across the memory hierarchy and interconnects of the machine.  \nThe limitation of one-size-fits-all parallelism. The prevailing systems attack this problem with a single global plan applied uniformly to every layer. Megatron-LM [13, 5] composes tensor, pipeline, and sequence parallelism into a 3D grid W = dtp; ZeRO and its PyTorch realization FSDP [10, 14] shard the persistent state across all data-parallel ranks; expert parallelism [11] partitions experts across devices. Each is excellent at the bottleneck it targets and suboptimal elsewhere. Yet the pressures of trillion-scale long-context MoE training are sharply component-dependent: attention is activation-bound, the MoE feed-forward is weight-and routing-bound, the vocabulary projection produces the single largest logit tensor, and the optimizer state dwarfs the weights themselves. Noone parallelism is Pareto-optimal across all of these—ZeRO-3 shards the expert weights but leaves  \n∗ Project lead & corresponding authors: {xnguyen,[sjoty}@salesforce.com](sjoty}@salesforce.com)  \nSystem Card. Preliminary Work In Progress.  \nthe full-rank MoE activations on every device, expert parallelism shards experts but not the O(NkH) routed activations, and 3D parallelism multiplies its axes against a fixed device budget while still applying the same trade-off to every layer. The result is wasted headroom: at any moment most of the machine’s resources—idle CPU cores, host DRAM, and spare interconnect bandwidth—sit unused while one bottleneck dictates the global plan.  \nMixture-of-Parallelisms. We propose Mixture-of-Parallelisms (MoP), a training stack that abandons the single global plan and instead specializes a different parallelism to each component of the MoE block, ch","cbCaihnO76tImPqN","https://ap.wps.com/l/cbCaihnO76tImPqN","pdf",511135,5,1,9,"English","en",105,"# Introduction\n## Limitation of one-size-fits-all parallelism\n# Mixture-of-Parallelisms (MoP) approach\n## Lossless principles for trillion-parameter, million-token scale","[{\"question\":\"What problem does the Mixture-of-Parallelisms (MoP) training stack address?\",\"answer\":\"MoP addresses the inefficiency of using a single global parallelism plan for all MoE components during trillion-parameter, long-context training, which wastes CPU, host memory, and interconnect headroom when one bottleneck dominates.\"},{\"question\":\"How does MoP differ from existing parallelism strategies like Megatron-LM and ZeRO/FSDP?\",\"answer\":\"Instead of applying one uniform parallelism trade-off across every layer, MoP assigns different parallelism methods to different MoE components based on the component’s dominant bottleneck, reducing wasted resources and rank multiplication effects.\"},{\"question\":\"What performance and scalability results are reported in the paper?\",\"answer\":\"The experiments report 4.7–8.2× higher per-GPU throughput than a strongly-tuned FSDP2 baseline, with the advantage widening at larger scale, and training sustained up to 1M tokens where the baseline runs out of memory beyond 64–128K.\"}]",1784189268,23,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"mixture-of-parallelisms-towards-memory-efficient-training-stack-for-mixture-of-experts-models","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/mixture-of-parallelisms-towards-memory-efficient-training-stack-for-mixture-of-experts-models/83613/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-07-26","2026-07-16",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What problem does the Mixture-of-Parallelisms (MoP) training stack address?","Question",{"text":76,"@type":77},"MoP addresses the inefficiency of using a single global parallelism plan for all MoE components during trillion-parameter, long-context training, which wastes CPU, host memory, and interconnect headroom when one bottleneck dominates.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"How does MoP differ from existing parallelism strategies like Megatron-LM and ZeRO/FSDP?",{"text":81,"@type":77},"Instead of applying one uniform parallelism trade-off across every layer, MoP assigns different parallelism methods to different MoE components based on the component’s dominant bottleneck, reducing wasted resources and rank multiplication effects.",{"name":83,"@type":74,"acceptedAnswer":84},"What performance and scalability results are reported in the paper?",{"text":85,"@type":77},"The experiments report 4.7–8.2× higher per-GPU throughput than a strongly-tuned FSDP2 baseline, with the advantage widening at larger scale, and training sustained up to 1M tokens where the baseline runs out of memory beyond 64–128K.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,110,115,120,123,127,130,134],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":22,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":20,"slug":137},19,"General","general"]