Beyond Compute Limits: FP8 Training, MoE Architecture, and Cloud Deployment for Open-Source Foundation Models

    This article explains the technical innovations behind a new open-source foundation model and its reasoning model. It covers native FP8 low-precision training, a fine-grained Mixture-of-Experts (MoE) design with shared experts, and the reported training cost by stage. It also outlines how enterprises can deploy MoE models on Baidu AI Cloud, with attention to compute scheduling, storage and networking, and inference engine optimization.

    1. Core Innovation One: A Native FP8 Low-Precision Training Approach

    Large model training has typically used BF16 or FP32 precision. These formats consume substantial memory bandwidth and limit the throughput of compute units. A key technical highlight of this open-source model is its native FP8 (8-bit floating point) low-precision training framework.

    Compared with BF16, FP8 halves memory usage and communication bandwidth requirements. On hardware that supports FP8 tensor cores, it can also deliver several-fold computational speedups. However, FP8 has a narrower dynamic range, so applying it directly to large model training can cause gradient vanishing or overflow. To address this, the model uses a fine-grained quantization strategy that applies block-wise scaling to weights, activations, and gradients. By adjusting scaling factors dynamically online, the model makes much fuller use of hardware compute capacity without losing accuracy. This approach addresses a core barrier of low-precision training, which is maintaining model convergence, and it is a key foundation for lowering overall training cost.

    2. Core Innovation Two: An Efficient Evolution of the Mixture-of-Experts Architecture

    Another notable innovation reduces compute through a deep redesign of the MoE architecture. Traditional MoE models typically split parameters into a few coarse-grained experts, which can lead to uneven load and routing collapse. This model uses a fine-grained expert partitioning strategy. It splits a large feed-forward network (FFN) layer into many small expert networks.

    During inference, the routing network activates only a small subset of these experts for each token. This sparse activation allows the model to have a total parameter count in the tens to hundreds of billions, while the compute cost of a single inference pass is comparable to that of a much smaller dense model. The model also introduces a shared expert mechanism dedicated to general feature extraction. This reduces knowledge redundancy among the routed experts. The design raises effective compute density to a new level without sacrificing generalization ability.

    3. Full-Pipeline Training Optimization for Maximum Compute Efficiency

    Beyond architecture and precision, the model also pushes engineering optimization across the entire training pipeline. Based on the technical report published with the open-source model, the full training run consumed about 2.788 million GPU hours. Assuming a rental price of $2 per GPU hour for mainstream high-performance compute cards, the estimated total cost is about $5.576 million. By comparison, training other dense models of similar size in the industry often requires tens of millions of GPU hours. The training process has three highly optimized stages:

    1. Pretraining (about 2.664 million GPU hours): This stage accounts for most of the compute. It uses high-quality data cleaning and a multi-stage curriculum learning strategy. The model first builds general language ability, then gradually increases the share of code and math data. This improves performance on programming and logical reasoning tasks.
    2. Context extension (about 119,000 GPU hours): To support long-text input, the model extends its context window to 128K in this stage. An optimized attention mechanism variant, the auxiliary-loss-free attention mechanism, helps the model complete long-context alignment in a very short time.
    3. Post-training and alignment (about 5,000 GPU hours): With very little compute, the model completes value alignment and instruction tuning by combining distillation and reinforcement learning. This makes its interactions better match human expectations.

    This level of compute efficiency gives developers with limited resources a reason to be optimistic. It also prompts the industry to reassess the value of algorithm optimization.

    4. Enterprise Deployment Practices for Large Models in the Cloud

    Once an efficient open-source model like this is released, the main challenge for enterprises shifts from “how to train” to “how to deploy and fine-tune at low cost and high efficiency.” For companies without in-house compute scheduling capabilities, a mature cloud platform is often the best path.

    When deploying this type of new-generation MoE model in the cloud, enterprises should focus on three technical practices.

    First, flexible scheduling of heterogeneous compute resources. MoE models have high memory footprints but sparse computation during inference. On cloud platforms such as Baidu AI Cloud, enterprises can use a container service such as CCE together with elastic bare-metal servers. This setup schedules GPU resources dynamically based on the API request rate (QPS). When concurrency is low, multi-instance GPU sharing can reduce costs. During traffic peaks, cloud-native Horizontal Pod Autoscaler (HPA) capabilities can quickly launch additional inference nodes.

    Second, high-performance storage and communication networks. Deploying a model with hundreds of billions of parameters makes weight loading speed a direct factor in first-token latency. Baidu AI Cloud’s Object Storage (BOS) combined with the Parallel File System (PFS) can provide throughput of up to hundreds of GB/s, which significantly shortens model startup time. The All-to-All communication bottleneck in MoE architectures is another concern. Cloud VPC networks support RDMA, which can deliver microsecond-level latency and keep data exchange between experts efficient.

    Third, inference engine optimization. Open-source weights often need high-performance inference frameworks such as vLLM or TensorRT-LLM to reach their best performance. On cloud AI development platforms, developers can use preconfigured optimized images. Techniques such as PagedAttention and continuous batching can increase inference throughput several-fold without adding hardware cost.

    Conclusion

    The success of this new-generation open-source foundation model marks a shift in LLM development. The field is moving from brute-force compute stacking to an approach where algorithms and engineering carry equal weight. The model not only breaks down compute barriers but also lowers the threshold for access to top-tier AI capabilities. For enterprises and developers, following these architectural innovations and deploying quickly on mature cloud infrastructure such as Baidu AI Cloud is a core strategy for building competitive advantage in the next wave of AI applications. Technology that is broadly accessible tends to produce a wider range of applications, and efficient, low-cost model deployment is the bridge to that future.