字号·· | 护眼
theregister

Trainium4“小火车”仍在轨道上前行,承诺比以往更大The Trainium4 choo-choo is still rolling down the track, with bigger promises than before

点「原文对照」整页切到原文,或双击某段只看那段的原文。

亚马逊第四代Trainium人工智能加速器未能赶上今年的re:Invent大会,但据AWS首席执行官马特·加曼称,等待是值得的。这位高管周二登台时夸口说,这款芯片将比去年发布时更加强大。他在主题演讲中声称:“与Trainium3相比,Trainium4的FP4算力将提升10倍,内存带宽提升5倍,内存容量提升一倍,同时能效提升一倍。”

Amazon's fourth-gen Trainium AI accelerators weren't quite ready in time for this year's re:Invent, but according to AWS CEO Matt Garman, the wait will be worth it. Taking the stage on Tuesday, the exec boasted that the chip will be even more powerful than what it announced last year. “Compared to Trainium3, Trainium4 will deliver 10 times higher FP4 compute, 5 times more memory bandwidth, and twice as much memory capacity, all while being twice as power efficient,” he claimed in his keynote address.

这高于亚马逊此前希望从这款芯片获得的6倍算力和4倍带宽提升,也使这家云服务提供商在与英伟达的成本竞争中处于更有利的位置。即便如此,这款芯片的上市时间仍将晚于许多人的预期。自Trainium2以来,亚马逊一直保持稳定的节奏,芯片通常在发布约12个月后推出。然而,Trainium4要到2027年下半年才会面世,届时它将与英伟达的Vera Rubin Ultra平台展开竞争。

That's up from the 6x and 4x compute and bandwidth bump Amazon had hoped to squeeze from the silicon, and better positions the cloud provider to compete with Nvidia on cost. Even so, the chip is set to arrive later than many had expected. Since Trainium2, Amazon has followed a steady cadence, launching the chips roughly 12 months after they were announced. Trainium4, however, won’t arrive until the second half of 2027, by which time it’ll be competing with Nvidia’s Vera Rubin Ultra platform.

亚马逊尚未说明第三代与第四代之间的性能提升是按单芯片还是按单机架计算——多年来,该公司根据哪种算法更有利于营销而反复改变说法。但假设是按单芯片计算,我们预计每颗Trainium4加速器将提供25千万亿次密集FP4算力、288 GB内存(很可能是HBM4)以及24.5 TB/s的内存带宽。作为参照,这相当于英伟达目前正在AWS上线的全新Rubin GPU峰值性能的50%至71%,内存带宽则是其1.27倍。

Amazon hasn't said whether the performance uplift between 3 and 4 is per chip or per rack — the company has gone back and forth on this over the years depending on which makes for better marketing. But assuming it's per chip, we'd expect to see each Trainium4 accelerator deliver 25 petaFLOPS of dense FP4, 288 GB of what will probably be HBM4, and 24.5 TB/s of memory bandwidth. For reference, that's between 50 and 71 percent of the peak performance and 1.27x the memory bandwidth of Nvidia's new Rubin GPUs now coming online in AWS.

如果亚马逊成功控制住了功耗,这已经相当不错了——按照其能效提升一倍的宣称,听起来确实做到了。除此之外,关于这些加速器的细节仍然相当有限。我们确实知道,在这一代产品中,AWS将结合使用UALink和英伟达的NVLink Fusion互连技术来连接芯片。

That's not half bad if Amazon has managed to keep power consumption in check, which by the 2x efficiency claim, it certainly sounds like it has. Beyond that, details on the accelerators remain rather thin. We do know, for this generation, AWS will be using a combination of UALink and Nvidia's NVLink Fusion interconnects to stitch the chips together.

我们还可以推测,AWS 不会打破惯例,很可能会使用其 Graviton5 CPU 和定制的 EFA 网络将多个机柜连接在一起,用于大规模前沿训练和推理。但似乎我们得等到周四亚马逊定制芯片负责人 Peter DeSantis 的主题演讲,才能了解更多细节。据 Garman 称,Trainium4 要到 2027 年下半年才会推出。在此期间,亚马逊给我们抛出了一个有点出人意料的新芯片类别,让人联想到 Nvidia 的 Groq LPU 或 Cerebras 那种餐盘大小的加速器。

We can also surmise that AWS isn't going to break tradition now and will likely use its Graviton5 CPUs and custom EFA networking to connect multiple racks together for large-scale frontier training and inference. But it seems we'll have to wait for Amazon's custom silicon head Peter DeSantis' keynote on Thursday for more details. According to Garman, Trainium4 won't be available until the second half of 2027. In the meantime, Amazon has thrown us a bit of a curve ball with a new class of chip reminiscent of Nvidia's Groq LPUs or Cerebras' dinner plate-sized accelerators.

既然可以用 SRAM,谁还需要 HBM?除了 Trainium4,DeSantis 还发布了 AWS 当前一代加速器的一个新变体,称为 Trainium3SR。“SR”代表 SRAM。他解释说:“该平台是一个‘全新的 Trainium 实例,配备基于 SRAM 的专用 AI 芯片’。”亚马逊决定推出专用解码加速器,这几乎不足为奇。自从 Nvidia 去年底花费约 200 亿美元收购 Groq 以来,解码加速器已成为加速 AI 推理最有效的方法之一。

Who needs HBM when you can have SRAM? Alongside Trainium4, DeSantis unveiled a new spin on AWS' current-gen accelerators, dubbed the Trainium3SR. The "SR" stands for SRAM. The platform is a "brand new Trainium instance with specialized SRAM-based AI chips," he explained. Amazon's decision to launch a dedicated decode accelerator is hardly surprising. Since Nvidia burned roughly $20 billion to acquihire Groq late last year, decode accelerators have emerged as one of the most potent ways to speed up AI inference.

以下是AWS无HBM的Trainium3SR机架系统的首次亮相,AWS将其定位为Groq的LPU或Cerebras的WSE3加速器等解码加速器的替代方案。Here’s a first look at AWS’ HBM-less Trainium3SR rack systems, which it’s positioning as an alternative to decode accelerators like Groq’s LPUs or Cerebras’ WSE3 accelerators.

从那时起,AMD、AWS 和现在的 Nvidia 都宣布与各种 SRAM 大厂建立合作关系,其中最著名的是 Cerebras。今年早些时候,亚马逊开始将 Cerebras 用作 Trainium3 的解码加速器。随着 Trn3SR 的推出,该公司现在可以使用自家自研硬件和成熟的软件栈实现类似效果。与 Trainium3 不同,为了简洁起见我们称 SR 变体为 Trn3SR,它完全不使用 HBM。

Since then, AMD, AWS, and now Nvidia have announced ties with various SRAM heavy chipmakers, the most notable being Cerebras. Earlier this year, Amazon began using Cerebras as a decode accelerator for Trainium3. With the launch of Trn3SR, the company can now achieve similar results using its own homegrown hardware and using established software stacks. Unlike Trainium3, the SR variant, which we'll call Trn3SR for the sake of brevity, doesn't use HBM at all.

相反,亚马逊构建了一款定制芯片,增加了 SRAM 容量,旨在作为解码加速器。在这种架构下,提示处理(也称为预填充)由亚马逊现有一岁的 Trainium3 芯片负责,而令牌生成(即解码)则卸载到 Trn3SR 机柜。亚马逊声称,这种组合在服务其新的 1.1 万亿参数 Ergo 模型时,性能提高了 5 倍,吞吐量从每秒 400 个令牌跃升至 2200 个。

Instead, Amazon built a custom chip that boosts the SRAM content and is intended as a decode accelerator. In this arrangement, prompt processing, also called prefill, is handled by Amazon's now year-old Trainium3 chips while token generation, AKA decode, is offloaded to Trn3SR racks. Amazon claims the combo delivers 5x higher performance at serving its new 1.1 trillion parameter Ergo model, jumping from 400 tokens per second to 2,200.

之所以能这样,是因为SRAM的速度比HBM快一个数量级。SRAM的缺点是占用大量芯片面积。传统XPU可能封装几百GB的HBM,而同样面积或许只够容纳几百MB的SRAM。据Trainium首席架构师罗恩·迪亚曼特(Ron Diamant)介绍,每个Trn3SR系统将配备512 GB的SRAM,可提供41 PB/s的带宽。这意味着,要么亚马逊已设法在每颗Trn3SR芯片上封装约3.56 GB的SRAM,要么迪亚曼特所描述的系统远比我们去年看到的144芯片Trainium3集群大得多。

This works because SRAM is an order of magnitude faster than HBM. The downside of SRAM is that it takes up a lot of die area. Where a conventional XPU might pack a few hundred gigabytes of HBM, it may only have enough die area for a few hundred megabytes of SRAM. According to Trainium's chief architect Ron Diamant, each Trn3SR system will feature 512 GB of SRAM, good for 41 PB/s of bandwidth. That implies that either Amazon has managed to pack roughly 3.56 GB of SRAM onto each Trn3SR chip or that the systems Diamant is describing are a whole lot bigger than the 144 chip Trainium3 clusters we saw last year.

如果要猜的话,亚马逊采用的是规模大得多的多机架架构。我们确知的是,为服务Ergo,亚马逊几乎肯定使用了不止一个Trn3SR系统。这是因为在FP4精度下,该模型仅保存权重就至少需要626 GB内存。“这一切都运行在一个完全集成的推理栈上,两颗芯片、一张横向扩展网络、EFA,以及一个软件开发工具包,”德桑蒂斯说。

If we had to guess, Amazon is using a much larger multi-rack architecture. What we do know is that, to serve Ergo, Amazon is almost certainly using more than one Trn3SR system. That's because at FP4, the model needs at least 626 GB of memory just to hold the weights. "All of it runs on one fully integrated inference stack, two chips, one scale-out network, EFA, and one software development kit,” DeSantis said.

由这些芯片驱动的Ergo推理服务现已开放私下预览,随着2027年更多容量上线,预计将支持更多模型。我们期待在德桑蒂斯周四的主题演讲中了解安娜普尔纳实验室最新芯片的更多细节。®

Ergo inference services powered by the chips are now available in private preview with additional model support expected as more capacity comes online in 2027. We expect to get more details on Annapurna Labs' latest silicon during DeSantis' keynote on Thursday. ®

阅读媒体原文 ↗