NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pangu Ultra: Pushing the Limits of Dense Large Language Models on Ascend NPUs

Yichun Yin, Wenyong Huang, Kaikai Song, Yehui Tang, Xueyu Wu, Wei Guo, Peng Guo, Yaoyuan Wang, Xiaojun Meng, Yasheng Wang, Dong Li, Can Chen, Dandan Tu, Yin Li, Fisher Yu, Ruiming Tang, Yunhe Wang, Baojun Wang, Bin Wang, Bo Wang, Boxiao Liu, Changzheng Zhang, Duyu Tang, Fei Mi, Hui Jin, Jiansheng Wei, Jiarui Qin, Jinpeng Li, Jun Zhao, Liqun Deng, Lin Li, Minghui Xu, Naifu Zhang, Nianzu Zheng, Qiang Li, Rongju Ruan, Shengjun Cheng, Tianyu Guo, Wei He, Wei Li, Weiwen Liu, Wulong Liu, Xinyi Dai, Yonghan Dong, Yu Pan, Yue Li, Yufei Wang, Yujun Li, Yunsheng Ni, Zhe Liu, Zhenhe Zhang, Zhicheng LiuarXiv 2025 · OpenReview

Abstract

We present Pangu Ultra, a Large Language Model (LLM) with 135 billion parameters and dense Transformer modules trained on Ascend Neural Processing Units (NPUs). Although the field of LLM has been witnessing unprecedented advances in pushing the scale and capability of LLM in recent years, training such a large-scale model still involves significant optimization and system challenges. To stabilize the training process, we propose depth-scaled sandwich normalization, which effectively eliminates loss spikes during the training process of deep models. We pre-train our model on 13.2 trillion diverse and high-quality tokens and further enhance its reasoning capabilities during post-training. To perform such large-scale training efficiently, we utilize 8,192 Ascend NPUs with a series of system optimizations. Evaluations on multiple diverse benchmarks indicate that Pangu Ultra significantly advances the state-of-the-art capabilities of dense LLMs such as Llama 405B and Mistral Large 2, and even achieves competitive results with DeepSeek-R1, whose sparse model structure contains much more parameters. Our exploration demonstrates that Ascend NPUs are capable of efficiently and effectively training dense models with more than 100 billion parameters.

Introduction

As the AI field races toward ever-larger models, the industry has largely split into two camps: sparse models (like Mixture-of-Experts), which scale parameters while keeping compute low, and dense models, which are easier to deploy but harder to scale. Pangu Ultra is a 135-billion-parameter dense LLM that proves dense architectures can still compete with massive sparse models.

The development of Pangu Ultra addresses two major hurdles in scaling dense models past the 100B parameter mark:

  1. Training Instability: Deep models are prone to "loss spikes"—sudden jumps in error that can permanently damage the model's parameter landscape.
  2. System Efficiency: Orchestrating over 8,000 AI processors requires extreme optimization to prevent "pipeline bubbles" (idle time) and communication bottlenecks.

Architectural Innovations

Pangu Ultra utilizes a standard Transformer backbone but introduces critical architectural innovations to ensure stability at a depth of 94 layers.

Depth-Scaled Sandwich Normalization (DSSN)

Unlike the standard "Pre-LN" approach, DSSN adds extra normalization layers both before and after attention/FFN blocks. Crucially, it scales the initialization of these layers based on the model's depth ($1/\sqrt{L}$), preventing the "norm explosion" that typically causes training crashes in deep models.

Comparison of standard Pre-LN and the proposed Depth-Scaled Sandwich-Norm.

TinyInit

A new initialization strategy, TinyInit, scales weight standard deviation by both depth and width ($\sqrt{1/2dL}$). This ensures consistent parameter scales across the entire 94-layer stack, further contributing to training stability.

System Optimizations for Ascend NPUs

Training a 135B parameter model on 8,192 Ascend NPUs requires sophisticated parallelism and communication strategies.

4D Parallelism and Virtual Pipelines

The team combined Data, Tensor, Sequence, and Pipeline parallelism. To minimize idle time, they implemented a Virtual Pipeline (VPP) scheduling technique. This interleaved approach slashed "pipeline bubbles" from 30.45% down to just 6.8%, significantly improving hardware utilization.

Comparison of standard 1F1B pipeline parallelism and the interleaved version (Virtual Pipeline) used to reduce idle time.

MC2 (Merged Compute and Communication)

This optimization overlaps matrix multiplication with data transfers (All-Gather and Reduce-Scatter), reducing latency on the Ascend NPU cluster and achieving over 52% Model FLOPs Utilization (MFU).

Training Methodology and Datasets

The model was pre-trained on a massive 13.2 trillion token corpus in three phases:

  1. General Phase (12T tokens): Focused on broad linguistic capabilities in English and Chinese.
  2. Reasoning Phase (0.8T tokens): Increased the proportion of math and code data to over 60%.
  3. Annealing Phase (0.4T tokens): Used high-quality instruction and Chain-of-Thought (CoT) data to refine behavior.

Results and Discussion

Pangu Ultra (135B) outperformed Llama 3.1 405B and Mistral Large 2 (123B) on nearly all major language tasks, despite using only 29% of the training FLOPs compared to Llama 3.1 405B. This suggests that high-quality data and architectural stability can compensate for raw parameter scale.

The model also achieved results on par with DeepSeek-R1 in reasoning and Chinese language benchmarks. It set new high-water marks for dense models on HumanEval (81.1%) and GSM8K (89.3%).

Conclusion

Pangu Ultra demonstrates that dense models can remain highly competitive and efficient at scale. By solving stability issues with DSSN and TinyInit, and optimizing system performance on Ascend NPUs, the Huawei team has pushed the boundaries of what is possible with dense architectures. Future work will delve deeper into the reinforcement learning frameworks used during post-training.

Summary updated

BibTeX
@misc{yin2025pangu,
  author = {Yichun Yin and Wenyong Huang and Kaikai Song and Yehui Tang and Xueyu Wu and Wei Guo and Peng Guo and Yaoyuan Wang and Xiaojun Meng and Yasheng Wang and Dong Li and Can Chen and Dandan Tu and Yin Li and Fisher Yu and Ruiming Tang and Yunhe Wang and Baojun Wang and Bin Wang and Bo Wang and Boxiao Liu and Changzheng Zhang and Duyu Tang and Fei Mi and Hui Jin and Jiansheng Wei and Jiarui Qin and Jinpeng Li and Jun Zhao and Liqun Deng and Lin Li and Minghui Xu and Naifu Zhang and Nianzu Zheng and Qiang Li and Rongju Ruan and Shengjun Cheng and Tianyu Guo and Wei He and Wei Li and Weiwen Liu and Wulong Liu and Xinyi Dai and Yonghan Dong and Yu Pan and Yue Li and Yufei Wang and Yujun Li and Yunsheng Ni and Zhe Liu and Zhenhe Zhang and Zhicheng Liu},
  title = {{Pangu Ultra: Pushing the Limits of Dense Large Language Models on Ascend NPUs}},
  year = {2025},
  eprint = {2504.07866},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.07866},
}
Figure