TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks

AK's Picks LLM PTSAD MoE Agent Other Agents AI Systems and Hardware ZeRO DPS
我们推出了“星河4号”(Xing 4)系列大语言模型,该系列在昇腾(Ascend)硬件平台上,通过模型架构与训练基础设施的协同演进,延续并拓展了TeleChat技术谱系。本报告系统阐述了该系列模型的设计理念与系统工程实践,涵盖架构选型、大规模预训练,以及推理与智能体能力的后训练等关键环节。我们深入研究了稀疏激活、注意力机制设计、模型深度与宽度、推测解码(speculative decoding)等技术如何在模型容量、计算开销、内存访问带宽及执行时延之间取得平衡。我们的预训练基础设施基于MindSpore HyperParallel框架构建,融合了拓扑感知的混合张量切分(topology-aware hybrid sharding)、高效的分布式优化器执行、以及对长序列任务负载与激活内存的协同管理;同时,通过CPU亲和性绑定与核心隔离策略,进一步降低了主机调度带来的干扰。上述各项机制协同作用,成功支撑了在8192张昇腾910C加速卡上完成参数量达2850亿的超大规模模型预训练,为模型架构与系统级技术的实证研究提供了坚实可靠的实验平台。在后训练阶段,我们提出了TeleGym——一个统一的智能体执行平台,将执行过程、效果评估与轨迹构建紧密耦合至策略优化闭环之中;其采用解耦式异步执行、有界过采样(bounded oversampling)与部分展开(partial rollout)等机制,在适配任务执行时长高度异构性的同时,确保策略迭代过程中轨迹的连续性与一致性。综上所述,这些技术进步共同构建起一套面向昇腾生态的、可扩展的模型训练基础体系,为“星河4号”在不同规模层级上的持续演进,以及在日益复杂的推理与智能体任务场景中的深入应用,奠定了坚实基础。
We present Xing 4, a series of large language models that extends the TeleChat lineage through coordinated advances in model architecture and training infrastructure on Ascend. This report describes the design principles and systems engineering behind the series, spanning architecture selection, large-scale pretraining, and reasoning and agentic post-training. We study how sparse activation, attention design, model depth and width, and speculative decoding balance model capacity with computation, memory access, and execution overhead. Our pretraining infrastructure builds on MindSpore HyperParallel, combining topology-aware hybrid sharding, efficient distributed optimizer execution, and coordinated management of long-sequence workloads and activation memory. CPU affinity and core isolation further reduce host scheduling interference. Together, these mechanisms support the pretraining of a 285B-parameter model on 8,192 Ascend 910C cards, providing a concrete setting for the architectural and systems studies. For post-training, we introduce TeleGym, a unified agent execution platform that connects execution, evaluation, and trajectory construction to policy optimization. Disaggregated asynchronous execution, bounded oversampling, and partial rollout accommodate heterogeneous task durations while preserving trajectory continuity across policy updates. Together, these advances establish an Ascend-oriented training foundation for the continued development of Xing 4 across model scales and increasingly demanding reasoning and agent workloads.
许愿