cs.CVAug 15, 2026

TERRA: A Hierarchical Parallel Training and Memory Orchestration Framework for High-Resolution AI-based Earth Modeling

Authors: Ruohan Wu, Ziqi Zhu, Yang Zhao, Jiarui Tang, Yingzhe Cui, Junshi Chen, Zhao Jing, Jun Shi, 

Organizations: School of Computer Science and Technology, University of Science and Technology of China, Hefei 230026, China · School of Artificial Intelligence and Data Science, University of Science and Technology of China, Hefei 230026, China · Department of Ocean Big Data and Artificial Intelligence, Laoshan Laboratory, Qingdao, China · Frontiers Science Center for Deep Ocean Multispheres and Earth System and the Key Laboratory of Physical Oceanography/Academy of Future Ocean, Ocean University of China, Qingdao, China

Abstract

Training high-resolution AI-based Earth forecasting models is memory-intensive. Window-based Swin Transformers reduce the quadratic cost of global attention, but existing distributed systems such as AERIS primarily target pixel-level models and do not jointly support convolutional sampling modules and shifted-window execution. Long-lead rollout finetuning further increases activation memory. To address these challenges, we present TERRA, a hierarchical parallel training framework for high-resolution Earth forecasting. TERRA introduces Sampling-Aware Window, Sequence, and Tensor Parallelism (SAWSTP), which preserves spatially contiguous layouts for sampling modules and routes tokens into topology-aware ragged window layouts for Transformer execution. For long-lead finetuning, Memory Orchestration (MO) provides rollout-aware checkpoint planning and combines input buffering with budget-constrained activation offloading. Experiments on the 1/12∘1/12^\circ GLORYS-based Wenhai workload show that TERRA supports models with up to 11.4B parameters on 96 H200 GPUs and sustains up to 39.7639.76 PFLOPS, achieving 65.0%65.0\% strong-scaling and 94.1%94.1\% weak-scaling efficiency. Compared with checkpoint-only policies, MO further reduces peak allocated GPU memory by 32.2%32.2\%--51.8%51.8\% with at most 20.0%20.0\% step-time overhead, which makes finetuning with smaller patch sizes and longer rollouts feasible for improved forecasting accuracy.

Figures & tables

Explore similar work

CardsList
  1. 4D Parallelism Unlocks Exascale Bayesian Neural Networks for High-Fidelity Atmospheric Modeling

    Sep 11, 2026Deifilia Kieckhefen, Juan Pedro Gutiérrez Hermosillo Muriedas, Lars Helge Heyen +12Bayesian Neural NetworksUncertainty Quantification

  2. TESSERA v2: Scaling Pixel-wise Earth Foundation Models

    Jul 4, 2026Zhengpeng Feng, Sadiq Jaffer, Ira Shokar +10Geospatial Foundation ModelsAI Scaling Laws

  3. Global Attention with Linear Complexity for Exascale Generative Data Assimilation in Earth System Prediction

    Apr 17, 2026Xiao Wang, Zezhong Zhang, Isaac Lyngaas +10Climate ScienceHigh-Performance Computing