
大规模人工智能训练已经突破了单个数据中心的限制。谷歌表示,Gemini 是在多个地点的集群中同步训练的;微软将位于威斯康星州和佐治亚州的人工智能数据中心连接起来,并将其描述为一台分布式人工智能超级计算机;AWS 则将广泛区域的人工智能计算集群连接起来,使 Anthropic 能够构建 Claude 模型;Meta 则建设了高容量数据中心互连,以支持模型训练;而 CoreWeave 和谷歌云最近宣布通过私有互连实现跨云训练,Azure 也可能会在年内跟进。
Large-scale AI training has already escaped the confines of a single datacenter. Google said Gemini was trained synchronously across clusters in multiple locations; Microsoft has connected AI data centres in Wisconsin and Georgia into what it describes as one distributed AI supercomputer; AWS has connected AI compute clusters across wide areas to allow Anthropic to build Claude models; Meta has built high-capacity datacenter interconnects to support model training; and CoreWeave and Google Cloud recently announced cross-cloud training with a private interconnect, with Azure likely to follow later in the year.
模型训练地理分布的日益扩大,部分原因在于单个数据中心或园区集群存在局限性:随着新模型对计算能力和电力需求的不断攀升,这些设施往往不堪重负。思科估计,如今的模型训练可能需要包含数万块 GPU 的集群。Epoch AI 的研究人员指出,到 2030 年,单次最大规模的前沿模型训练可能消耗 40 亿至 160 亿瓦的电力。
This growing geographic spread of model training is partly due to the limits of single datacenters or campus clusters, which can be strained as they try to meet the compute and power demands of new models. Cisco estimates that training models today can require clusters with tens of thousands of GPUs. By 2030, the largest individual frontier training runs could draw 4-16GW of power, according to researchers at Epoch AI.
通过将计算任务进行分布,超大规模科技公司以及数据中心运营商可以在电力供应更充足、空间更充裕且规划限制更少的地区进行建设。
Distributing compute allows hyperscalers and datacenter operators to build in locations with more available power or space and fewer planning constraints.
如何训练大型语言模型(LLM)?大型语言模型的核心是一个包含数十亿个数值参数(即权重)的神经网络,这些权重在训练过程中会被不断调整。一批训练数据会传入模型,模型据此做出预测。系统随后测量误差,并计算权重的调整方式。权重更新后,整个过程便会重新开始。在现代模型这一规模下,这些工作被分布在数千块 GPU 及其他加速器上,例如 AWS Trainium 和谷歌 TPU。
How to train an LLM At the core of an LLM is a neural network with billions of numerical parameters, or weights, that are adjusted during training. A batch of training data passes through the model, which makes a prediction. The system measures the error and calculates how the weights should change. The weights are updated and the process starts again. At the scale of modern models, this work is distributed across thousands of GPUs and other accelerators, such as AWS Trainium and Google TPUs.
不同的 GPU 可以处理独立的数据批次或模型的不同部分。但它们无法完全独立运行:在多个阶段,GPU 之间必须交换结果并进行同步,才能开始下一阶段的训练。
Different GPUs can process separate batches of data or different parts of the model. But they cannot work entirely independently: at various points they must exchange results and synchronize before the next stage of training can begin.
加速器之间传输的内容通常不是用于训练模型的文字或图像,而是诸如梯度和中间结果之类的大规模数值数据阵列。成千上万的加速器可能需要几乎同时交换和整合这些数据。“如果你观察任何一次训练任务,它基本上就是计算与同步的重复过程,”思科 Silicon One 架构团队的 Ramesh Sivakolundu 解释道。“你先计算权重,然后将这些权重传递出去,以同步集群中的每一块 GPU,接着再重新开始计算。这意味着在整个训练过程中,流量会周期性地出现爆发式增长。”
What networks carry between the accelerators is generally not the text or images used to train the model, but large arrays of numerical data such as gradients and intermediate results. Thousands of accelerators may need to exchange and combine that data at roughly the same time. "If you look at any training job, it is basically a repetition of compute and synchronization," explains Ramesh Sivakolundu of Cisco's Silicon One architecture team. "You compute the weights, communicate those weights to synchronize every GPU in the cluster, and then restart the computation. That means bursty traffic happens periodically throughout the training process."
成千上万的加速器可能同时完成一个计算阶段并开始通信。这可能导致“汇聚流量”(incast)问题,即多个发送方同时向同一个目的地发送数据,导致流量到达的速度超过了下一段链路所能处理的能力。根本问题在于同步。在同步训练任务中,一组 GPU 不能简单地忽略速度较慢的一组并独立继续执行。整个网络范围内的数据交换必须完成,参与训练的 GPU 才能进入下一阶段。
Thousands of accelerators can finish a computation phase and start communicating at the same time. This can lead to "incast" problems where many senders converge on the same destination and traffic arrives faster than the next link can handle. The fundamental issue lies with synchronization. In a synchronous training job, one group of GPUs cannot simply ignore a slower group and continue independently. The network-wide exchange must complete before the participating GPUs can move on to the next stage.
因此,网络延迟实际上会转化为计算延迟。“你肯定不希望网络成为训练过程中的瓶颈,”Sivakolundu 说。“我们的目标是让 GPU 始终保持满负荷运行,避免网络给整个训练流程带来额外的延迟。”但这并不意味着每次网络拥堵或数据包丢失都会导致整个模型训练完全中断。然而,延迟或丢失的数据流可能需要重新传输,从而延长集体通信操作,并让其他加速器处于等待状态。更严重的故障甚至可能迫使训练过程返回到已保存的检查点。
A network delay therefore becomes compute delay. "You don't want the network to be the bottleneck in the training process," says Sivakolundu. "The idea is to keep the GPUs fully occupied and not have the network introduce additional latency into the overall training program." That does not mean that every instance of network congestion or packet loss brings the entire model training to a complete halt. However, a delayed or dropped flow may require retransmission, prolong a collective communication operation, and leave other accelerators waiting. More serious failures can require training to return to a saved checkpoint.
不同类型的互连:“在单个数据中心内部,你可以假设已经构建了一个完整的网络,将 GPU 机架以你规划好的带宽连接起来,”思科产品管理总监伊塔马尔·戈尔德(Itamar Gold)表示。戈尔德的观点是,在跨规模部署(scale-across)中,协调一致的 AI 工作负载可能需要穿越比单个设施内部网络更为受限的跨站点网络结构。
Different kind of interconnect "Inside a single datacenter, you can assume you have built a full network connecting the GPU racks with the bandwidth you planned for," says Itamar Gold, director of product management at Cisco. Gold’s point is that with scale-across, coordinated AI workloads may have to traverse a more constrained inter-site fabric than the network within each facility.
他解释说,发往另一设施的数据流量实际上可能会被引导通过一个更狭窄的通道。同步爆发式的数据传输可能会使这个通道变成临时的瓶颈。传统的 DCI 用于连接原本相互独立的数据中心环境,通常是为冗余性、覆盖范围和工作负载分配而构建的。其上的流量通常是复制流量或应用数据,且这些流是异步的,也就是说,一个流不必与其他流严格同步完成。
Instead, he says, traffic destined for the other facility may be funneled through what is effectively a narrower pipe. A synchronized burst can turn that pipe into a temporary choke point. Traditional DCI connects otherwise independent datacenter environments, and is typically built for redundancy, reach and workload distribution. The traffic that runs over them is often replication traffic or application data, and the flows are asynchronous, meaning one flow does not have to finish in lockstep with the others.
而在跨规模 AI 训练中,跨站点网络成为协调分布式计算的一部分,而不仅仅是数据在原本独立系统之间的传输。因此,具备足够的带宽和可预测的传输性能至关重要。从机架到区域:在单个机架内部,带宽需求可能非常高——高达 800Gbps 至 1.6Tbps——但传输距离较短。高速串行链路组合在一起,使 GPU 集群看起来像一个统一的计算单元。
In scale-across AI training, the inter-site network becomes part of a coordinated distributed computation rather than simply moving data between otherwise independent systems. It is therefore essential to have sufficient bandwidth and predictable delivery. From rack to region Within a rack, bandwidth requirements can be enormous – up to 800Gbps-1.6Tbps - but the distances are short. High-speed serial lanes combine to make a GPU cluster appear as a single compute unit.
当 AI 网络扩展到整个设施(即“横向扩展”)时,各机架仍然需要高达 1.6T 的连接。在这些数据速率下,铜缆通常仅适用于短距离连接。跨机架行和数据中心楼层的连接则采用可插拔光模块,横向扩展链路的距离可从数百米延伸至约 2 公里。“跨规模部署”将协调一致的 AI 网络扩展到多个设施,使跨站点网络的行为成为工作负载性能的一部分。具体取决于架构设计,这些链路可能覆盖城市级或区域级距离,甚至可能更远。
When the AI fabric is extended across an entire facility, “scale out”, racks will still require connections up to-1.6T. At these data rates, copper is generally confined to short reaches. Connections across rack rows and datacenter floors instead use pluggable optics, with scale-out links extending from hundreds of meters to around 2km. “Scale-across” extends a coordinated AI fabric across multiple facilities, making inter-site network behavior part of workload performance. Depending on the architecture, those links may span metro or regional distances, and potentially farther depending on the architecture.
根据思科对大型分布式人工智能部署的建模,总带宽需求可能达到传统数据中心互连(DCI)基准水平的约14倍。首先,短距离数据中心光模块并未设计用于在数百公里距离上传输400-800 Gbps的信号。对于此类距离,运营商需要使用相干光模块,通过复杂的调制技术和高性能数字信号处理,确保高速率光信号在城域和区域光纤链路中仍可正常使用,从而补偿随距离增加而加剧的物理信号损伤。
According to Cisco modelling of large distributed AI deployments, aggregate bandwidth requirements can reach roughly 14x a conventional DCI baseline. For starters, short-range datacenter optics are not designed to carry 400-800 Gbps signals over hundreds of kilometers. For these distances, operators need coherent optics that use sophisticated modulation and high-performance digital signal processing to keep high-rate optical signals usable over metro and regional fiber spans, compensating for physical impairments that become more pronounced with distance.
端口数量同样重要。思科估计,连接两个100兆瓦的人工智能站点,在跨层规模上可能需要12,000至32,000个相干光端口,而传统DCI在连接类似设施时仅需约1,000至2,000个端口。若每个端口支持400G或800G,总容量将高达数拍比特。传输如此庞大的数据量也会带来功耗和空间问题。相干可插拔模块将相干调制解调器功能直接集成到路由器或交换机的端口中,避免了单独部署独立DWDM调制解调器阵列。
The number of ports matters too. Cisco estimates that connecting two 100MW AI sites could require 12,000 to 32,000 coherent optical ports at the scale-across layer, compared with roughly 1,000 to 2,000 for conventional DCI between comparable facilities. At 400G or 800G per port, that adds up to multi-petabit aggregate capacity. Moving that much data is also a power and space problem. Coherent pluggables put the coherent transponder function directly into router or switch ports, avoiding a separate bank of standalone DWDM transponders.
思科表示,这减少了跨站点光层所需的额外机架空间、电源和冷却资源,而这一点在人工智能工厂本身已面临电力限制的情况下尤为重要。延迟问题 即使带宽充足且光模块合适,距离的增加也会带来延迟。如果网络出现拥塞,网络需要时间向发送方发出减速信号。在本地人工智能网络中,反馈可以迅速到达。然而,如果连接跨越100公里光纤,发送方在意识到问题之前,可能已经传输了更多数据。
Cisco says this reduces the additional rack space, power and cooling needed for the inter-site optical layer which is an important consideration when the AI factories themselves are already power-constrained. The latency problem Even with sufficient bandwidth and suitable optics, distance adds latency. If congestion develops, the network needs time to signal the sender to slow down. Over a local AI fabric, feedback can arrive quickly. However, if the connection is stretched across 100 km of fiber, considerably more data can be transmitted before the sender even learns that there is a problem.
思科计算得出,在一条跨越100公里的800 Gbps连接中,反馈延迟期间可能已有约100 MB的数据在传输途中。思科认为,这些更长的反馈环路凸显了具备更深层缓冲能力的网络芯片的重要性。
Cisco calculates that on an 800 Gbps connection spanning 100 km, around 100 MB of data can already be in transit during that feedback interval. Cisco argues that these longer feedback loops increase the value of networking silicon designed with substantially deeper buffering.
为数据中心内部极低延迟而设计的浅缓冲区切换架构,在拥塞反馈穿越长距离链路时,吸收流量的能力较弱。“随着距离变长,你需要更深的缓冲区,因为你在较长时间内都无法收到有关数据包传输的反馈,”Sivakolundu 表示。“如果缓冲区不够深,最终可能导致数据包被丢弃并需要重新传输,从而增加延迟。”深度缓冲区可以在流量管理和拥塞信号处理根本问题的同时,吸收临时的流量激增或中断。
The shallow-buffer switching architectures designed for very low latency inside a datacenter have less capacity to absorb traffic while congestion feedback crosses a long-distance link. "The reason you need deeper buffers as the distances get longer is that you don't get feedback about the transfer of packets for a longer period of time," says Sivakolundu. "If you don't buffer deeply enough, you can end up dropping and retransmitting packets, increasing latency." Deep buffering absorbs a temporary burst or disruption while traffic management and congestion signaling address the underlying problem.
但持续性的拥塞仍然需要更大的容量,或者改变流量的分配方式。同样的缓冲区也有助于应对超额订阅问题。如果输入到跨站点连接的总容量超过了链路本身的容量,同步发生的流量激增可能会比链路处理速度更快。缓冲区为这些超额流量提供了一个临时等待的空间,使其不会被丢弃,同时拥塞控制机制也能及时响应。
Sustained congestion still needs more capacity or a change in how traffic is distributed. The same buffer also helps with oversubscription. If the combined capacity feeding into an inter-site connection is greater than the capacity of the link itself, a synchronized burst can arrive faster than the link can drain it. Buffering gives that excess traffic somewhere to wait without getting dropped while congestion controls respond.
与将可用缓冲区按固定比例分配给每个端口不同,共享缓冲区是一个公共的数据包内存池,可以根据拥塞出现的位置进行动态分配。这使得繁忙的链路能够吸收更大的流量激增,而不会丢弃数据包。“传输距离越远,你可能就越需要更大的缓冲区,”Gold 表示。“你还需要具备灵活性,将尽可能多的缓冲区部署在需要的地方,比如某个或几个已识别出存在问题的流量流所在的端口。我们的方案是采用一个完全共享的单一缓冲区。”
Rather than dividing the available buffer into fixed amounts for each port, a shared buffer is a common pool of packet memory that can be allocated wherever congestion appears. That lets a busy link absorb a larger burst without dropping packets. "The longer you're reaching out, the more you may need to buffer," says Gold. "You also need the flexibility to put as much buffer as possible where it is needed, perhaps on one port or a few ports where you've identified a problematic flow. Our approach is a single, fully shared buffer."
AI 训练确实具备一个有用的特性:其大部分集体通信具有重复性,因此比数据中心内部通信(DCI)流量更具可预测性。思科的方法是利用主动拥塞管理,在可预测的流量激增引发问题之前引导或调度流量,同时保留深度缓冲区作为应对瞬时拥塞和链路故障等不可预测事件的安全网。
AI training does offer one useful characteristic: much of its collective communication is repetitive and therefore more predictable than DCI traffic. Cisco's approach is to use proactive congestion management to steer or schedule traffic before a predictable burst creates a problem, while retaining deep buffering as a safety net for transient congestion and unpredictable events such as a link failure.
这两种方法互为补充:一种方法试图避免队列的形成,而另一种方法则在队列出现时为网络提供流量处理的空间。思科的协同设计策略 思科的跨规模架构采用了 Silicon One P200,这是一款 51.2 Tbps 的可编程深度缓冲区路由处理器,已集成到思科 8223 和思科 N9000 平台中。这些系统可与思科的 400G 和 800G 相干可插拔光模块搭配,用于长距离链路;而像思科 Open Transport 3000 和思科 NCS 1014 这样的线路系统则可在需要时处理光传输层。
The two approaches are complementary: one tries to avoid the queue while the other gives the network somewhere to put the traffic when a queue forms. Cisco’s bet on co-design Cisco’s scale-across architecture uses the Silicon One P200, a 51.2 Tbps programmable, deep-buffer routing processor included in the Cisco 8223 and Cisco N9000 platforms. Those systems can be paired with Cisco's 400G and 800G coherent pluggable optics for the long-distance links, while open line systems such as Cisco Open Transport 3000 and Cisco NCS 1014 handle the optical transport layer where required.
相干可插拔模块直接从路由系统中生成 DWDM 波长,而线路系统则对这些波长进行放大,并通过光纤网络进行传输。对于需要多个并行光纤对的链路,思科 Open Transport 3000 采用多通道设计,将多个通道的光学组件整合到一张线路卡上。思科称,这种设计可将每个通道的功耗降低 75%,机架空间减少 80%。在需要独立传输系统的场景下,NCS 1014 可通过一张 1RU 线路卡提供 12.8 Tbps 的容量。
Coherent pluggables generate the DWDM wavelengths directly from the routing system, while the line system amplifies and carries those wavelengths across the fiber plant. For links requiring multiple parallel fiber pairs, Cisco's Open Transport 3000 uses a multi-rail design that combines the optical components for multiple rails onto one line card. Cisco claims this reduces power per rail by 75 percent and rack space by 80 percent. Where a separate transport system is required, the NCS 1014 can provide 12.8 Tbps of capacity from a 1RU line card.
P200 配备了一个可编程的“运行至完成”网络处理器和 P4 工具集,思科表示,这使得协议支持、遥测和其他数据包处理功能可以通过软件实现,而无需每次修改都依赖新一代芯片。Sivakolundu 表示:“对于仍在测试不同拓扑和流量管理方法的跨规模网络而言,这种可编程的灵活性可以让网络功能不断演进,而无需因每个新需求都更换芯片。”
The P200 has a programmable run-to-completion network processor and P4 tooling, which Cisco says allows protocol support, telemetry and other packet-processing features to be developed in software rather than making every change dependent on a new silicon generation. For scale-across, where operators are still testing different topologies and traffic-management methods, "the same programmable flexibility can let network functions evolve without every new requirement forcing a chip replacement,” says Sivakolundu.
思科还在此设计中加入了站点间流量的硬件级保护机制,其理由是加密不应成为训练网络架构的另一个处理瓶颈。协同设计是思科方案的关键部分。网络 ASIC 在成品路由器投入数据中心使用之前多年就已完成定义。
Cisco also includes hardware-based protection for inter-site traffic in that design, its argument being that encryption should not create another processing bottleneck for the training fabric. A key part of Cisco's pitch is the co-design. A networking ASIC is defined years before the finished router reaches a datacenter.
思科认为,由于其硅芯片、系统和光学团队都隶属于同一家公司,因此端口密度、缓冲、功耗、遥测和光接口等方面的需求可以直接反馈到芯片设计阶段,而不是由系统团队先拿到商用 ASIC,再围绕它进行构建。但这并不意味着“跨规模部署”已经确定采用单一的标准化架构。思科自身将问题划分为校园、城域和区域部署,而不同的运营商也在尝试各种网络与训练技术的组合方案。
Cisco argues that because its silicon, system and optics teams sit within the same company, requirements for port density, buffering, power, telemetry and the optical interfaces can feed back into the chip design rather than the system team receiving a commercial ASIC and working out what it can build around it. That does not mean scale-across has settled on a single approved architecture. Cisco itself divides the problem into campus, metro, and regional deployments, and different operators are experimenting with various combinations of networking and training techniques.
不同运营商的具体实施差异显著,包括距离、拓扑结构和 workload 设计等方面,而共同面临的挑战则是在多个站点之间保持协调一致的 AI 性能。然而,这项技术仍处于早期阶段。“我们现在已经看到一些初步部署,但这是一个渐进的过程,我认为还需要几年时间,”Gold 表示。为分布式训练设计网络虽然无法消除距离带来的延迟,但可以避免互联成为性能瓶颈。
Implementations vary significantly by operator, including distance, topology and workload design, while the common problem is maintaining coordinated AI performance across sites. The technology is still at an early stage, however. "We are seeing early deployments now, but it is a process and I think it will take a few years," says Gold. Designing a network for distributed training will not eliminate the latency of distance, but it can keep that interconnect from becoming the bottleneck.
这使得超大规模云服务商和数据中心运营商能够根据可用资源和空间灵活增加计算能力,同时仍将多个站点视为同一训练基础设施的一部分。由思科赞助
That gives hyperscalers and datacenter operators the flexibility to add compute where power and space are available, while still treating multiple sites as part of the same training infrastructure. Sponsored by Cisco