arXiv Science⌕ Search

arXiv subjects

Etienne Filhol

Publications and source records attributed to Etienne Filhol.

2 recordsLinked to original sources

Memory-Aware Scheduling of Large Task Graphs

In modern applications like deep learning and scientific workflows, memory scarcity is a persistent issue. Current task graph scheduling solutions are either case-specific or computationally expensive, thus creating a need for a general, fast, and efficient approach. In this paper, we consider task graph scheduling on architectures with limited shared memory. We design an algorithm that uses carefully maintained memory consumption information; any schedule it returns provably fits in memory. Our memory-aware adaptive scheduling algorithm runs in polynomial time and requires neither a precomputed sequential schedule nor any search. We compare it to MASTAG, the state of the art for scientific workflows, on 341 task graphs. On the 339 where MASTAG's sequential solver returns a schedule, our main task ordering comes within 0.01% of its memory while being 5.5 times faster, on median. On 4 and 8 processors, a small portfolio of variants schedules 63% of the instances under a memory limit equal to the sequential peak of MASTAG, and 95% to 96% under one that exceeds it by less than 0.4% on median. The portfolio is, on median, 7 to 12 times faster than MASTAG, and 2.9 to 4.1 times faster without MASTAG's optional refinement, with makespans within 0.2% to 8.1% of MASTAG's over all limits we test. In training AI foundation models, we achieve up to 1.10x speedup over the default, manually fine-tuned schedule of the MindSpore framework with at most 3.62% more memory, and even memory savings up to 18%. On seven training graphs of large language models with up to 115,528 tasks, our Python implementation computes a sequential schedule in at most 33 seconds. With the time limit of its experiments, MASTAG's sequential solver takes 13 minutes to 2.2 hours on five of them and returns no schedule within a day on the two largest.

cs.DC↗

HyperParallel-Mpipe: A Composable Algebra System for Optimizing MLLM Training over Supernode Clusters

Modern AI applications have expanded beyond text-only interaction into a wide range of multimodal scenarios, making multimodal large language models (MLLMs) crucial for both research and industry. However, compared with traditional decoder-only LLM training, large-scale MLLM training often shows much lower MFU. We analyze the key pain points in MLLM training and introduce Mpipe, which uses a schedule algebra to derive concrete runtime behavior from a compact schedule specification. From this algebra, Mpipe derives transpose, a multimodal-aware heterogeneous parallel schedule that remaps modality-encoder computation into otherwise idle pipeline regions. On Ascend 910C NPU clusters, Mpipe achieves 2.70x speedup in a small-scale setting and 1.21x speedup in a 512-card large-scale setting.

cs.DC↗