Trillion-Parameter LLM Training on Domestic Compute: Technical Points and Verification Checklist
This article examines a secondary technical description of a trillion-parameter MoE model trained on domestic AI accelerators, covering the MoE activation ratio, 1M-token context, dynamic sparse attention, KV cache claims, and domestic-compute requirements. It highlights that the disclosed figures are not yet verified and provides a practical checklist for source verification, benchmarking, cost estimation, migration, and evaluation before using the claims for decisions.
A Note on the Limits of the Source Material
The source is a secondary technical description, not the original whitepaper. The parameter scale, context length, attention compute, cache occupancy ratios, and other figures in the material have not been checked one by one against an original whitepaper, paper, or public test report. Wherever these figures are cited below, they are marked as “according to the material.” Before citing them, readers should first find the original whitepaper and confirm the issuing organization, publication date, test conditions, and comparison baseline.
Five Things to Verify Before Citing
- Source: The whitepaper name, issuing organization, publication date, and version number.
- Comparison baseline: What exactly does “previous-generation solution” refer to—which model or implementation?
- Test conditions: Sequence length, model scale, hardware model, batch size, and concurrency.
- Measurement methodology: Is the comparison based on theoretical FLOPs or actual wall-clock time? Are memory figures peak or average values?
- Reproducibility: Are evaluation scripts, datasets, or model weights publicly available?
Only when all five items are settled are the numbers suitable as a basis for decisions. If any item is missing, the conclusion should be treated as a hypothesis to be verified.
MoE’s “Large Total Parameters, Small Activation” Design
According to the material, the flagship version has about 1.6 trillion total parameters, with about 49 billion parameters activated per token—an activation ratio of about 3% (49 divided by 1,600 is approximately 3.1%). The implication of this design is that the model’s knowledge capacity comes from a large number of expert networks, while the forward compute per token is close to that of a medium-sized dense model.
However, activated parameters cannot be directly equated with deployment cost, for three reasons:
- At inference time, all expert weights still need to be loaded into memory or distributed across multiple GPUs, and memory footprint is determined by total parameters.
- Router computation for selecting experts and data movement between experts both add latency and communication overhead.
- Expert load distribution differs greatly between small and large batches, so actual throughput may deviate from theoretical values.
Therefore, when evaluating cost, assess the memory pressure from total parameters, the compute from activated parameters, and the actual communication overhead together.
How Long Is 1M Tokens?
The material states that 1M tokens is roughly 750,000 Chinese characters. This conversion is only a rough estimate. Token count depends on the tokenizer and the language of the text, and the same Chinese passage may differ significantly under different tokenizers. Conversion ratios also differ for code, tables, and mixed English-Chinese text. Therefore, use the actual count from the target model’s own tokenizer rather than applying a fixed ratio.
The usability of a long window also needs separate verification. A model supporting a 1M-token context does not mean its understanding and retrieval quality at 1M length is the same as for short text. A common practice is to test retrieval accuracy at multiple lengths—for example, 32K, 128K, 512K, and 1M—and plot the accuracy curve as length changes.
Dynamic Sparse Attention: Principles and Boundaries
Basic Idea
Standard full attention compute grows quadratically with sequence length, so compute pressure rises rapidly as sequences lengthen. Sparse attention first uses a lightweight scorer to estimate the relevance of each historical token, keeps only the highest-scoring subset (top-k), and then performs full attention computation on that subset.
The material states that attention compute is about 27% of the previous-generation solution, but it does not explain the definition of the previous-generation solution, the sequence length, or the test conditions. Until this information is verified, the number should be understood as a relative value under specific conditions.
Limitations of the Illustrative Code
The illustrative code referenced in the material only expresses three steps: scoring, selection, and computation. Readers should note the following:
- Top-k selection is non-differentiable. Taking the indices of maximum values is a discrete operation, and gradients cannot pass directly through it. How the selector learns during training is therefore key to the implementation. Common approaches include using an auxiliary loss to make the scorer approximate the full-attention distribution, using a straight-through estimator to approximate gradients, or adopting differentiable soft selection. The specific method should follow the original paper.
- Load and memory-access efficiency. Irregular index reads reduce GPU kernel utilization, and actual speedup depends on block-level sparse structure and custom kernels.
- Long-range dependencies. If the scorer cannot see the importance of a distant token, top-k will discard it. The problem of a fixed sliding window still exists in dynamic selection, though it may be mitigated to some degree. Tasks such as multi-hop retrieval and cross-segment references are needed to test this.
- The code is incomplete. The illustrative code ignores multi-head attention, causal masking, batching, and real KV cache layout, and cannot be used directly in production.
Sparse Attention and KV Cache
The material states that KV cache occupancy drops to about 10%, but this has no necessary connection to sparse attention. KV cache size can be roughly estimated as:
2 × layers × KV heads × head dimension × sequence length × bytes per element × batch size
Sparse attention reduces the compute per step, but the cache still needs to store the keys and values for each historical token unless the method also includes compression, quantization, eviction, or cross-head sharing. Therefore, when reading a cache reduction ratio, ask which mechanism it comes from and compare it with a baseline under equal conditions.
Training Entirely on Domestic Compute: What Needs Disclosure
The material states that the model runs entirely on domestic accelerators from training to inference. If this description is accurate, it indicates that domestic accelerators are already usable in ultra-large-scale training. Whether they achieve efficiency comparable to mainstream platforms, however, requires more data.
Training a 1.6-trillion-parameter model typically requires thousands of accelerators working together for weeks to months, and depends on the following capabilities:
- Combination strategies for data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism;
- High-speed interconnect bandwidth and topology design;
- Checkpoint resume, fault detection, and automatic recovery;
- Coverage and maturity of frameworks and low-level operator libraries.
When evaluating, ask for the following information: chip model and driver version, cluster size, interconnect bandwidth, training duration, number of failures and restarts, model FLOPs utilization (MFU) or throughput, and training framework and version. If an item is not disclosed, record it as “not disclosed”; do not replace evidence with qualitative terms such as “milestone.”
Selection and Deployment Checklist
Document processing pipeline
- Measure the proportion of requests that can be placed directly into context and the proportion that must be retrieved, and record them separately.
- Compare the accuracy and cost of “long-context direct input” versus “retrieval plus short context.”
Long-context acceptance
- Within the target length range, measure retrieval accuracy, question-answering accuracy, and time to first token.
- Teams should set their own business thresholds; a single needle-in-a-haystack score is not enough to support a launch decision.
Cost estimation
- Calculate unit request cost based on prefill time, decode time, and memory usage per request.
- Do not estimate cost using activated parameters alone.
Migration to domestic compute
- List the framework versions, operators, and communication libraries used, and check item by item whether usable implementations exist.
- Use the same benchmark suite to compare throughput, tail latency, and fault recovery time.
Evaluation data
- Build an evaluation set from real business data, covering multiple positions in long text, including the beginning, middle, and end.
FAQ
Which scenarios are suitable for dynamic sparse attention?
It is suitable for scenarios with very long inputs where task-relevant information is concentrated in a few segments, such as long-document question answering and symbol retrieval in a codebase. For tasks that require global statistics or detailed comparison at every position—such as some long-document summarization and full-text consistency checks—sparse selection may miss key information. Final judgment should be based on measured results.
What should be considered when migrating to domestic compute?
Focus on framework compatibility, operator coverage, multi-accelerator communication efficiency, fault recovery mechanisms, driver and firmware versions, the operations toolchain, and the team’s technical readiness. Before migration, complete end-to-end validation on small-scale tasks.
Can long context replace RAG?
It cannot completely replace RAG. Longer input increases prefill latency and cost. The model’s utilization of different positions in a long input may also be uneven. In addition, data updates, access control, and provenance still require a retrieval layer. A common approach combines both: first use retrieval to narrow the scope, then read the material as a whole within a longer window.
Conclusion
The material’s two directional judgments are reasonable to some extent: long-context inference cost is likely to decline, and domestic accelerators can handle large-scale training. However, the specific values in the material—including 27%, 10%, 3%, and 750,000 Chinese characters—need support from the original whitepaper or independent tests. Until verifiable data is available, treat these conclusions as hypotheses to be verified, and complete testing with your own business data before making decisions.
