Fine-tuning large language models (LLMs) remains resource-intensive due to their sheer scale. While zeroth-order (ZO) optimization provides a memory-efficient alternative by eliminating backward passes, its application to multi-hundred-billion-parameter models is constrained by GPU memory and compute throughput. The ZO2 framework addresses the memory bottleneck by offloading model parameters to CPU memory and overlapping transformer block transfer with dual forward computation on a single GPU. However, ZO2 remains limited by its single-device execution and achieves modest throughput. In this work, we present DistZO2, a high-throughput, memory-efficient framework for distributed zeroth-order fine-tuning of LLMs. DistZO2 introduces three parallel strategies: (1) Perturbation Parallelism (PertP), which parallelizes the two perturbed forward passes across devices; (2) Distributed Data Parallelism (DDP), adapted to the scalar-gradient nature of ZO training; and (3) a unified 2D Parallelism design that combines PertP and DDP. To further mitigate communication bottlenecks introduced by parameter offloading, we propose a hardware-aware communication strategy that slices parameter blocks and redistributes them across GPUs via high-speed interconnects such as NVLink. DistZO2 scales zeroth-order fine-tuning to modern multi-GPU systems, preserving ZO2's memory efficiency while substantially improving training throughput. In our experiments on OPT-175B, DistZO2 achieves a 3x speedup over ZO2 with distributed computing. DistZO2's code has been open-sourced in https://github.com/liangyuwang/zo2.
Alternating Diffusion for Proximal Sampling with Zeroth Order Queries
Graduate School of Information Science and Technology, The University of Tokyo(东京大学信息科学与技术研究生院);Institute of High Performance Computing, Agency for Science, Technology and Research(科技研究局高性能计算研究所);Centre for Frontier AI Research, Agency for Science, Technology and Research(科技研究局前沿人工智能研究中心);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
Noise-Aware Optimization in Nominally Identical Manufacturing and Measuring Systems for High-Throughput Parallel Workflows
organization= IMDEA Materials Institute , addressline= C Eric Kandel 2 , city= Getafe , postcode= 28906 , state= Madrid , country= Spain;organization= Applied Mathematics \& Computational Research Division, Lawrence Berkeley National Laboratory , city= Berkeley , state= CA , country= USA
A 65nm 8b-Activation 8b-Weight SRAM-Based Charge-Domain Computing-in-Memory Macro Using A Fully-Parallel Analog Adder Network and A Single-ADC Interface
Tsinghua University(清华大学);Institute of Microelectronics of the Chinese Academy of Sciences(中国科学院微电子研究所);University of Electronic Science and Technology of China(电子科技大学)
UC Berkeley(加州大学伯克利分校);UC Davis(加州大学戴维斯分校);UW–Madison(威斯康星大学麦迪逊分校);AMD(超威半导体);Tsinghua University(清华大学);Amazon Web Services(亚马逊网络服务);ICSI(信息与计算机科学研究所);Broadcom & University Politehnica of Bucharest(博通与布加勒斯特理工大学)