Don't be lazy: CompleteP enables compute-efficient deep transformers

Nolan Dey, Bin Claire Zhang, Lorenzo Noci, Mufan Li, Blake Bordelon +4 more
5/2/2025
cs.LGcs.AI

Official code: EleutherAI/nanoGPT-mup (206 stars, MIT, last commit 2026-01-19).

Abstract

We study compute efficiency of LLM training when using different parameterizations, i.e., rules for adjusting model and optimizer hyperparameters (HPs) as model size changes. Some parameterizations fail to transfer optimal base HPs (such as learning rate) across changes in model depth, requiring practitioners to either re-tune these HPs as they scale up (expensive), or accept sub-optimal training when re-tuning is prohibitive. Even when they achieve HP transfer, we develop theory to show parameterizations may still exist in the lazy learning regime where layers learn only features close to their linearization, preventing effective use of depth and nonlinearity. Finally, we identify and adopt the parameterization we call CompleteP that achieves both depth-wise HP transfer and non-lazy learning in all layers. CompleteP enables a wider range of model width/depth ratios to remain compute-efficient, unlocking shapes better suited for different hardware settings and operational contexts. Moreover, CompleteP enables 12-34% compute efficiency improvements over the prior state-of-the-art. All experiments were run on Cerebras CS-3 systems. A minimal implementation is available at https://github.com/EleutherAI/nanoGPT-mup/tree/completep.

View on arXivView PDF

Code Implementations(1)

MIT

The simplest, fastest repository for training/finetuning medium-sized GPTs.

20624Shell, PythonJun 25, 20249 months agoMIT

Similar Papers

Cite this paper

@article{dey2025dont,
  title  = {Don't be lazy: CompleteP enables compute-efficient deep transformers},
  author = {Nolan Dey and Bin Claire Zhang and Lorenzo Noci and Mufan Li and Blake Bordelon and Shane Bergsma and Cengiz Pehlevan and Boris Hanin and Joel Hestness},
  year   = {2025},
  eprint = {2505.01618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.01618v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.01618.svg)](https://codeofpaper.com/paper/2505.01618)

Discussion