As a guest user you are not logged in or recognized by your IP address. You have
access to the Front Matter, Abstracts, Author Index, Subject Index and the full
text of Open Access publications.
Rapidly developing large language models (LLMs) stimulate the search for efficient training strategies coping with the large computational expenses caused by distributed training. Gradient synchronization is an important component of the overall distributed training process, especially in Sharded Parallelism mode. In this paper, we present Transformer-Aware Gradient Compression-2 (TAGC-2), a further advancement of the gradient compression algorithm that specializes in transformer-based models. TAGC-2 further develops the TAGC method with the following improvements: the communication/computation overlap was optimized; the method was adapted to the network conditions currently used employing bfloat16 quantization and rewriting sparsification as kernels. TAGC-2 enables long training runs as it implements checkpointing and restarts upon network or memory failures. The experiments demonstrate that TAGC-2 improves the wall clock training time by 3.1% under low network bandwidth conditions and shortens the iteration time by 4.6-10% with a minimal loss degradation under common network bandwidth conditions, compared to the Fully Sharded Data Parallel (FSDP) baseline. The implementation is publicly available as an open source code at https://github.com/ipolyakov/TAGC.
This website uses cookies
We use cookies to provide you with the best possible experience. They also allow us to analyze user behavior in order to constantly improve the website for you. Info about the privacy policy of IOS Press.
This website uses cookies
We use cookies to provide you with the best possible experience. They also allow us to analyze user behavior in order to constantly improve the website for you. Info about the privacy policy of IOS Press.