Open-Source Heterogeneous Ecosystem Achieves Day-0 MoE Deployment Across Multiple AI Chips
An open-source heterogeneous computing ecosystem has completed Day-0 adaptation and inference deployment for a 284B-parameter Mixture-of-Experts model, with only 13B parameters activated, across more than eight mainstream AI chips. This article examines the model’s three core architectural innovations, its “specialize first, unify later” post-training approach, and the engineering techniques used to address compiler compatibility, low-precision computation, MoE communication, and million-token context management across diverse hardware platforms.
As large language models move toward trillion-parameter scales, the Mixture-of-Experts (MoE) architecture has become a widely adopted approach for balancing computational cost and model capability through sparse activation. Recently, an open-source heterogeneous computing ecosystem announced the completion of Day-0 adaptation and inference deployment for an efficient MoE model across more than eight mainstream AI chips. The model contains 284 billion total parameters, while activating only 13 billion parameters for each input.
This milestone helps break the barriers created by single-vendor computing ecosystems and provides a valuable engineering reference for deploying MoE models at scale across diverse hardware environments.
1. Three Core Technical Breakthroughs in the MoE Architecture
The adapted MoE model introduces several innovations at the algorithmic level, improving long-context processing, deep-network training, and optimization convergence. Its main technical breakthroughs include the following.
1. Hybrid Attention: Improving Long-Context Efficiency
When supporting contexts of up to one million tokens, the memory consumption and computational complexity of conventional attention increase quadratically. The model addresses this challenge with a hybrid attention mechanism that combines Compressed Sparse Attention (CSA) and Highly Compressed Attention (HCA).
CSA uses sparse sampling to preserve important global information, while HCA further reduces KV-cache memory pressure through highly compressed representations. Working together, the two mechanisms significantly improve training and inference efficiency for long contexts without sacrificing core semantic information.
2. Manifold-Constrained Hyper-Connections: Stabilizing Cross-Layer Signal Propagation
As Transformer networks become deeper, issues such as vanishing gradients and signal attenuation become increasingly difficult to manage. The model introduces manifold-constrained hyper-connections, which impose geometric constraints on cross-layer signal paths within a manifold space.
This mechanism helps preserve the integrity and stability of information transfer. It also improves feature representation in deep networks and supports more stable training at very large parameter scales.
3. Muon Optimizer: Accelerating Convergence and Improving Training Stability
Training models with hundreds of billions or even trillions of parameters often involves convergence bottlenecks and loss oscillation. To address these issues, the model uses the Muon optimizer.
Muon improves the momentum update process and the approximation of second-order matrices. As a result, it accelerates convergence while reducing gradient noise during the later stages of training. Combined with more than 32 trillion training tokens, the optimizer contributes to a substantial improvement in the model’s base capabilities.
2. Post-Training: Specialize First, Then Unify
Pretraining provides a broad knowledge foundation, while post-training largely determines a model’s ability to follow instructions and perform logical reasoning in real-world applications. Instead of using a conventional linear workflow, the model adopts a two-stage post-training approach.
Stage One: Developing Independent Domain Experts
The first stage uses supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) to develop specialized capabilities independently across different domains, including code generation, mathematical reasoning, and natural-language understanding.
This decoupled training process reduces interference between objectives and allows each expert capability to mature independently.
Stage Two: Integrating Capabilities Through Online Policy Distillation
After the domain-specific experts have developed their capabilities, online policy distillation is used to integrate these capabilities into a single model.
This approach preserves the depth of the specialized experts while giving the base model stronger general-purpose capabilities and broader generalization. Under specific reasoning-enhancement settings, such as Max mode, allocating a larger thinking budget allows the model’s reasoning performance to approach that of considerably larger flagship models.
The model remains somewhat behind larger models in pure knowledge coverage and the most complex Agent workflows because of its smaller parameter scale. However, it offers a strong balance between capability and cost across many practical scenarios.
3. Engineering Challenges and Practices for Day-0 Support Across Heterogeneous Chips
Deploying an MoE model with tens of billions of activated parameters on more than eight AI chips with different architectures is a highly complex systems-engineering task. The open-source heterogeneous ecosystem addressed several key challenges.
1. Operator Differences and Graph-Compiler Optimization
AI chips from different vendors can vary substantially in their instruction sets, memory hierarchies, and operator-library support. To address these differences, the adaptation team built a unified intermediate representation (IR) layer that decouples the model’s high-level computation graph from the underlying hardware.
Graph compilation is then used to automatically perform operator fusion, memory reuse, and instruction reordering. The compiler generates optimized machine code for each target chip.
2. Alignment and Support for Low-Precision Formats such as FP8
Some chips use low-precision formats such as FP8 to maximize inference throughput. However, FP8 implementations can differ in rounding modes and overflow-handling strategies across hardware platforms.
The adaptation process introduced a general high-precision, quantization-aware simulation layer to ensure strict numerical alignment during precision conversion. This helps prevent hallucinations or capability degradation caused by numerical precision loss.
3. Optimizing Communication Bottlenecks in MoE Routing
The core of an MoE architecture is its expert-routing mechanism, which can generate frequent cross-node All-to-All communication. In heterogeneous clusters, interconnect bandwidth can vary significantly across systems, including PCIe-based connections and proprietary high-speed interconnects.
The engineering team adopted topology-aware communication optimization. Experts with high communication requirements are placed on the same node whenever possible, while streaming data transfer through high-speed network interfaces is used to reduce the latency introduced by MoE routing.
4. Pooled Memory Management for Ultra-Long Contexts
Supporting a one-million-token context places stringent demands on the inference engine’s memory-management system. The adaptation process introduced the industry-standard PagedAttention mechanism, which divides the KV cache into fixed-size memory pages and allocates them on demand.
Combined with hardware-level memory pooling, this approach reduces memory fragmentation and improves the stability of inference over extremely long inputs.
4. Conclusion and Industry Outlook
The completion of Day-0 adaptation for an MoE model across multiple AI chips demonstrates that AI hardware and software ecosystems are moving toward a more open and decoupled architecture.
For enterprise users, support for diverse computing platforms reduces dependence on a single hardware provider. Organizations can select and schedule computing resources more flexibly according to workload requirements and cost considerations.
When building heterogeneous computing infrastructure, enterprises can develop their own scheduling systems on top of open-source heterogeneous computing ecosystems. They can also choose standardized general-purpose model platforms, such as Baidu AI Cloud’s Qianfan, which abstract differences between underlying hardware. These platforms typically provide computing-resource scheduling and heterogeneous-resource management capabilities that help enterprises connect to a range of domestic and general-purpose AI chips.
As migration and adaptation efforts continue for larger flagship models, including models at the 1.6-trillion-parameter scale, the computing foundation for the AI industry is likely to become more diverse and resilient. Open-source development and vendor-neutral hardware adaptation can further support the next stage of growth for the artificial general intelligence ecosystem.
