The TWIML AI Podcast
The TWIML AI Podcast

Powering AI with the World's Largest Computer Chip with Joel Hestness - #684

Today we're joined by Joel Hestness, principal research scientist and lead of the core machine learning team at Cerebras. We discuss Cerebras’ custom silicon for machine learning, Wafer Scale Engine 3, and how the latest version of the company’s single-chip platform for ML has evolved to suppor

Featured Speakers

Joel Hessness Guest

Topics Discussed

Episode Summary

Executive Summary: Joel Hessness explains Cerebras’s wafer-scale approach to AI hardware: a full-wafer chip acts like one giant device, simplifying distributed training for very large models while boosting performance, memory, and efficiency. The discussion covers Cerebras’s software stack, support for LLMs and multimodal models, cluster architecture, pricing/performance tradeoffs, and research on sparsity, optimizers, and scaling laws.

Main Topics: Joel Hessness’s background and path to Cerebras (Priority: 5/5): Joel traces his work from heterogeneous CPU/GPU systems in his PhD to Baidu Research, where scaling laws convinced him that AI would require massive hardware innovation. That led him to Cerebras, focused on large-scale language model training. Cerebras wafer-scale architecture (Priority: 5/5): Cerebras keeps an entire wafer intact instead of cutting it into chips, creating a single large device with direct on-chip memory and unusual power/cooling packaging. This reduces the complexity of multi-device orchestration. Software stack and developer abstraction (Priority: 5/5): The company moved from a pipelined, graph-based execution model to a weight-streaming, kernel-centric model that more closely resembles GPU programming. The goal is to make large-scale model training feel like using a single device through PyTorch, MLIR, and compiler tooling. Generational hardware improvements and scale (Priority: 4/5): Cerebras’s CS1, CS2, and CS3 generations increased core counts and throughput, with CS3 boosting vector width and enabling larger memory systems for training models at trillion-parameter scale. Competitive positioning versus GPUs and TPUs (Priority: 5/5): Joel compares Cerebras to NVIDIA GPUs, TPUs, and AWS Inferentia, arguing Cerebras is architecturally similar at the kernel level but avoids inter-device communication by doing large computations on one wafer, improving performance per watt and simplifying scaling. Use cases: LLMs, multimodal, HPC, and deployment (Priority: 4/5): Cerebras supports transformer backbones, multimodal models, fine-tuning, pre-training, and some HPC workloads like computational fluid dynamics. It also partners with hardware vendors for inference deployment and supports exporting models to common formats. Research directions: sparsity, optimizers, and scaling laws (Priority: 4/5): The team investigates weight sparsity, activation sparsity, and second-order optimizers such as KFAC and Shampoo, aiming to reduce compute and improve training efficiency. They also publish reproducible scaling-law studies to contribute to the broader community.

Key Arguments: AI progress requires much larger compute scales than conventional single-chip approaches can easily support, so hardware must evolve to simplify distributed training. Cerebras’s wafer-scale engine behaves like a single large GPU, eliminating model sharding and much of the communication overhead associated with multi-device systems. The weight-streaming software stack makes training on Cerebras feel kernel-centric and familiar to GPU users while preserving the advantages of a giant on-chip memory space. Direct on-chip SRAM provides far more usable activation storage than conventional GPU caches, enabling large models and high-throughput operations. Cerebras is competitive on price-performance, but especially strong on performance per watt and reduced data-center complexity because it avoids device-to-device communication. The company’s hardware and software are optimized for transformers and large language models, but recent releases expand to multimodal vision-language workloads. Research on sparsity and second-order optimization can improve both training efficiency and model deployment, especially for large-scale or sparse LLMs. Cerebras aims to release reproducible open research and tooling so its techniques can benefit the broader ML community, not just its customers.

Data Points: PhD period: 2010 to 2016 - Joel’s doctoral work in heterogeneous processor design Prediction of required compute: 10,000x more compute - Cerebras’s/Joel’s estimate in 2017 of what deep learning would need relative to then-current compute Current progress toward estimate: about 2,000x - How far the field has progressed toward that predicted compute increase First generation wafer cores: about 400,000 cores - Cerebras first wafer-scale engine generation First generation performance comparison: about 25 V100 GPUs - Approximate performance equivalence for the first wafer generation Second generation wafer cores: 850,000 cores - Cerebras second wafer-scale engine generation Third generation wafer cores: about 900,000 cores - CS3 core count Third generation vector width: 8 - CS3 increased vector width from 4 to 8, doubling core throughput Hardware performance lift: about 2x - Performance gain from the CS3 generation On-wafer memory: 40 GB - Current generation SRAM memory on the wafer GPU cache comparison: about 50 MB total - Approximate total GPU cache cited for comparison with Cerebras’s 40 GB on-wafer SRAM Memory comparison: roughly 1,000x larger - Cerebras wafer SRAM versus GPU caches HBM comparison: 80 GB on H100s - Cited as conventional GPU high-bandwidth memory capacity Parameter-server memory capacity: up to 1,200 TB - Memory available on third-generation parameter server systems Cluster size: 64 systems - Two existing Condor Galaxy clusters Scale-out target: up to 200 total systems - Estimated scaling of the distributed data-parallel approach Model scale target: hundreds of billions to trillions of parameters - Customer interest and Cerebras’s training target range Giga GPT release size: 600 lines of code - Example of a simple reference implementation for trillion-parameter-scale training on Cerebras hardware Giga GPT scale: up to about a trillion parameters - Model size demonstrated by the simple codebase Chinchilla-style scaling result: 20 tokens per parameter - Compute-efficient pretraining rule of thumb reproduced in Cerebras’s open experiment Sparse inference/training speedup: 10x to 100x - Potential HPC acceleration cited for certain workloads compared with CPUs/GPUs at comparable flop throughput Per-token sparsity: up to 90% - Potential ReLU-driven activation sparsity per token discussed in the interview Batch-level sparsity: 30% to 60% - Expected sparsity when unioning across many tokens in a batch

Pivotal Quotes: "it programs like a single device, a single, very large device" — Joel Hessness: Explaining Cerebras’s central abstraction for simplifying large-scale model training "we just leave it together as a single large-scale device" — Joel Hessness: Describing the wafer-scale engine architecture and why it differs from conventional chip packaging "you get to, as a researcher, you get to work in a code base that's very simple to make improvements very quickly" — Joel Hessness: On the value of Cerebras’s software stack for ML researchers

Implications: Cerebras is betting that AI’s next phase demands simpler scaling, more memory, and less interconnect overhead. If successful, wafer-scale systems could make trillion-parameter training more practical and push sparsity/optimizer research into mainstream deployment.

🔓 Sign Up for Unlimited Episode Search

About The TWIML AI Podcast

View all episodes from The TWIML AI Podcast