아마존의 HBM 비사용 Trainium3SR, 대역폭 41PB/s 향상…최첨단 AI 모델 구동을 위한 고비용 다중 칩 클러스터 필요
🇰🇷 한글 번역
아마존이 달성한 놀라운 업적은 분산형 AI 추론 아키텍처인 Trainium3SR이 HBM(고대역폭 메모리) 기술을 전혀 사용하지 않고 작동한다는 점이다. 대신 아마존은 표준 Trainium3 가속기와 맞춤형 자체 개발 디코드 칩의 활용을 이끌었다. HBM 대신 SRAM(정적 랜덤 액세스 메모리)을 사용함으로써 이 조합은 들어오는 프롬프트를 처리하는 계산 집약적인 프리필(prefill) 단계를 처리하는 데 도움이 되는 반면, 메모리 부분은 순차적 토큰 생성에 집중한다.
이 전략은 아마존에게 잘 먹혔다. Trainium 수석 아키텍트인 론 다이먼트(Ron Diamant)는 각 Trainium3SR이 512GB의 SRAM으로 총 41PB/s의 놀라운 메모리 대역폭을 달성할 수 있으며, 이를 통해 아마존의 오픈 가중치 Ergo 모델이 초당 최대 2,200개의 토큰에 도달할 수 있게 되어 단독으로 작동하는 Trainium3보다 약 5배 더 빠르다고 주장한다. 그러나 SRAM이 향후 AI 추론 아키텍처를 위한 황금 표준이 되는 것은 아니다. 이 기술을 사용하는 데는 뚜렷한 단점이 존재하지만, 그렇다고 해서 HBM이 실행 가능한 해결책인 것도 아니다.
HBM을 포기하고 SRAM을 채택하면 디코드 속도가 비약적으로 향상되지만, 후자의 낮은 밀도는 더 많은 물리적 공간을 차지하여 생산 비용을 증가시키고 더 밀도 높은 AI 모델을 실행하기 위한 총 메모리 용량을 희생시킨다.
대규모 언어 모델 추론 중 토큰 단위 생성을 논할 때, 프로세스는 순수 연산 처리량보다는 칩이 메모리에서 모델 가중치를 얼마나 빠르게 로드할 수 있는지에 의해 병목 현상이 발생한다. 아마존은 논리 다이(logic die)에 SRAM을 직접 배치하여 41PB/s의 대역폭과 거의 제로에 가까운 접근 지연 시간을 제공함으로써 이 장애물을 해결한 것으로 보인다. 이는 패키지 외부의 인터포저와 HBM 스택을 통과하는 데 관련된 물리적 왕복 지연 시간과 전력 오버헤드를 제거한다.
순수한 속도와 에너지 효율성 외에도, 모놀리식 SRAM 디코드 가속기를 구축함으로써 아마존은 심각하게 제한된 HBM 공급과 고급 CoWoS 패키징 용량을 두고 경쟁하지 않고도 추론 배포를 확장할 수 있다. 불행히도 이것이 HBM 없는 접근 방식의 장점이 끝나는 지점이다. SRAM의 물리적 공간 요구 사항은 수많은 한계를 도입하기 때문이다.
예를 들어, 전통적인 HBM 장착 가속기와 비교할 때 표준 6트랜지스터 SRAM 셀은 단일 트랜지스터 DRAM당 비트당 약 5배에서 6배 더 많은 물리적 실리콘 면적을 소비한다. 이 메모리 기술의 가장 나쁜 특성은 칩 외부의 고밀도 3D 다이에서 수직으로 적층할 수 없다는 점이다. 이러한 제한으로 인해 SRAM 칩은 현대 HBM 스택이 제공하는 메모리 용량의 일부만 보유할 수 있다.
SRAM의 단점의 직접적인 결과로, 최첨단 AI 모델을 완전히 수용하려면 상호 연결된 다이들의 크고 비싼 클러스터에 걸쳐 가중치를 분할해야 하며, 이는 생산 비용을 급격히 상승시킬 것이다. 그 이점에도 불구하고 SRAM은 큰 배치 크기나 방대한 키-값(Key-Value) 캐시에 덜 실용적인데, 이는 인텔의 전 CEO인 팻 겔싱어(Pat Gelsinger)가 이 DRAM 형태가 열 및 대역폭 문제로 가득 차 있다고 인정했음에도 불구하고 HBM이 선호되는 메모리 기술인 이유를 설명해 준다.
Wccftech를 Google 피드에서 받아보기 Google에서 팔로우하기
📄 원문 (English)
A remarkable feat achieved by Amazon was that its disaggregated AI inference architecture, Trainium3SR, operates without any HBM technology. Instead, the company has leveraged the use of standard Trainium3 accelerators with a custom in-house decode chip. With the use of SRAM in place of HBM, the combo helps to handle the compute-intensive prefill phase to process incoming prompts, while the memory part is laser-focused on sequential token generation.
This strategy has worked out well for Amazon, as Trainium chief architect Ron Diamant claims that each Trainium3SR can achieve an extraordinary 41PB/s of aggregate memory bandwidth with 512GB of SRAM, enabling Amazon’s open-weight Ergo model to reach up to 2,200 tokens per second, making it roughly 5x faster than Trainium3 functioning alone. However, that doesn’t make SRAM the golden standard for AI inference architectures going forward, as there are glaring drawbacks to using this technology, though that doesn’t make HBM a viable solution either.
Foregoing HBM for SRAM unlocks massive decode speeds, but the latter’s lower density utilizes more physical space, adding to production costs and sacrificing total memory count to run the denser AI models
When discussing token-by-token generation during large language model inference, the process is bottlenecked by how quickly a chip can load model weights from memory rather than raw arithmetic throughput. Amazon seemingly resolved this roadblock by placing SRAM directly onto the logic die, delivering 41PB/s of bandwidth alongside near-zero access latency, eliminating the physical round-trip delays and power overhead associated with traversing off-package interposers and HBM stacks.
Beyond sheer speed and energy efficiency, building a monolithic SRAM decode accelerator allows Amazon to scale inference deployments without fighting for severely constrained HBM supply and advanced CoWoS packaging capacity. Unfortunately, that’s where the advantages of the HBM-less approach end, as SRAM’s physical space requirements introduce a truckload of limitations.
For instance, compared to traditional HBM-equipped accelerators, a standard 6-transistor SRAM cell consumes roughly 5x to 6x more physical silicon area per bit than single-transistor DRAM. The worst attribute of this memory technology is that it cannot be vertically stacked in high-density 3D dies off-chip. As a result of this limitation, SRAM chips can only hold a fraction of the memory capacity provided by modern HBM stacks.
As a direct consequence of SRAM’s drawbacks, fitting full frontier AI models requires partitioning weights across large, costly clusters of interconnected dies, which will drive production costs like there’s no tomorrow. Despite its benefits, SRAM is less practical for large batch sizes or massive Key-Value caches, which explains why HBM is the preferred memory technology, despite Intel’s former CEO Pat Gelsinger admitting that this DRAM form is rife with thermal and bandwidth issues.
Get Wccftech in your Google feed Follow on Google
▶ 칩 라이브 24 홈으로 — chiplive24.com