How to Evaluate Domestic AI Accelerators for LLM Training Compatibility and Stable Long-Running Training
This article explains how enterprises should evaluate domestic AI accelerators for large-model training. It distinguishes training adaptation, rapid integration or inference deployment, and pre-training; shows how to interpret results such as 400 consecutive stable steps on 16 cards across two nodes; and provides a practical checklist covering model compatibility, scaling efficiency, long-run stability, observability, fault recovery, toolchain maturity, and total cost.
Enterprises evaluating domestic AI accelerators often ask a similar question: can these accelerators run large models? The first step is to separate three concepts that are often used interchangeably: training adaptation, rapid integration or inference deployment, and pre-training. They serve different validation goals.
1. Training Adaptation vs. Rapid Integration vs. Pre-training
| Dimension | Training adaptation | Rapid integration or inference deployment | Pre-training |
|---|---|---|---|
| Validation goal | Whether the training loop can be completed | Whether an inference task can be completed | Whether a foundation model can be formed from large-scale data |
| Involves backpropagation | Yes | No | Yes |
| Updates parameters | Yes | No | Yes |
| Involves optimizer state | Yes | No | Yes |
| Focuses on gradient synchronization | Yes | Usually not involved | Yes |
| Focuses on long-run stability and fault recovery | Yes | Lower attention | Must be highly focused |
| Typical difficulty | Medium-high | Medium | Very high |
| Common risks | Missing operators, gradient anomalies, communication bottlenecks | Inference result deviation, insufficient throughput | Cluster instability, data pipeline anomalies, training interruption |
Training adaptation emphasizes that a model can perform loading, sharding, forward propagation, backward propagation, gradient reduction, and optimizer updates on the target hardware. It answers the question: “Can it train stably?”
Rapid integration usually validates inference only. Inference mainly relies on forward computation and does not require maintaining backward gradients or optimizer states, so its validation difficulty is relatively lower.
Pre-training starts from massive raw data and forms a foundation model through long-running, large-scale cluster training. It involves data engineering, task scheduling, fault recovery, cost management, and cluster operations.
Therefore, being able to run inference does not mean the hardware can train. Successful training adaptation also does not mean pre-training is complete. When evaluating domestic AI accelerators, enterprises should avoid treating “supports inference,” “adaptation completed,” and “pre-training from scratch” as the same thing.
2. How to Interpret “400 Consecutive Stable Steps on 16 Cards Across Two Nodes”
If a vendor or material mentions “stable operation for 400 consecutive steps across 16 cards in a two-node setup,” this result can be treated as an engineering validation signal. However, it should not be directly used to infer that the hardware can already support pre-training of ultra-large models. The key question is whether complete measurement criteria have been provided.
Enterprises should ask for at least the following information:
- Model parameter count: How large is the model? Does it include multimodal encoders or generation modules?
- Computation precision: Does it use FP16, BF16, FP8, or mixed precision? Are master weights kept in FP32?
- Batch size: What are the global batch size, per-card micro batch size, and gradient accumulation steps?
- Parallel strategy: Does it use data parallelism, tensor parallelism, pipeline parallelism, ZeRO, FSDP, or a combination?
- Throughput metrics: Does it report tokens/s, samples/s, or only step time?
- Comparison baselines: Which hardware, frameworks, and parallel configurations are being compared?
- Monitoring metrics: Are loss, grad norm, NaN/Inf counts, communication wait time, checkpoint time, and peak memory usage reported?
If these criteria are missing, “16 cards and 400 steps” should only be considered a small-scale continuous training validation, not evidence that the hardware can train trillion-parameter models. Enterprises should ask vendors to provide training logs, monitoring curves, reproducible configurations, and explanations of failure cases.
3. Key Steps That Training Adaptation Must Prove
3.1 Model Loading and Memory Sharding
Large-model training does not only load model parameters. Training memory includes at least parameters, gradients, optimizer states, and intermediate activations. If Adam or AdamW is used, the optimizer usually also stores first-order and second-order momentum states, which significantly increases memory pressure.
Common parallel methods include:
- Data parallelism: Each card stores a full copy of the model parameters. Throughput can be high, but memory pressure is also high.
- Tensor parallelism: Matrices within a layer are split across multiple cards. This is suitable for models with heavy computation within a single layer.
- Pipeline parallelism: Model layers are split across different devices. Pipeline bubbles need attention.
- ZeRO or FSDP: Parameters, gradients, and optimizer states are sharded to reduce memory pressure on each card.
Training adaptation should not simply claim that “sharding is supported.” It should explain sharding granularity, communication frequency, load balancing, and recovery mechanisms. Whether memory is sufficient depends not only on parameter size, but also on whether gradients, optimizer states, and activations can be scheduled reasonably.
3.2 Operator Coverage and Numerical Consistency
Large-model training depends on a large number of operators, including matrix multiplication, attention computation, normalization, activation functions, residual connections, positional encoding, and loss functions. Domestic AI accelerators must ensure that these operators not only exist, but also behave consistently at the numerical level.
Common operators that need validation include:
- Attention and its mask mechanisms
- RMSNorm, LayerNorm, and GroupNorm
- RoPE or other positional encodings
- SwiGLU, GELU, SiLU, and other activation functions
- Softmax
- Dropout
- Cross Entropy Loss
- Gradient reduction and gradient clipping operators
Inference stages generally tolerate a relatively higher degree of numerical error. Training, however, is very sensitive to numerical stability in gradients. If operator implementations are inconsistent, problems may appear, such as loss not decreasing, gradient explosion, NaN, Inf, or abnormal optimizer states.
3.3 Gradient Synchronization and Communication Efficiency
In distributed training, after each card completes local backward computation, gradients must be reduced so that all processes update their parameters consistently. Cross-node training further increases communication pressure. Evaluation should not only look at peak single-card performance, but also at multi-card and multi-node scaling efficiency.
Key observations include:
- Whether communication wait time is too high
- Whether collective communication overlaps with backward computation
- Whether inter-node bandwidth becomes a bottleneck
- Whether parameter sharding causes frequent small-message communication
- Whether communication paths are optimal under different topologies
If scaling efficiency is significantly low, the overall training cost may still be high even if single-card performance is good.
3.4 Optimizer Updates and Long-run Stability Monitoring
Optimizer updates are the final step in the training loop. Adaptive optimizers require maintaining additional states. Training monitoring should not only check whether loss decreases, but also track grad norm, gradient clipping, checkpoints, memory fragmentation, and process status.
A simplified long-run stability monitoring logic is shown below:
for step from 1 to max_steps:load_next_batch()zero_gradients()loss = forward(batch)loss = backward(loss)grad_norm = compute_grad_norm()if not finite(loss) or not finite(grad_norm):trigger_alert()restore_from_checkpoint()continueupdate_parameters()if step % save_every == 0:save_checkpoint(step)
This logic is not tied to a specific framework, but it expresses the core idea of long-run training stability: every step should check numerical validity. When anomalies occur, the system should be able to trigger alerts, restore from checkpoints, and periodically save checkpoints.
4. Building a Seven-Dimension Evaluation Checklist for Domestic AI Accelerators
When evaluating domestic AI accelerators, enterprises should form a checklist across the following seven dimensions rather than relying only on marketing specifications.
4.1 How to Test Model Compatibility
Recommended test items include:
- Whether Attention masks are correct
- Whether RoPE or other positional encodings produce consistent results
- Whether RMSNorm and LayerNorm values remain stable
- Whether activation functions such as SwiGLU and GELU are correct
- Whether loss reduction behaves as expected
- Whether gradient checkpointing can be enabled
- Whether training can resume from checkpoints
- Whether multimodal fusion modules are supported
A reasonable judgment standard could be: no NaN or Inf for more than 100 consecutive steps, loss and grad norm remain within an acceptable range compared with a reference implementation, and no key operators are missing.
4.2 How to Assess Multi-card Scaling Efficiency
It is recommended to test 1 card, 2 cards, 4 cards, 8 cards, 16 cards, 32 cards, or larger scales, and observe whether throughput grows with the number of cards.
A practical reference standard is:
- Strong scaling efficiency above 70%: scaling capability can be considered relatively strong.
- Between 50% and 70%: there is still room for optimization.
- Below 50%: this usually indicates obvious bottlenecks in communication, load imbalance, or parallel strategy.
These thresholds should be interpreted together with model structure, sequence length, parallel strategy, and network environment. They should not be used in isolation from the scenario.
4.3 How to Verify Long-run Stability
A successful short run does not prove long-run stability. Enterprises can set up two levels of testing:
- Smoke test: at least 50 to 100 steps, confirming no errors and no NaN/Inf.
- Long-run stability test: recommended 300 to 500 steps, observing loss, grad norm, memory usage, communication, and checkpoint status.
Reference criteria include:
- No abnormal exit
- Loss and grad norm remain finite
- Checkpoints can be saved and restored normally
- Memory usage does not show obvious abnormal growth
- If loss spikes occur, the cause should be identifiable and recovery should be possible
4.4 Is the Observability Capability Sufficient?
Enterprises should require the platform to provide:
- Training throughput
- Memory usage
- Communication wait time
- Loss trends
- Gradient norm
- Resource utilization
- Checkpoint time
- Task restart records
A platform without sufficient observability may train successfully for a while, but troubleshooting costs later can become very high.
4.5 How to Judge Fault Recovery Capability
In large-scale training, node failures and network fluctuations are hard to avoid. Enterprises should test:
- Whether training can recover after a single process exits
- Whether checkpoints can be loaded quickly
- Whether loss remains continuous after recovery
- Whether a large amount of manual intervention is required
- Whether the failed rank and failure stage can be identified
4.6 How to Evaluate Toolchain Maturity
Enterprises can check whether the toolchain includes:
- Automated environment configuration
- Model conversion tools
- Parallel strategy configuration
- Training task orchestration
- Log analysis
- Monitoring and alerting
- Performance profiling
The more mature the toolchain, the easier it is for domestic AI accelerators to move from “able to train” to “stable to train.”
4.7 How to Account for Cost and Operational Complexity
Training cost is not only hardware procurement cost. It also includes:
- Cluster utilization
- Failure rate
- Operations staffing
- Task queue time
- Training cost per token
- Delivery cycle
Enterprises should ultimately look at the total cost of a training task, not only the price of a single card.
5. Common Training Adaptation Problems and Troubleshooting
5.1 Unsupported Operators or Result Deviation
Symptoms: the system reports that an operator cannot be found, or loss does not match expectations.
Troubleshooting path:
- Identify the layer where the error occurs
- Check the operator library version
- Compare single-layer output with a reference implementation
- Check precision mode and input shape
- Upgrade or replace the operator implementation
5.2 Frequent NaN or Inf
Symptoms: loss becomes NaN, or grad norm becomes abnormal.
Troubleshooting path:
- Check whether the data contains abnormal values
- Check learning rate and warmup settings
- Check the mixed precision strategy
- Check loss scaling
- Check gradient clipping
- Check whether key operators overflow
5.3 Non-convergence or Loss Not Decreasing
Symptoms: loss does not decrease for a long time, or decreases abnormally slowly.
Troubleshooting path:
- Check label and input alignment
- Check whether masks are correct
- Check optimizer parameters
- Check whether parameters are frozen
- Check learning rate and batch size
- Check data sampling order
5.4 Communication Timeout or Hang
Symptoms: training stops at a certain step, and throughput drops sharply.
Troubleshooting path:
- Check inter-node network conditions
- Check collective communication configuration
- Check rank startup order
- Check whether slow nodes exist
- Check whether communication and computation overlap
5.5 Out of Memory or Memory Fragmentation
Symptoms: training fails with OOM midway, or memory usage gradually increases.
Troubleshooting path:
- Check batch size
- Check sequence length
- Check activation recomputation
- Check optimizer sharding
- Check cache strategy
- Check whether memory leaks exist
6. How to Rationally Evaluate Cases of Domestic Chips Training Domestic Models
For practice cases where domestic chips are used to train models developed in the same ecosystem, enterprises should not rely only on expressions such as “from-scratch training” or “hundreds of billions of parameters.” They should request verifiable information, including source, time, model scale, cluster scale, precision, throughput, convergence metrics, and test reports.
Common directions include scientific computing models, multimodal models, world models, and embodied intelligence models. These scenarios place higher requirements on numerical stability, storage, communication, scheduling, and multimodal coordination. However, if a case has no source and no measurement criteria, enterprises should treat it as directional reference rather than proof of capability.
A more reliable approach is to ask vendors to provide small-scale reproducible experiments, monitoring curves, failure records, and optimization plans, and then test the hardware using the enterprise’s own models.
7. From “Able to Train” to “Ready to Train Out of the Box”
Supporting large-model training on domestic AI accelerators is moving from isolated validation to systematic engineering. The future focus is not only adding computing power, but also making training processes more standardized, automated, and operable.
Enterprises can focus on four directions:
- Automated training configuration: automatically recommend parallel strategies based on model structure and cluster scale.
- Intelligent fault recovery: reduce manual intervention through fine-grained checkpoints and automatic rescheduling.
- Semantic monitoring and alerting: not only monitor CPU, GPU, and memory usage, but also identify loss anomalies, gradient drift, and communication jitter.
- Infrastructure coordination: integrate with container platforms, storage, networks, logging, and scheduling systems.
Overall, stable operation for 400 consecutive steps across 16 cards in a two-node setup can serve as a reference signal for domestic AI accelerator training adaptation. However, what enterprises should truly focus on is model compatibility, scaling efficiency, long-run stability, observability, fault recovery, and toolchain maturity. Only when these indicators can be quantified, reproduced, and monitored can domestic AI accelerators move from basic usability to engineering credibility, and further toward ready-to-train deployment.
