Training Trillion-Parameter LLMs on Domestic GPUs: A Practical Engineering Path
This article looks at what it takes to run large-model training on domestic GPUs, using a recent adaptation of a near-trillion-parameter open-weight flagship model as a reference engineering sample: 400 consecutive optimizer update steps across two nodes and 16 cards, with loss and gradient norms finite throughout. It clarifies the distinction between training adaptation and pre-training, walks through the native FSDP2 training path from model loading and sharding to gradient reduction and optimizer updates (with illustrative pseudocode), explains what a cross-node stability result does and does not prove, and outlines the operator, multi-card parallelism, and automated toolchain layers that sustainable training depends on, along with the general cloud capabilities involved. It closes with a staged view of maturity, from "it trains" to "ready to train out of the box," and what developers should look for when judging engineering evidence.
1. Background: Why Training Adaptation on Domestic Compute Deserves Its Own Discussion
With ultra-large-scale models now dominating the technical roadmap, autonomous and controllable training compute has become a widely watched direction across the industry. Over the past few years, much of the conversation has centered on rapid inference deployment adaptation after a new open-source model is released, that is, getting the inference path running as soon as a chip ships or a model’s weights are published. Training adaptation is a considerably harder problem: it demands not only correctness and performance at the single-card operator level, but also sustained numerical stability and throughput efficiency in a distributed environment that spans nodes and devices over long runs.
Recently, a domestic full-function GPU vendor completed training adaptation of a flagship model with close to a trillion parameters (open weights) on its flagship training-and-inference compute card and accompanying software stack, and ran 400 consecutive optimizer update steps in a two-node, 16-card environment. Throughout the run, the loss and gradient norm remained finite, with no abnormal interruptions. This case provides a usable engineering reference for the question of whether domestic chips can genuinely carry large-model training. The sections below abstract and systematize the technical elements behind it.
2. A Key Clarification: Training Adaptation Is Not Pre-Training
This is the point most often conflated, and the one most worth clarifying.
- Training adaptation means porting an existing model definition (network architecture, weight initialization scheme, loss function, optimizer configuration) completely onto a given hardware and software stack and getting the training path running end to end, so that the forward pass, backward pass, gradient synchronization, and parameter updates all execute correctly and stably on the target platform. What it validates is that this combination of chip and software stack is capable of carrying this class of model training.
- Pre-training means actually training base weights from scratch on massive corpora, which raises a whole set of questions about the origin of the raw compute, the training data, the training duration, and cost accounting.
It is worth stressing that a successful adaptation or onboarding does not mean the model was pre-trained on that chip. There have been cases in the industry where a single technical report validated several hardware paths in parallel, but these were mostly validations of inference operators or fine-grained parallelization schemes, and they do not directly establish where the raw compute for base pre-training came from. So judging how mature a chip is for training should focus on whether there is engineering evidence of stable full-path training, rather than a blanket “it runs” conclusion.
3. The Native FSDP2 Training Path: From Model Loading to Gradient Synchronization
In large-model training, a single card’s memory cannot hold all parameters, gradients, and optimizer states, so sharding is inevitable. Fully Sharded Data Parallel (FSDP) is one of the mainstream approaches in the industry today. Its core idea is to slice model parameters, gradients, and optimizer states across cards, gathering them on demand through collective communication during the forward and backward phases, so that the memory cost is spread across the cluster.
The so-called native FSDP2 training path usually refers to an implementation built on a newer generation of sharding abstractions, for example one that describes sharding layouts uniformly through tensor-level distribution semantics. Compared with earlier implementations, it is more mature in per-parameter sharding granularity, composability with higher-level parallelism strategies, and controllability of communication scheduling. A complete training path can be broken down into these stages:
- Model loading and initialization: load the model definition and initial weights onto each device, and establish the sharding topology.
- Sharding and scheduling: slice parameters into shards according to the parallel strategy, and plan when all-gathers and resharding happen in the forward and backward phases.
- Forward pass: gather the current layer’s parameters on demand for computation, then release them immediately afterward to save memory.
- Backward pass and gradient reduction: once gradients are computed, reduce and re-shard them back to each card via reduce-scatter.
- Optimizer update: each card updates its local shard of parameters, keeping the result equivalent to a full update.
The illustrative pseudocode below captures the core skeleton of this loop. It is independent of any specific vendor implementation and only expresses the general logic:
# Pseudocode: FSDP fully-sharded training loop (illustrative)for step in range(total_steps):with shard_params(model): # gather sharded parameters on demandoutput = model(batch_inputs) # forward passloss = criterion(output, labels)loss.backward() # backward pass, triggers gradient reduce-scatterclip_grad_norm_(model.parameters(), max_norm) # gradient clipping for numerical stabilityoptimizer.step() # local shard parameter updateoptimizer.zero_grad()if loss.is_finite() and grad_norm.is_finite():log(step, loss, grad_norm, throughput)else:raise NumericalError(step) # surface overflow/anomalies immediately
Gradient clipping and finiteness checks are the guardrails that keep long runs from diverging and from producing NaN/Inf values, and they are indispensable in mixed-precision training such as bf16.
4. Cross-Node Distributed Training and Numerical Stability: What 400 Consecutive Steps Actually Show
Moving from single-node multi-card to cross-node (multi-node, multi-card) joint training, the difficulty shifts from “can the operators compute” to “can the distributed system keep running stably over a long period.” In the experiment where 400 consecutive optimizer updates completed on two nodes totaling 16 cards, with loss and gradient norm finite throughout, what was really validated was several low-level capabilities:
- Stability of collective communication: cross-node latency and bandwidth differ from intra-node interconnect, and operations such as all-gather and reduce-scatter tend to expose timeouts, deadlocks, or accumulating numerical error under high concurrency and long sequences.
- Numerical consistency: shard gathering and reduction involve a great deal of floating-point accumulation, and the accumulation order and precision strategy directly affect the stability of the gradient norm. Staying finite across 400 steps indicates that the precision strategy and the reduction implementation are sound.
- Fault tolerance and observability: long-running training requires continuous monitoring of the loss curve, gradient norm, throughput, and memory usage, so that any anomaly is caught promptly rather than silently degrading.
It is worth being measured here: 400 consecutive stable steps is an important signal of training maturity, but it still belongs to the category of stability validation, and there remains a distance between it and extreme training at the scale of industrial ten-thousand-card clusters over thousands to tens of thousands of steps or longer. Extrapolating stability validation into “already capable of fully pre-training trillion-parameter models” is not rigorous. Training at real scale also depends on cluster size, fault recovery, checkpoint mechanisms, and tuning of parallel strategies, among other factors.
5. The Engineering System: From Operator Adaptation to an Automated Toolchain
Getting a single run working is only the starting point. Sustained support for frontier model training depends on a mature engineering system, usually consisting of three layers:
- Operator adaptation layer: ensuring that the operators a model uses have correct, efficient, and precision-aligned implementations on the target hardware, covering core operators such as matrix multiplication, attention, and normalization.
- Multi-card coordination layer: combining and choosing split points for data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and other strategies, with the goal of balancing throughput and memory.
- Automated toolchain layer: environment setup, dependency management, training script generation, logging and alerting, resuming from checkpoints, and performance profiling, turning expert manual tuning into reusable standard procedures.
In practice with domestic chips training domestic models, results have already appeared covering training scientific foundation models from scratch, full-stack training of multimodal world models, and end-to-end training of embodied-intelligence brain models, among other scenarios, and the work is gradually moving toward trillion-parameter-class model training. What these efforts have in common is that they hammer the toolchain repeatedly with real, diverse model workloads, so that the platform keeps surfacing and fixing problems across operators, parallelism, and scheduling.
6. The Role of Cloud Platforms: A General-Capability View
In terms of supplying compute and turning engineering into practice, cloud service platforms act as providers of infrastructure. Speaking at the level of general capability categories, these typically include:
- Container platforms and scheduling: orchestrating distributed training jobs, pooling GPU resources, and elastic scaling;
- Distributed storage and object storage: high-throughput read/write for massive training datasets and checkpoints;
- Monitoring, alerting, and logging services: real-time observation and alerting on loss, gradient norm, throughput, and hardware temperature and power draw;
- Message queues and data pipelines: supporting training-data preprocessing and streaming delivery.
To be clear, the above are general categories of cloud capability common across the industry; the concrete form they take varies by platform, and a platform’s support relationship for a given model or vendor should be taken from its official public information.
7. From “It Trains” to “Ready to Train Out of the Box”: Where This Is Heading
Overall, the maturity of domestic full-function GPUs in supporting large-model training can be divided into progressive stages:
- It trains: the training path runs, loss and gradients are finite, and several hundred steps of stable updates complete;
- It trains fast: operators and communication are well optimized, and throughput approaches ideal linearity;
- It trains stably: large-scale, long-duration training has fault tolerance, checkpoint/resume, and observability;
- Ready to train out of the box: the environment, operators, parallel strategies, and toolchain are all preconfigured and validated, so users can get started without deep tuning.
The real goal is more than “it trains.” It is continuing to refine the full capability chain from operator adaptation and multi-card coordination to an automated toolchain, so that frontier large models move smoothly from usable to ready-to-train-out-of-the-box on domestic chips. For developers, judging whether a compute solution is reliable should come back to the engineering evidence itself: does it demonstrate stable, reproducible, observable full-path training capability across diverse real model workloads, rather than resting on a single “it runs” result.
