从TeleChat到Xing4:基于国产芯片与框架推进前沿智能体模型的发展
TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks
AI总结:
该研究提出基于Ascend的Xing4系列大语言模型,结合TeleChat系列改进架构与训练基础设施,通过MindSpore HyperParallel等技术实现2850亿参数模型预训练,引入TeleGym平台优化后训练,为国产芯片上的智能体模型发展奠定基础。
摘要:
我们提出了Xing4系列大语言模型,该模型通过在Ascend(昇腾)上对模型架构和训练基础设施的协同改进,扩展了TeleChat系列。本报告介绍了该系列背后的设计原则和系统工程,涵盖架构选择、大规模预训练以及推理和智能体后训练。我们研究了稀疏激活、注意力设计、模型深度与宽度以及推测解码如何在模型容量与计算、内存访问和执行开销之间取得平衡。我们的预训练基础设施基于MindSpore HyperParallel构建,结合了拓扑感知混合分片、高效分布式优化器执行,以及长序列工作负载和激活内存的协同管理。CPU亲和性和核心隔离进一步减少了主机调度干扰。这些机制共同支持在8192张Ascend 910C卡上预训练一个2850亿参数的模型,为架构和系统研究提供了具体场景。对于后训练,我们引入了TeleGym,一个统一的智能体执行平台,将执行、评估和轨迹构建与策略优化相连接。离散异步执行、有界过采样和部分回滚适应了异构任务持续时间,同时在策略更新期间保持轨迹连续性。这些进展共同为Xing4在不同模型规模以及日益严苛的推理和智能体工作负载方面的持续发展建立了面向Ascend的训练基础。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。