paper-with-me

Papers

FLUX: Fast Software-based Communication Overlap On GPUs Through Kernel Fusion

2024-06-11 · Li-Wen Chang, Wenlei Bao, Qi Hou, Chengquan Jiang, Ningxin Zheng, Yinmin Zhong, Xuanrun Zhang, Zuquan Song, Chengji Yao, Ziheng Jiang, Haibin Lin, Xin Jin, Xin Liu

Large deep learning models have demonstrated strong ability to solve many tasks across a wide range of applications. Those large models typically require training and inference to be distributed. Tensor parallelism is a common technique partitioning computation of an operation or layer across devices to overcome the memory capacity limitation of a single processor, and/or to accelerate computation to meet a certain latency requirement. However, this kind of parallelism introduces additional communication that might contribute a significant portion of overall runtime. Thus limits scalability of this technique within a group of devices with high speed interconnects, such as GPUs with NVLinks in a node. This paper proposes a novel method, Flux, to significantly hide communication latencies with dependent computations for GPUs. Flux over-decomposes communication and computation operations into much finer-grained operations and further fuses them into a larger kernel to effectively hide communication without compromising kernel efficiency. Flux can potentially overlap up to 96% of communication given a fused kernel. Overall, it can achieve up to 1.24x speedups for training over Megatron-LM on a cluster of 128 GPUs with various GPU generations and interconnects, and up to 1.66x and 1.30x speedups for prefill and decoding inference over vLLM on a cluster with 8 GPUs with various GPU generations and interconnects.

📄 PDF Abstract BibTeX arXiv:2406.06858

Code (1)

bytedance/flux pytorch

Tasks

GPU

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

FastUSP: A Multi-Level Collaborative Acceleration Framework for Distributed Diffusion Model Inference

2026-02-11 · Guandong Li arxiv

Large-scale diffusion models such as FLUX (12B parameters) and Stable Diffusion 3 (8B parameters) require multi-GPU parallelism for efficient inference. Unified Sequence Parallelism (USP), which combines Ulysses and Ring…

Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learning

2024-08-26 · Wei An, Xiao Bi, Guanting Chen, Shanhuang Chen 외

The rapid progress in Deep Learning (DL) and Large Language Models (LLMs) has exponentially increased demands of computational power and bandwidth. This, combined with the high costs of faster computing chips and interco…

Domino: Eliminating Communication in LLM Training via Generic Tensor Slicing and Overlapping

2024-09-23 · Guanhua Wang, Chengming Zhang, Zheyu Shen, Ang Li 외

Given the popularity of generative AI, Large Language Models (LLMs) often consume hundreds or thousands of GPUs for parallelizing and accelerating the training process. Communication overhead becomes more pronounced when…

TokenWeave: Efficient Compute-Communication Overlap for Distributed LLM Inference

2025-05-16 · Raja Gond, Nipun Kwatra, Ramachandran Ramjee

Distributed inference of large language models (LLMs) can introduce overheads of up to 20% even over GPUs connected via high-speed interconnects such as NVLINK. Multiple techniques have been proposed to mitigate these ov…

CUCo: An Agentic Framework for Compute and Communication Co-design

2026-03-02 · Yoga Sri Varshan Varadharajan, Bodun Hu, Saurabh Agarwal, Aditya Akella arxiv

Computation and communication in distributed LLM training and inference are traditionally optimized in isolation; expert-crafted systems such as DeepEP, FLUX, and TokenWeave show the potential of co-design but require de…