Multimodal Training Validation on Homegrown AI Accelerators: 16 Cards Across Two Servers Run 400 Consecutive Stable Steps

    This article examines a training adaptation validation of a roughly 2.8-trillion-parameter native multimodal model on a homegrown AI compute stack outside the NVIDIA CUDA ecosystem. It breaks down the challenges from MoE dynamic routing, multimodal fusion, long-sequence memory pressure, and hybrid attention; explains an FSDP2-based parallel architecture with MCCL communication; reports a 400-step, 16-card test covering loss convergence, memory usage, and visual-branch gradients; and outlines optimization directions for scaling.

    From Model Characteristics to Compute Challenges: A Technical Dissection of a Deep Adaptation

    As multimodal large models scale toward trillions of parameters, training places extremely demanding requirements on underlying compute infrastructure. A recent training adaptation validation of a native multimodal model has drawn attention. The model has about 2.8 trillion total parameters and supports contexts of up to 1 million tokens. It uses a hybrid attention mechanism and a mixture-of-experts (MoE) architecture, and deeply integrates visual understanding with tool-calling capabilities. Its training pipeline involves dynamic sparse retrieval, expert routing, and joint image-text optimization, posing serious challenges to GPU compute supply, memory management, and multi-card and cross-node communication efficiency.

    Based on publicly available adaptation validation information, this article takes a technology-neutral view to break down the key engineering steps and value of this training adaptation. It explores how, outside the NVIDIA CUDA ecosystem, a homegrown AI compute stack can support stable training of such a complex model through refined parallel strategies and operator optimization.

    1. Adaptation Challenges: Why Trillion-Parameter Multimodal Training Is So Hardware-Intensive

    The target model is not a simple text-only large language model. Its core characteristics determine the complexity of the training process.

    1. Dynamic routing pressure from MoE: Although the model has 2.8 trillion total parameters, only part of the expert networks are activated during each forward pass. As a result, compute load is distributed dynamically within a single training step, and traditional static parallel strategies struggle to achieve optimal efficiency. The sparse communication patterns caused by routing decisions place high demands on the flexibility of collective communication libraries.

    2. Multimodal fusion and long-sequence processing: The model must process both image visual encoding and text sequences, and it involves cross-modal projection modules. As sequence length increases to 1024 or higher, with support for contexts up to 1 million tokens, activation memory grows exponentially. Balancing memory allocation between the vision tower and the language backbone is a major focus of engineering optimization.

    3. Hybrid attention mechanisms (KDA / Gated DSA): Unlike traditional Transformer architectures, this model introduces gated attention mechanisms intended to handle long-range dependencies and multimodal information interaction more efficiently. This requires the underlying operator library to provide highly customized kernel implementations to avoid performance regressions caused by graph pattern matching failures.

    2. Core Architecture: How FSDP2 and Expert Parallelism Work Together

    Faced with these challenges, the adaptation plan did not simply rely on coarse stacking of data parallelism (DP). Instead, it built a layered parallel strategy system.

    • Building a native FSDP2 multimodal training path: The technical team sharded model parameters, gradients, and optimizer states across different GPUs using FSDP2 (Fully Sharded Data Parallel 2). This effectively avoids the single-card memory ceiling. Unlike earlier FSDP, FSDP2 uses a more aggressive sharding strategy, especially for MoE models, enabling fine-grained partitioning of parameters and gradients and efficient materialization when needed.

    • Retaining the NeMo-style native workflow and communication library integration: The solution retains the industry-standard NeMo AutoModel workflow to organize the training loop, which means data loading, checkpoint saving, and logging logic do not need major rewriting. Critical cross-card and cross-node communication is handled by the underlying communication library, referred to as MCCL in the source information. This communication library must be highly compatible with sharded tensor communication patterns, ensuring that All-to-All communication caused by MoE routing and Reduce-Scatter communication for FSDP gradient synchronization can execute efficiently in an interleaved manner over InfiniBand or high-bandwidth Ethernet.

    3. Quantitative Test: Stability Validation of 400 Consecutive Training Steps on 16 Cards

    To validate functionality and stability, the team conducted a rigorous validation test: two servers with a total of 16 accelerator cards built a complete training pipeline. The model configuration for the experimental environment was as follows:

    • Model trimming configuration: A 13-layer language backbone with 16 routed experts (Top-8 routing), while retaining the full 27-layer vision tower and cross-modal projection module. This was not full-scale pretraining, but a stress test focused on pipeline correctness.
    • Dataset and hyperparameters: Based on the MedPix-VQA image-text question-answering dataset, with a global batch size of 16 and sequence length of 1024.

    Key observations:

    1. Convergence behavior: Over 400 consecutive optimizer updates, the average training loss fell from 8.94 at steps 21–70 to 2.18 in the final 50 steps. Validation loss also decreased in sync, with no numerical overflow caused by gradient explosion.
    2. Memory usage: At sampling points, peak device memory remained stable at 44.80 GiB, validating the effectiveness of the FSDP2 sharding strategy in controlling memory usage.
    3. Vision branch: By checking gradient flow, the team confirmed that the image embedding layer, first and last layers, and cross-modal projection layer of the vision tower all produced non-zero gradient updates. This detail is important because it proves that the vision branch truly participates in end-to-end backpropagation rather than serving only as a frozen data input cache.

    4. Performance Optimization: Beyond “Running” to “Running Stably”

    Beyond basic adaptation, the work involved multiple architecture-level optimizations. Although most non-functional issues were resolved during testing, several optimization directions are worth attention to support future larger-scale cluster training:

    1. Deep coordination between FSDP2 and expert parallelism (EP): As model scale grows further, FSDP sharding alone cannot solve communication hotspots caused by expert modules. A coordination mechanism between FSDP and expert parallelism has been implemented, allowing non-expert parameters to use the FSDP zero-fill strategy while expert parameters use EP for local communication. In principle, this can significantly reduce cross-node communication traffic.

    2. Parameter prefetching and gradient communication scheduling: In long-sequence training, forward and backward computation take a long time. Based on computation graph analysis, a parameter prefetching mechanism loads the parameter weights needed by the next layer during computation gaps to hide communication latency. At the same time, a scheduling algorithm for gradient communication overlaps gradient quantization and bucketing with communication to improve overall GPU cluster utilization.

    3. Operator-level optimization: High-performance operators were developed for the hybrid attention mechanism (KDA) and loss computation. The “Chunk Loss” block-wise computation method is particularly notable, as it is an important strategy for reducing peak memory in large-model training. In the 400-step test, this operator was enabled to validate its numerical stability.

    5. Conclusion and Outlook

    This adaptation validation of a 2.8-trillion-parameter multimodal model on a homegrown compute stack demonstrates a solid step forward on the path toward autonomous and controllable compute. Through refined work on FSDP2 data parallelism, expert-parallel communication scheduling, and high-performance operators, it validates the engineering capability of the heterogeneous compute platform under complex AI workloads.

    Although the current test only used a trimmed configuration to validate pipeline correctness and has not yet entered full-scale trillion-parameter pretraining, the distributed parallel framework and underlying operator library optimization experience have good extensibility. For AI infrastructure developers, this is both a positive signal of a maturing homegrown compute ecosystem and a reusable technical blueprint for building larger and more efficient multimodal training clusters in the future. As the compute library is further improved and application frameworks are more deeply adapted, the ability of the homegrown software and hardware ecosystem to support ultra-large foundation model training will be worth watching.