Training Adaptation for Chinese GPUs: How to Judge 400-Step Stability
A public result showing 400 consecutive optimizer updates with finite loss and gradient norm on a dual-node, 16-GPU system is sometimes treated as proof of training readiness. This article explains why that conclusion is premature without full configuration disclosure. It contrasts Day 0 inference adaptation with training adaptation, outlines the FSDP2 training path and its memory and communication constraints for a near-3-trillion-parameter model, and gives a four-step procedure for verifying a 400-step stability claim: confirm configuration, inspect metrics, apply failure criteria, and record the result in a checklist.
Training a model with close to 3 trillion parameters places far higher demands on a compute platform than inference serving. Parameters, gradients, and optimizer states must be distributed across multiple GPUs. A single communication timeout, numerical anomaly, or process interruption can abort the entire training run. As a result, whether a training adaptation result can be accepted depends on which configurations were recorded and whether those configurations match the training workload under evaluation.
A recent public report said that a Chinese general-purpose GPU platform completed 400 consecutive optimizer updates in a dual-node, 16-GPU environment, with loss and gradient norm remaining finite. This article uses that public information to organize the evaluation. It is not a full training test for a near-3-trillion-parameter model. The public material does not disclose model scale, training method, or parallel combination. The sections below explain how those missing items affect the conclusion.
1. Training adaptation is not Day 0 inference adaptation
Day 0 inference adaptation usually means that on the day a model is released, the compute platform has passed inference operator validation and can support forward computation and inference deployment. This kind of validation focuses on whether operators run correctly. It does not include the complete training process. Technical reports often list inference compute capabilities from multiple vendors side by side, but rarely state which compute platform was used for base-model pretraining. Seeing an inference adaptation result does not justify a training-capability conclusion.
| Check item | Day 0 inference adaptation | Training adaptation |
|---|---|---|
| Core computation | Forward pass | Forward pass, backward pass, and parameter update |
| Numerical precision | Verify inference output correctness | Gradients and loss must remain stable through long iterations |
| Communication | Small overall impact | Gradient synchronization and parameter gathering require efficient cross-card and cross-node communication |
| Fault tolerance | A failure can usually be handled by resending a request | Checkpoints and resume-from-checkpoint are required |
| Validation period | Single request or short test | Long-running continuous execution |
Passing inference adaptation only proves that forward operators are usable. Training adaptation must also validate backward operators, mixed-precision gradient computation, and cross-node gradient synchronization. Any one of them may fail only after hundreds of steps. A tiny error in one operator can accumulate over many iterations and eventually cause numerical overflow or gradient explosion.
2. The FSDP2 training path and its constraints
FSDP2, or Fully Sharded Data Parallel 2, is PyTorch’s fully sharded data parallel scheme. Unlike FSDP1’s flat parameter sharding, FSDP2 represents sharded parameters with DTensor and shards parameters individually. That representation makes it easier to combine with other parallel strategies. Exact behavior depends on the PyTorch version; after a version change, the API should be rechecked.
Training adaptation for FSDP2 usually involves three areas.
Model loading and memory management. Parameters, gradients, and optimizer states are sharded across cards. Each card keeps only part of the state. During loading, the full model should not be constructed on every card first, because that creates a memory peak. A common practice is to initialize the model structure on a meta device and then load sharded weights.
Sharding schedule and communication overlap. During the forward pass, required parameters are collected with All-Gather. After the backward pass, gradients are reduced with Reduce-Scatter. Overlapping communication with computation hides some latency. The effectiveness depends on how communication and compute streams are scheduled and on network bandwidth.
Gradient synchronization and mixed precision. A common setup is BF16 compute with FP32 master weights and partial reductions. The public report does not state the precision setup, so this section only describes the usual practice.
Under a common mixed-precision Adam configuration, each parameter consumes roughly 16 bytes: 2 bytes for a BF16 parameter, 2 bytes for a BF16 gradient, 4 bytes for an FP32 master weight, and 8 bytes for two FP32 optimizer states. For 3 trillion parameters, the training state totals about 48 TB. Split across 16 GPUs, that is about 3 TB per GPU, far beyond a single GPU’s memory. If the reported parameter count equals the actual training scale, the setup must rely on offload, a smaller effective scale, or some other sharding or parallel scheme. This estimate does not include activations, so actual memory use is higher. It only establishes the order of magnitude; it cannot prove that dual-node 16 GPUs can train 3 trillion parameters. Feasibility also depends on per-GPU memory, intra-node and inter-node bandwidth, and host memory, none of which are given in the public material.
Communication efficiency depends on the hardware interconnect. The public report does not state the topology, so no judgment is made here. Measurements should separately record intra-node bandwidth, cross-node RDMA bandwidth, and the duration and overlap ratio of All-Gather and Reduce-Scatter.
3. How to verify a 400-step stability claim
A practical way is to follow four steps: confirm the configuration, inspect the numerical metrics, compare against failure criteria, and record the result in a checklist.
Step 1: Confirm configuration disclosure
| Item | Public information status | What to re-test or supplement |
|---|---|---|
| Dual-node, 16 GPUs, 16 training processes | Disclosed | Confirm process-to-GPU and process-to-node binding |
| 400 consecutive optimizer updates | Disclosed | Data volume per step and batch size |
| Loss and gradient norm finite | Disclosed | Numerical range and sampling frequency |
| Model scale and whether full-parameter training is used | Not disclosed | Trained parameter count; full-parameter training or LoRA |
| Parallel combination, including data, tensor, and pipeline parallelism | Not disclosed | Parallel degree in each dimension |
| Precision configuration | Not disclosed | Compute precision, master-weight precision, and reduction precision |
| Offload, CPU or NVMe | Not disclosed | Whether offload is enabled and its scope |
| Checkpoint and resume | Not disclosed | Save interval and validation result after recovery |
| Communication topology and bandwidth | Not disclosed | Measured intra-node and cross-node bandwidth |
| PyTorch version and FSDP2 API | Not disclosed | Version and interface names used |
Step 2: Inspect the numerical metrics
- Loss: Record it every step. The full series should be finite and should show a downward or stable trend consistent with the amount of data. If a sudden change appears, locate the exact step and data batch.
- Gradient norm: Record the value before clipping every step. Use a short baseline run with the same configuration to define the normal range, then check whether spikes appear and whether they fall back.
- NaN and Inf count: Should be zero for the whole run. Any nonzero count requires preserving the original logs.
- Per-step time: Calculate mean, variance, and tail quantiles. A sustained increase is usually a sign of communication or memory pressure.
- Communication errors and retries: Record timeout, retry, and reconnection events.
- Peak memory per GPU: Record by card and compare with the estimate above.
Step 3: Apply failure criteria
If any of the following is true, the 400-step stability conclusion cannot be accepted.
- NaN or Inf appears.
- Gradient norm exceeds the baseline by a defined multiple and does not return within tens of steps. The threshold should come from your own baseline, not from another run’s number.
- A communication timeout still fails after retries, or the same communication group repeatedly times out.
- Any process exits with a nonzero status, or a node drops and recovery is incomplete.
- After restoring from a checkpoint, the resumed loss is clearly inconsistent with the original trajectory.
Step 4: Record the result in a checklist
| Field | What to record | Criterion |
|---|---|---|
| Steps | Number of completed optimizer updates | Matches the target step count |
| Loss | Per-step values, with maximum and minimum | Finite for all steps |
| Gradient norm | Per-step values, with spike positions | No sustained spike beyond the baseline threshold |
Without the configuration fields in Step 1, a 400-step run with finite loss and gradient norm is only a signal, not proof. It is especially insufficient for a near-3-trillion-parameter workload because memory and communication constraints dominate. A credible training adaptation result should include the disclosed configuration, numerical traces, failure criteria, and a reproducible checklist.
