paper-with-me

Papers

TAGC: Optimizing Gradient Communication in Distributed Transformer Training

2025-04-08 · Igor Polyakov, Alexey Dukhanov, Egor Spirin

The increasing complexity of large language models (LLMs) necessitates efficient training strategies to mitigate the high computational costs associated with distributed training. A significant bottleneck in this process is gradient synchronization across multiple GPUs, particularly in the zero-redundancy parallelism mode. In this paper, we introduce Transformer-Aware Gradient Compression (TAGC), an optimized gradient compression algorithm designed specifically for transformer-based models. TAGC extends the lossless homomorphic compression method by adapting it for sharded models and incorporating transformer-specific optimizations, such as layer-selective compression and dynamic sparsification. Our experimental results demonstrate that TAGC accelerates training by up to 15% compared to the standard Fully Sharded Data Parallel (FSDP) approach, with minimal impact on model quality. We integrate TAGC into the PyTorch FSDP framework, the implementation is publicly available at https://github.com/ipolyakov/TAGC.

📄 PDF Abstract BibTeX arXiv:2504.05638

Code (1)

ipolyakov/tagc 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Trading Computation for Communication: Distributed Stochastic Dual Coordinate Ascent

2013-12-01 · NeurIPS 2013 12 · Tianbao Yang

We present and study a distributed optimization algorithm by employing a stochastic dual coordinate ascent method. Stochastic dual coordinate ascent methods enjoy strong theoretical guarantees and often have better perf…

Distributed Optimization

Transforming Graphs for Enhanced Attribute Clustering: An Innovative Graph Transformer-Based Method

2023-06-20 · Shuo Han, Jiacheng Liu, Jiayun Wu, Yinan Chen 외

Graph Representation Learning (GRL) is an influential methodology, enabling a more profound understanding of graph-structured data and aiding graph clustering, a critical task across various domains. The recent incursion…

AttributeClusteringGraph AttentionGraph Clustering+4

Scaling Vision Transformers: Evaluating DeepSpeed for Image-Centric Workloads

2026-02-24 · Huy Trinh, Rebecca Ma, Zeqi Yu, Tahsin Reza arxiv

Vision Transformers (ViTs) have demonstrated remarkable potential in image processing tasks by utilizing self-attention mechanisms to capture global relationships within data. However, their scalability is hindered by si…

Peering Beyond the Gradient Veil with Distributed Auto Differentiation

2021-02-18 · Bradley T. Baker, Aashis Khanal, Vince D. Calhoun, Barak Pearlmutter 외

Although distributed machine learning has opened up many new and exciting research frontiers, fragmentation of models and data across different machines, nodes, and sites still results in considerable communication overh…

Quantization

TAGCOS: Task-agnostic Gradient Clustered Coreset Selection for Instruction Tuning Data

2024-07-21 · Jipeng Zhang, Yaxuan Qin, Renjie Pi, Weizhong Zhang 외

Instruction tuning has achieved unprecedented success in NLP, turning large language models into versatile chatbots. However, the increasing variety and volume of instruction datasets demand significant computational res…