Architectural Evolution of Large-Scale Model Training and Domestic AI Compute Practices

    This article examines the engineering constraints behind trillion-parameter model training, covering release pacing and gradual rollout, three core architectural choices (sparse activation, prefill/decode disaggregation, and token data budgets), a reusable method for estimating GPU counts from token budgets, and key considerations for adapting workloads to domestic AI accelerators. It also offers practical recommendations for building model abstraction layers, tiered routing, caching, evaluation, and cost observability.

    1. Introduction: The Engineering Constraints Behind Parameter Growth

    Over the past two years, the focus of large model competition has shifted from “how large the parameter count is” to “how much effective intelligence density per token can be achieved under a given compute and energy budget.” A common evolution path has emerged: one generation of a model uses a moderate parameter count to achieve low latency and high throughput for high-frequency interaction scenarios; the next update pushes the parameter count up by an order of magnitude to target complex reasoning, long-chain tool calls, and high-quality code generation. The “release a lightweight version first, then preview a larger version” cadence described in the source material is a typical example of this path.

    It is important to emphasize that parameter count alone does not equal capability. What truly determines training feasibility is the combined effect of three constraints: memory capacity and bandwidth, cluster interconnect topology, and the sufficiency of data (token) supply. This article takes a neutral perspective and discusses the general engineering issues of ultra-large-scale models (in the trillion-parameter range) in terms of architecture, compute, and domestic chip adaptation.

    2. Release Cadence and Gradual Rollout: Turning Uncertainty into a Controllable Variable

    Large-scale models are rarely made available all at once; more commonly, access is rolled out gradually by account and in batches. The reason is engineering necessity rather than marketing:

    • Capacity protection: When a new model enables higher reasoning intensity by default, the compute per request rises significantly, and opening it to everyone at once can easily exhaust cluster headroom.
    • Quality regression: The gradual rollout period is used to collect long-tail bad cases, especially for tool calls, structured output, and long-context scenarios.
    • Cost control: Higher reasoning intensity means more thinking tokens, so unit request cost needs to be calibrated under limited traffic first.

    For users, a practical recommendation is: do not interpret “not yet visible in the model list” as unavailable; instead, design a switchable model routing layer so that no business code changes are needed as rollout expands. An example:

    1. # Model routing: configuration-driven gradual rollout to avoid hardcoding on the business side
    2. MODEL_ROUTING = {
    3. "chat_default": {"model": "chat-lite", "reasoning_effort": "medium"},
    4. "chat_deep": {"model": "chat-pro", "reasoning_effort": "high"},
    5. }
    6. def route(task_type: str, tenant_id: str, rollout_ratio: float = 0.1):
    7. cfg = MODEL_ROUTING[task_type]
    8. # Consistent hashing keeps the same tenant stable, making issue reproduction easier
    9. in_gray = (hash(tenant_id) % 100) < int(rollout_ratio * 100)
    10. return cfg if (in_gray or task_type != "chat_deep") else MODEL_ROUTING["chat_default"]

    Reasoning effort tiers (low/medium/high) should be treated as first-class configuration items: high tiers are suitable for math, complex code, and multi-hop reasoning; medium and low tiers are suitable for tasks such as summarization, classification, and extraction, and can significantly reduce latency and cost.

    3. Architecture: Three Main Lines Determine Whether Training Is Feasible

    Several directions mentioned in the source material can be summarized into three general main lines in the industry.

    3.1 Sparse Activation and Asymmetric Structure

    If a trillion parameters were all densely activated, the compute per token would be unacceptable. The mainstream approach decouples total parameters from “parameters actually activated per token”: total parameters carry knowledge capacity, while activated parameters determine the cost of a single forward pass. So-called “asymmetric activation” typically manifests in engineering as inconsistent activation ratios across layers/experts—shallower layers and task routing layers maintain higher activation to ensure stable representations, while deeper layers are sparser to improve throughput. The cost is increased load-balancing difficulty, requiring tuning of routing loss and capacity factor.

    3.2 Prefill and Decode Disaggregation

    This is the most important deployment-level optimization for long-context serving today. The two phases have completely different computational characteristics:

    Phase Computational characteristic Bottleneck Optimization goal
    Prefill Large matrix multiplications, high parallelism Compute-bound Reduce time to first token
    Decode Token-by-token autoregression, memory-intensive Memory bandwidth (memory-bound) Improve throughput, reduce per-token cost

    The benefit of disaggregation is that each can be selected and provisioned separately: the prefill pool pursues high compute density, the decode pool pursues high bandwidth and large memory capacity, and the two are connected through KV Cache migration and reuse. Combined with context compression and memory augmentation (compressing long history into retrievable external memory snippets), the effective context can be extended without significantly increasing activated parameters.

    3.3 Training Data Budget: Tokens Are the Hardest Constraint

    An often underestimated fact is that as model size grows, the tokens required for training grow superlinearly. The industry rule of thumb is roughly “tens of trillions of tokens of high-quality corpus per 1 trillion parameters.” This means data cleaning, deduplication, mixing ratios, and curriculum-style scheduling are no less important than compute procurement. In practice, it is recommended to:

    • Build a data-mix dashboard and dynamically adjust sampling weights by domain (code/math/multilingual/long-form);
    • Use curriculum learning, short context first and long context later, to avoid wasting compute on long sequences early on;
    • Keep a high-quality validation set to prevent diminishing returns caused by “sufficient compute but exhausted data.”

    4. Compute Estimation: Working Backward from the Token Budget to GPU Count

    The estimate given in the material is that training a model of this scale requires about 50–60 trillion tokens; by compute estimate, high-end accelerator cards require about 30,000 units (H100/H200 class), 15,000 units (new-generation high-compute cards), 60,000 units (a domestic training card), and 30,000 units (new-generation domestic accelerators). Here, specific model names are not repeated; instead, a reusable estimation method is provided:

    1. Total training compute demand (FLOPs) ≈ 6 × parameter count × token count
    2. Effective compute per card = peak compute × MFU (typically 0.35~0.5)
    3. Required card count ≈ total training compute demand / (effective compute per card × training days × 86400)

    Taking 6×2e12×5.5e13 ≈ 6.6e26 FLOPs as an example, if effective compute per card is taken as half of peak and the training period is 90 days, the order of magnitude falls in the tens of thousands of cards, consistent with the estimate in the material. There are three key conclusions:

    1. MFU is a hidden variable: Interconnect topology, parallelism strategy (tensor/pipeline/sequence/expert parallelism), and fault recovery mechanisms directly determine actual utilization;
    2. Card count is strongly correlated with card type: High-compute cards require fewer units, but supply and ecosystem maturity are practical constraints;
    3. Stability takes priority over peak: In 10,000-card-scale tasks, a single crash without checkpointing can lose hours of compute; fault-tolerant training and fast rescheduling are essential capabilities.

    5. Domestic Compute Adaptation: The Critical Path of Hardware-Software Co-Design

    The direction of new-generation models is deeply tied to domestic AI chips, and the essential reason is that ultra-large-scale training has shifted from a “single-card performance race” to a “system-level engineering race.” Domestic accelerators are usually divided into training and inference product lines, and split prefill and decode into different optimization goals, which naturally aligns with the architectural main lines described above. When implementing, it is recommended to focus on:

    • Operator and compiler stack coverage: Whether custom operators such as sparse expert routing, variable-length attention, and KV Cache paging have high-performance implementations;
    • Communication libraries and topology awareness: All-to-All communication introduced by expert parallelism is the main bottleneck and requires topology-aware scheduling;
    • Precision and numerical stability: Low-precision training requires loss scaling and overflow detection;
    • Observability: Integrate logging services, monitoring alerts, and tracing into the training pipeline to automatically locate slow nodes.

    In the cloud, the common practice is to use a container platform to host elastic training clusters, object storage for corpus and checkpoints, and message queues to decouple data preprocessing from the main training flow, with monitoring and alerting thresholds set for MFU, failure rate, and queue latency. Baidu AI Cloud provides the same general-purpose capability categories in such scenarios, which can be combined as needed.

    6. Practical Recommendations for Users

    1. Build a model abstraction layer: Uniformly encapsulate model names, reasoning effort, timeout and retry policies, so switching during gradual rollout requires zero changes.
    2. Tiered routing for cost reduction: Route 80% of simple requests to low-intensity configurations, and escalate only complex requests to high-intensity reasoning.
    3. Caching and batching: Reuse prefix caching for high-frequency repeated prefixes; merge offline tasks into batches to improve throughput.
    4. Evaluation first: Build an internal evaluation set covering math, code, long-form text, and tool calls, and make decisions during gradual rollout based on data rather than intuition.
    5. Cost observability: Track token consumption by tenant and task type, and set budget alerts.

    7. Conclusion

    From the release cadence of “lightweight version first, flagship version in gradual rollout,” to architectural choices such as sparse activation, prefill/decode disaggregation, and context compression with memory augmentation, to compute planning that works backward from the token budget, and to hardware-software co-design for domestic chip adaptation, the essence of ultra-large-scale model competition is a competition of systems engineering capability. For developers and enterprises, the truly reusable asset is not a specific model version, but a switchable routing layer, a quantifiable evaluation system, and an observable cost structure—these three determine whether you can obtain benefits at controllable cost the moment each new generation of models arrives.