The Rise of Domestic AI Compute: How Chip-Model Co-Design Reshapes Training

    This article examines how the center of gravity in domestic AI compute is shifting from inference adaptation to native pre-training. It defines chip-model co-design across three layers—operators, communication, and compilation/scheduling—and lays out a four-stage evolution framework with concrete criteria for each stage, from inference adaptation to fine-tuning, pre-training validation, and native pre-training. It then reviews three key technologies: fine-grained expert parallelism validated on two platforms, supernodes and interconnect topology, and jointly built software stacks with open-source components. A practical migration checklist and a realistic view of risks round out the piece, showing developers and enterprises why long-run stability and failure recovery matter more than peak compute.

    1. Introduction: The Center of Gravity in the Compute Narrative Is Moving

    Over the past two years, most discussions of domestic AI compute have stayed at the level of “can it run inference.” As large models move from dense architectures toward sparse ones, and from single-turn question answering toward long-chain reasoning, engineering adaptation on the inference side has gradually converged into a relatively mature process. What actually determines the ceiling for domestic compute is the training side—especially whether native pre-training can be completed on domestic chips, rather than reproducing existing results by porting them over.

    “Chip-model co-design” is the core concept describing this shift: chip design and model architecture no longer evolve independently, but iterate together around each other’s constraints. From a neutral perspective, this article abstracts a technical evolution framework that runs “from inference adaptation to native pre-training,” intended as a reference for developers and enterprises during selection, migration, and tuning.

    2. Clarifying the Concept: What “Chip-Model Co-Design” Means

    Chip-model co-design is not simply “model vendors writing adaptation code for a chip.” It spans three layers:

    1. Operator-level co-design: New structures appearing in models (such as gated routing, variable-length attention, and sparse expert activation) require efficient operators or programmable primitives on the chip side.
    2. Communication-level co-design: The parallelism strategy determines the communication pattern, while the chip interconnect topology in turn constrains which parallel partitioning schemes are feasible.
    3. Compilation and scheduling co-design: The compute graph, memory hierarchy, and scheduler must be optimized together to convert theoretical compute into effective compute.

    Only when all three layers are connected end to end can we talk about “native pre-training.” Completing operator adaptation alone typically supports only inference and lightweight fine-tuning.

    3. Evolution Stages: Four Steps and Their Criteria

    Stage Typical Characteristics Criteria
    Inference adaptation Existing model weights can be served on domestic chips First-token latency and throughput meet targets; accuracy alignment error is controllable
    Fine-tuning ready Common parameter-efficient fine-tuning is supported Backward graph is complete; peak memory usage is predictable
    Pre-training validation Small-scale pre-training convergence curves align Loss curve deviation from the reference platform stays within noise range
    Native pre-training Training from scratch directly on domestic chips Thousand-card linear scaling, long stable runs, recoverable failures

    Key takeaway: the bottleneck in moving between stages is usually not peak compute, but long-run stability efficiency and failure recovery time. A single pre-training job can run for weeks, and the rollback cost caused by any single-point failure will eat up the paper advantage in compute.

    4. Key Technology 1: Dual-Platform Validation of Fine-Grained Expert Parallelism

    The core tension in sparse models is that the total parameter count is enormous, yet each sample activates only a few experts. Traditional tensor parallelism cuts experts apart as a whole, causing communication volume to inflate linearly with the degree of parallelism. The idea behind fine-grained expert parallelism is to push the partitioning granularity down to the interior of experts and the token dimension, so that communication and computation can overlap.

    Its engineering essentials include:

    • Routing balance: Load skew turns individual devices into long tails, so auxiliary losses or dynamic dropping strategies need to be introduced;
    • Communication overlap: Split all-to-all into small chunks and pipeline them with expert forward computation;
    • Precision consistency: Differences in reduction order across platforms can amplify into loss drift, so controlled experiments with fixed random seeds and reduction strategies are required.

    Illustrative pseudocode (expressing scheduling intent only, not a specific API):

    1. for chunk in split_tokens(tokens, num_chunks):
    2. route = router(chunk) # compute target experts
    3. payload = all_to_all(route, chunk) # overlap communication and computation
    4. out += expert_forward(payload) # chunked forward pass

    The value of completing the same validation on two platforms is that it demonstrates the algorithm itself does not depend on proprietary features of a particular piece of hardware. This provides a reproducible methodological foundation for domestic chips to take on native training.

    5. Key Technology 2: Supernodes and Interconnect Topology

    Single-card capability sets the floor; interconnect sets the ceiling. The value of a supernode is to place a large number of chips inside one high-bandwidth domain, making the cost of cross-card communication approach on-chip access, which makes more aggressive parallelism strategies feasible.

    Evaluating interconnect capability should focus on three metrics: intra-domain bandwidth, cross-domain hops, and tail latency of collective communication. The first two determine the theoretical ceiling, while tail latency determines actual training time. In practice, tail latency is often dominated by a few slow nodes, so supporting mechanisms for health inspection and slow-node isolation are needed.

    6. Key Technology 3: Jointly Building the Software Stack and Open-Source Components

    Moving from “adaptation” to “jointly developing the software stack” is the most substantive step in chip-model co-design. When the model side starts open-sourcing infrastructure components for domestic chips (such as communication libraries, operator templates, and parallelism strategy configurations), optimization experience turns from a one-off deliverable into an accumulating public asset.

    General capabilities enterprises can reuse include: container platforms hosting training images, object storage holding checkpoints and datasets, message queues decoupling data preprocessing, and logging services plus monitoring and alerting handling long-run observability. These are all standard industry categories and do not point to any specific product.

    7. Migration Practice: An Actionable Checklist

    1. Accuracy baseline: Align the loss curve at small scale first, then talk about scaling;
    2. Memory budget: Account separately for the four items “parameters + gradients + optimizer states + activations,” and stress-test activations in particular, since they grow quadratically with sequence length;
    3. Parallelism search: Fix data parallelism first, then search combinations of tensor/pipeline/expert parallelism;
    4. Fault-tolerance design: Shorten checkpoint intervals and keep asynchronous saving to avoid synchronous blocking of the main training flow;
    5. Observability: Collect throughput, tail latency, and failure codes in a unified way to form a regression baseline.
    1. # Illustration: pre-training self-check flow
    2. check_env # drivers, communication library, topology visibility
    3. bench_comm # collective communication bandwidth and tail latency
    4. align_loss # small-scale convergence alignment
    5. soak_test # long-run stability test, watch for slow nodes

    8. Risks and Rational Expectations

    What needs to stay clear-headed about is that landing native pre-training is a gradual process, constrained by three factors: the pace of model architecture evolution, software stack maturity, and long-run operations capability. A reasonable way to judge is to look at reproducible public validation and long-run duration, not single-point benchmark scores. For most enterprises, the pragmatic path is to first accumulate capability on the inference and fine-tuning sides, while validating the engineering pipeline with small-scale pre-training, and to expand scale only after the software stack and operations system mature.

    9. Conclusion

    The essence of chip-model co-design is upgrading “hardware adaptation” into “co-evolution.” Only when algorithm teams and chip teams collaborate around the same parallelism strategy, the same convergence curve, and the same failure logs does the ceiling of domestic compute truly rise from the inference side to the training side. For developers, what is most worth investing in now is not waiting for some conclusion, but making the three foundational capabilities—accuracy alignment, parallelism search, and long-run operations—solid.