Domestic AI Accelerator Card Completes Two-Node, Multi-Card Training Pipeline Validation for Large Models

    A domestic AI accelerator card environment has successfully validated a large model training pipeline across two servers with sixteen accelerator cards, running 400 consecutive training steps. This article explains what this milestone demonstrates, breaks down the five-layer system architecture behind multi-node training, outlines how to design a staged validation process, and provides practical guidance on judging correctness, stability, and efficiency—plus common troubleshooting paths for distributed training failures.

    In large model training infrastructure, the fact that a single card can run a workload does not mean the entire training system is ready for scaled deployment. Engineering validation with real value typically needs to cover multiple components at once: compute devices, drivers and runtime libraries, communication networks, training frameworks, data pipelines, checkpointing, and monitoring and alerting. Recently, a domestic accelerator card environment completed a training pipeline validation for a target large model, running continuously for 400 steps on a configuration of two servers with sixteen accelerator cards in total. The result offers a useful reference point for adapting complex model training to domestic compute platforms.

    What This Validation Demonstrates

    “Running 400 steps on two nodes and sixteen cards” first shows that the training task has moved beyond the basic single-machine startup stage. It can establish distributed training processes across multiple servers and complete a meaningful number of forward passes, backward passes, gradient synchronizations, and parameter updates.

    From an engineering perspective, this kind of result implies at least the following capabilities:

    1. Devices are correctly recognized by the training framework
      The accelerator card drivers, runtime libraries, device management components, and framework adaptation layers must remain compatible. Any version mismatch in this chain can cause devices to become invisible, operators to fail, or tasks to exit abnormally after startup.

    2. Multi-process training initializes correctly
      Two-node, multi-card training typically requires creating an independent process for each device, with node ranks, process ranks, and global process counts assigned through environment variables or launch configurations. Initialization also involves device binding, communication group creation, and distributed state synchronization.

    3. Cross-node communication links work
      Large model training is not just about compute. In data parallelism, gradients must be aggregated across devices; in model parallelism or pipeline parallelism, activations, parameter shards, or intermediate states must also be transmitted. Network connectivity, bandwidth, latency, and stability all directly affect training outcomes.

    4. The full training loop can execute
      A training task must sequentially complete data reading, batch assembly, forward computation, loss calculation, backward propagation, gradient synchronization, optimizer updates, and logging. Running 400 consecutive steps indicates that at least one relatively complete execution path has been established.

    It is important to note that 400 steps is better understood as a “pipeline feasibility validation” or an “interim stability validation.” It cannot be treated as proof of long-term training stability, nor can it be used to infer final training efficiency, convergence quality, or large-scale production readiness.

    System Architecture of Two-Node, Sixteen-Card Training

    A typical multi-node, multi-card training environment can be abstracted into five layers.

    1. Hardware Layer

    The hardware layer includes accelerator cards, host processors, memory, local storage, and network devices. Before launching a training task, confirm that each server has a consistent number of devices, stable device numbering, memory capacity sufficient for model and data loading, and network interfaces with adequate throughput.

    For a two-node setup, it is advisable to record in advance:

    • The number of accelerator cards on each server;
    • The interconnect topology between accelerator cards;
    • Host memory and local disk capacity;
    • Inter-node network interfaces and actual reachable addresses;
    • Device temperature, power consumption, and operating status;
    • Whether devices downclock or produce hardware errors during training.

    Inconsistent hardware information does not necessarily prevent the task from starting, but it can cause uneven device utilization, degraded communication performance, or excessive waiting in some processes.

    2. Driver and Runtime Layer

    Drivers and runtime libraries translate the training framework’s compute requests into device-executable instructions. Problems at this layer commonly manifest as:

    • Incorrect device enumeration counts;
    • Certain operators failing to execute;
    • Programs failing at the memory allocation stage;
    • Device context errors appearing after running for some time;
    • Resource conflicts when multiple processes share devices.

    Therefore, training validation should not stop at checking “whether devices are visible.” It should also run basic tests covering core operators, memory allocation, device-to-device copying, and simple matrix operations. Only when these fundamentals work correctly do subsequent large model training results have analytical value.

    3. Framework and Operator Layer

    Large models rely on a large number of operators, including matrix multiplication, normalization, attention computation, activation functions, loss functions, and optimizers. Different model architectures have different levels of operator support, and adaptation becomes harder in scenarios involving mixed precision, dynamic shapes, sparse computation, and distributed tensor sharding.

    At this stage, focus on confirming:

    • Whether the model architecture loads completely;
    • Whether parameter and gradient data types match expectations;
    • Whether key operators have usable implementations;
    • Whether unsupported operators can be replaced with equivalent paths;
    • Whether automatic mixed precision introduces numerical anomalies;
    • Whether optimizer states allocate and update correctly.

    If training starts but the loss quickly becomes infinite or NaN, the problem may not be in the communication layer—it could relate to precision strategy, gradient scaling, initialization methods, or the numerical stability of a particular operator.

    4. Distributed Communication Layer

    Two nodes and sixteen cards require, at minimum, process discovery, device binding, communication group creation, and collective communication operations. Common collectives include aggregation, broadcast, reduction, and point-to-point transfer.

    When validating the communication layer, split the work into three phases:

    • Connectivity validation: Confirm nodes can reach each other, and that ports and security policies do not block training traffic;
    • Functional validation: Run broadcast, aggregation, and reduction on small data and verify consistent results;
    • Stress validation: Run sustained communication with data volumes close to real training scale and watch for timeouts, retries, or performance fluctuations.

    The hardest distributed training problems to diagnose are often not “complete failures” but occasional process stalls, throughput drops on one node, or step times gradually diverging across devices. For this reason, logs should record each process’s initialization status, communication time, and abnormal exit reasons.

    5. Data and Operations Layer

    When data loading is too slow, accelerator cards idle while waiting, wasting compute resources. Checkpoint saving, log writing, and monitoring collection can also add overhead.

    The data and operations layer should cover, at minimum:

    • Whether data files are accessible from all nodes;
    • Whether data shards are duplicated or missing;
    • Whether data loading processes become a bottleneck;
    • Whether checkpoints can be written and restored correctly;
    • Whether training logs include step counts, loss, learning rate, and throughput;
    • Whether device faults, process exits, and network errors trigger timely alerts.

    How to Design the 400-Step Validation

    The number 400 is not arbitrary in isolation—what matters is whether each step truly completes the training loop. A sensible validation process can be divided into four stages.

    Stage 1: Single-Card Baseline

    Start with a very small workload on a single accelerator card to confirm that the model’s forward and backward logic is correct. Record single-step time, memory usage, loss progression, and the execution status of key operators.

    The purpose of the single-card baseline is to isolate distributed factors. If operator errors or numerical anomalies appear even on a single card, jumping straight to a two-node environment will significantly complicate troubleshooting.

    Stage 2: Single-Node Multi-Card

    Scale up to multiple cards on the same server, primarily validating inter-device communication, data sharding, and gradient synchronization. At this stage, observe whether utilization is balanced across cards and whether synchronization operations cause noticeable waiting.

    If single-node multi-card works but the two-node setup fails, the problem is more likely concentrated in inter-node networking, process discovery, address configuration, or the cross-node communication implementation.

    Stage 3: Two-Node Short Trial Run

    Before the full 400-step run, execute a short task of a few dozen steps to confirm:

    • All processes start normally;
    • Each process binds to the correct device;
    • Inter-node communication shows no obvious blocking;
    • Loss values and gradient norms fall within reasonable ranges;
    • Logging and checkpointing functions work.

    Passing the short run first reduces time wasted on basic configuration errors before entering the full 400-step validation.

    Stage 4: Continuous Run and Recovery Validation

    During the 400-step run, continuously monitor single-step time, device utilization, memory usage, and communication wait time. After the task completes, verify that the checkpoint can be loaded and that training can resume from the interruption point.

    If the only option is restarting from scratch, the training pipeline is still incomplete. Real production training often runs for days or longer, and checkpoint-based recovery is a critical capability for reducing failure costs.

    Judging “Running Correctly” vs. “Barely Running”

    A completed training run does not mean the validation is sufficient. Assess results across three dimensions: correctness, stability, and efficiency.

    Correctness

    Correctness checks include whether the loss evolves as expected, whether gradients are abnormal, whether parameter states stay consistent across processes, and whether data sharding matches the design.

    Focus on:

    • Whether the loss suddenly explodes;
    • Whether gradient norms stay at zero or grow abnormally;
    • Whether the learning rate schedule matches the configuration;
    • Whether parameters actually change across updates;
    • Whether multi-card results fall within a reasonable error margin of the single-card baseline.

    Stability

    Stability is more than “no errors reported”—it also means resource states do not degrade over long runs. For example, steadily growing memory usage may indicate a memory leak, and continuously increasing step time may point to caching, communication, or data loading problems.

    Record, every step or every few steps:

    • Training time per step;
    • Data loading time;
    • Forward and backward time;
    • Communication time;
    • Memory usage;
    • Device utilization;
    • Error and retry counts.

    Efficiency

    In multi-card training, actual throughput rarely scales linearly as device count grows. Communication overhead, load imbalance, data reading, and synchronization waiting all reduce scaling efficiency.

    Use the following approach for analysis:

    Scaling efficiency = actual multi-card throughput ÷ ideal linear throughput

    This metric does not require pursuing an absolute value, but it is useful for comparing the effects of different parallelism strategies, batch sizes, and communication configurations. When analyzing, also separate compute time from wait time—do not attribute all performance problems to the accelerator card itself.

    Common Problems and Troubleshooting Paths

    1. Some Processes Exit After Startup

    First check device numbering, node ranks, global process counts, and environment variables for consistency. Then examine the logs of the earliest exiting process—the timeouts reported by other processes are usually just cascading effects.

    2. All Processes Start But Make No Progress

    This usually relates to communication blocking, an unreachable node, incorrect device binding, or stalled data loading. Compare the last log entries across all nodes to determine whether processes are stuck in initialization, data reading, or gradient synchronization.

    3. Abnormal Training Loss

    Distinguish between data problems, precision problems, and operator problems. Try disabling complex mixed precision strategies, reducing batch size, and reproducing the issue with fixed inputs. If fixed inputs still produce anomalies, focus on operator implementations and numerical computation paths.

    4. Insufficient Memory

    Options include reducing batch size, enabling gradient accumulation, shortening sequence lengths, and adopting parameter or optimizer sharding. However, every memory-saving measure may increase communication or compute overhead, so evaluate each change alongside single-step time.

    5. Low Device Utilization

    Low utilization does not necessarily mean insufficient compute capability. Check first whether data loading, communication synchronization, or host-side preprocessing is the bottleneck. Only when compute accounts for a high share of time yet utilization remains low should you dig into operator implementations and task scheduling.

    From Interim Validation Toward Production Deployment

    Completing 400 steps on two nodes and sixteen cards is an important milestone in validating the training pipeline, but production readiness requires additional testing:

    1. Extend run duration and observe stability over hours or longer;
    2. Test different combinations of batch size, sequence length, and precision;
    3. Validate automatic recovery after abnormal task termination;
    4. Check checkpoint integrity and cross-node recovery effectiveness;
    5. Evaluate resource isolation when multiple tasks run concurrently;
    6. Establish unified logging, metrics, and alerting systems;
    7. Record baselines for throughput, communication share, and scaling efficiency;
    8. Continuously optimize key operators and memory usage.

    Overall, the value of this domestic accelerator card validation—two nodes, sixteen cards, 400 steps of large model training—lies in proving that a distributed training path from device initialization to parameter update is runnable. More importantly, such practice lays the groundwork for subsequent performance optimization, long-duration stability testing, fault recovery, and scale-out. For any new compute platform, only by advancing from “the task can start” to “results are trustworthy, operation is stable, performance is measurable, and failures are recoverable” can truly reusable large model training capability be established.