TeleChat 到星4:在国产芯片与框架上推进前沿智能体模型

·

研究论文 · 2026/11/18

本文介绍了星火4(Xing 4)系列大语言模型,该系列在昇腾芯片上通过模型架构与训练基础设施的协同优化扩展了TeleChat模型谱系。报告涵盖架构选择、大规模预训练以及推理与智能体后训练的设计原则和系统工程。研究探讨了稀疏激活、注意力设计、模型深度与宽度以及推测解码如何平衡模型容量与计算、内存访问和执行开销。预训练基础设施基于MindSpore HyperParallel,结合拓扑感知混合分片、高效分布式优化器执行以及长序列工作负载与激活内存的协调管理,并通过CPU亲和性与核心隔离减少主机调度干扰,从而在8192张昇腾910C卡上支持2850亿参数模型的预训练。后训练方面,提出了TeleGym统一智能体执行平台,将执行、评估和轨迹构建与策略优化连接,采用分离式异步执行、有界过采样和部分推演来适应异构任务时长并保持轨迹连续性。这些进展为星火4在模型规模和推理与智能体工作负载上的持续发展奠定了面向昇腾的训练基础。

本文展示了在国产昇腾芯片和MindSpore框架上训练前沿大模型及智能体系统的完整技术路径,对关注国产AI基础设施、大规模预训练和智能体后训练的研究者与工程师具有重要参考价值。

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.

阅读原文

参与讨论