SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.00207 · NeurIPS · 2025

FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts Training

Yunqi Gao, Bing Hu, Boloursaz Mashhadi, A-Long Jin, Yanfeng Zhang, Pei Xiao, Rahim Tafazolli, Mérouane Debbah

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.00207.json · badge: /api/ran/2510.00207.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ZJU-CNLAB/FlowMoE canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
all_to_all Ran
ran; our contract draft was wrong, not the code
ZJU-CNLAB/FlowMoE/dist_train/train_w_FlowMoE_BO_V1.py
pointer only (licence: NONE) · get_code("bba23c25fb5e7b22")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_groups_from_world Ran
ran; our contract draft was wrong, not the code
ZJU-CNLAB/FlowMoE/impls/communicate.py
pointer only (licence: NONE) · get_code("24c0e47ee0962548")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

decorate_trace_handler Ran
ran; our contract draft was wrong, not the code
ZJU-CNLAB/FlowMoE/dist_train/train_w_FlowMoE_BO_V1.py
pointer only (licence: NONE) · get_code("6844ffe0f557c644")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_world_rank Ran
ran, honoured the contract we drafted
ZJU-CNLAB/FlowMoE/impls/communicate.py
pointer only (licence: NONE) · get_code("e27ff54f207ed25a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_world_size Ran
ran, honoured the contract we drafted
ZJU-CNLAB/FlowMoE/impls/communicate.py
pointer only (licence: NONE) · get_code("84f0fee712b16db3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gshard_loss Ran
ran; our contract draft was wrong, not the code
ZJU-CNLAB/FlowMoE/impls/losses.py
pointer only (licence: NONE) · get_code("cbdc2156b54d24c4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

init_data_model_parallel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZJU-CNLAB/FlowMoE/system.py
pointer only (licence: NONE) · get_code("448adeb014bf77d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_importance_loss Ran
ran; our contract draft was wrong, not the code
ZJU-CNLAB/FlowMoE/impls/losses.py
pointer only (licence: NONE) · get_code("6e19d555b5c9ddb2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

record_time Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZJU-CNLAB/FlowMoE/system.py
pointer only (licence: NONE) · get_code("671eaffe49d57de7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZJU-CNLAB/FlowMoE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_world_rank 1 other paper
1 dated earlier
2206.03382 (2022-06)
Tutel: Adaptive Mixture-of-Experts at Scale
get_world_size 1 other paper
1 dated earlier
2206.03382 (2022-06)
Tutel: Adaptive Mixture-of-Experts at Scale
gshard_loss 1 other paper
1 dated earlier
2206.03382 (2022-06)
Tutel: Adaptive Mixture-of-Experts at Scale

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The parameter size of modern large language models (LLMs) can be scaled up via the sparsely-activated Mixture-of-Experts (MoE) technique to avoid excessive increase of the computational costs. To further improve training efficiency, pipelining computation and communication has become a promising solution for distributed MoE training. However, existing work primarily focuses on scheduling tasks within the MoE layer, such as expert computing and all-to-all (A2A) communication, while neglecting other key operations including multi-head attention (MHA) computing, gating, and all-reduce communication. In this paper, we propose FlowMoE, a scalable framework for scheduling multi-type task pipelines. First, FlowMoE constructs a unified pipeline to consistently scheduling MHA computing, gating, expert computing, and A2A communication. Second, FlowMoE introduces a tensor chunk-based priority scheduling mechanism to overlap the all-reduce communication with all computing tasks. We implement FlowMoE as an adaptive and generic framework atop PyTorch. Extensive experiments with 675 typical MoE layers and four real-world MoE models across two GPU clusters demonstrate that our proposed FlowMoE framework outperforms state-of-the-art MoE training frameworks, reducing training time by 13%-57%, energy consumption by 10%-39%, and memory usage by 7%-32%. FlowMoE's code is available at https://github.com/ZJU-CNLAB/FlowMoE.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.00207")
get_code_for_paper("2510.00207")
have("2510.00207")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.00207.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.00207.svg)](https://syntology.ai/paper/2510.00207)

Connect an agent — have() is free.