paper-with-me

홈 › Papers

veScale: Consistent and Efficient Tensor Programming with Eager-Mode SPMD

2025-09-05 · Youjie Li, Cheng Wan, Zhiqi Lin, Hongyu Zhu, Jiacheng Yang, Ziang Song, Xinyi Di, Jiawei Wu, Huiyao Shu, Wenlei Bao, Yanghua Peng, Haibin Lin, Li-Wen Chang arxiv

Large Language Models (LLMs) have scaled rapidly in size and complexity, requiring increasingly intricate parallelism for distributed training, such as 3D parallelism. This sophistication motivates a shift toward simpler, more debuggable programming paradigm like Single Program Multiple Data (SPMD). However, SPMD in eager execution introduces two key challenges: ensuring consistency with single-device execution and achieving high performance at scale. In this paper, we introduce veScale, an eager-mode training system that fully embraces SPMD paradigm to democratize distributed tensor programming. veScale addresses the prevalent issue of inconsistent results in systems like PyTorch by introducing a novel algorithm of distributed Random Number Generation (RNG) compatible with arbitrary sharded operators. veScale also significantly boosts training performance by reducing PyTorch primitive's overhead and improving communication efficiency. Evaluations show that veScale delivers up to 2.2x speedup over the state-of-the-art training systems, like TorchTitan, and cuts code complexity by 78.4%, while preserving single-device-equivalent results.

📄 PDF Abstract BibTeX arXiv:2509.07003

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TensorFlow Eager: A Multi-Stage, Python-Embedded DSL for Machine Learning

2019-02-27 · Akshay Agrawal, Akshay Naresh Modi, Alexandre Passos, Allen Lavoie 외

TensorFlow Eager is a multi-stage, Python-embedded domain-specific language for hardware-accelerated machine learning, suitable for both interactive research and production. TensorFlow, which TensorFlow Eager extends, re…

BIG-bench Machine Learning

LazyTensor: combining eager execution with domain-specific compilers

2021-02-26 · Alex Suhan, Davide Libenzi, Ailing Zhang, Parker Schuh 외

Domain-specific optimizing compilers have demonstrated significant performance and portability benefits, but require programs to be represented in their specialized IRs. Existing frontends to these compilers suffer from …

EagerPy: Writing Code That Works Natively with PyTorch, TensorFlow, JAX, and NumPy

2020-08-10 · Jonas Rauber, Matthias Bethge, Wieland Brendel

EagerPy is a Python framework that lets you write code that automatically works natively with PyTorch, TensorFlow, JAX, and NumPy. Library developers no longer need to choose between supporting just one of these framewor…

TensorGP -- Genetic Programming Engine in TensorFlow

2021-03-12 · Francisco Baeta, João Correia, Tiago Martins, Penousal Machado

In this paper, we resort to the TensorFlow framework to investigate the benefits of applying data vectorization and fitness caching methods to domain evaluation in Genetic Programming. For this purpose, an independent en…

A Comparative Survey of PyTorch vs TensorFlow for Deep Learning: Usability, Performance, and Deployment Trade-offs

2025-08-06 · Zakariya Ba Alawi arxiv

This paper presents a comprehensive comparative survey of TensorFlow and PyTorch, the two leading deep learning frameworks, focusing on their usability, performance, and deployment trade-offs. We review each framework's …