1. Home
  2. Super Data Science: ML & AI Podcast with Jon Krohn

Apr 21, 2025

Why AI shifted to custom chips

Emily Webber

74 min → 1:55

Overview

AWS Principal Solutions Architect Emily Webber joins Jon Krohn to explain why artificial intelligence is shifting toward a hardware focus and how custom silicon powers large-scale foundation models.

3 things to know

Webber: Hardware is the make or break for AI

Emily Webber says the rise of large foundation models has made the availability, size, and efficiency of hardware accelerators the make or break factor for AI performance.

▶ Watch at 9:57

Custom AI Accelerators

The conversation centers on AWS's custom chips, Trainium for training and Inferentia for inference, designed to offer better price-performance for machine learning workloads.

▶ Watch at 21:50

The Abstraction Layer (Neuron SDK)

The AWS Neuron SDK is a comprehensive suite of tools, including the NeuronX Distributed (NXD) library, that bridges the gap between high-level ML frameworks (like PyTorch) and the low-level complexities of custom hardware, handling tasks like model compilation and sharding.

▶ Watch at 23:44

Also in this episode

Webber says Trainium2 lets users logically resize AI accelerators

Emily Webber explains that achieving optimal performance requires tuning Tensor Parallelism degrees and using Trainium2's Logical Neuron Core feature to logically resize accelerators for specific workloads.

▶ Watch at 45:15

Kernel and Compiler Fundamentals

At a low level, performance depends on optimizing algorithm "kernels", user-defined functions that run directly on the chip, and the compilers that translate high-level code into efficient hardware instructions.

▶ Watch at 20:53

Webber: AWS offers academics $110 million in Trainium credits

Emily Webber highlights that AWS is partnering with Anthropic on the massive Project Rainier cluster and backing academic research with the $110 million Build on Trainium credit program.

▶ Watch at 51:24

Future of LLMs

The evolution of AI will involve not just scaling models but also improving how they integrate external knowledge (RAG) and perform complex tasks through agentic systems, all supported by next-generation hardware like the upcoming Trainium3.

Quotes

“I also saw increasingly how infrastructure was just the make or break... it came down to from a customer perspective, how many accelerators can I get? What is the size of those accelerators? How healthy are they, and how efficiently can I train and host my models on top of that?”

▶ Watch at 9:57

“The game is to try to optimize the data representation and optimize the program for the hardware, actually.”

▶ Watch at 21:50

“Our flagship customer example of course is Anthropic... we are developing some big projects together. So I don't know if you heard about Project Rainier, but Rainier is a absolutely gigantic cluster that we are developing in collaboration with Anthropic.”

▶ Watch at 48:47

9 more quotes

“I was actually interested in Buddhism as well. So I lived at a retreat center for many years and studied, yeah, studied meditation and all sorts of things.”

▶ Watch at 4:03

“A Solutions Architect at AWS fundamentally, we work with customers... you get to be a part of the whole lifecycle.”

▶ Watch at 7:22

“In PyTorch, it's crazy easy to do that. It's so easy to just define your tensor, define the operations you want to do, and call it.”

▶ Watch at 20:53

“NXD is really the primary modeling library that's really useful for customers where when you want to go train a model and you want to go host a model on Trainium and Inferentia.”

▶ Watch at 23:44

“That's why it's helpful to have this ability to easily test different TP degrees... also on TRN2 because you have this... LNC feature, logical neuron core feature that lets you actually change the size of the accelerator logically.”

▶ Watch at 45:15

“Build on Trainium is a credit program that we are running which is 110 million dollars in credits that we are offering to academics who are working on the future of AI.”

▶ Watch at 51:24

“Because I don't have an undergrad in computer science... I love teaching because I love taking things that were hard for me to understand... and then I love sharing that with other people because I know it simplifies their journey.”

▶ Watch at 58:17

“I also care a lot about human intelligence... we need to continue to grow our own intelligence while we're obviously growing the intelligence of the machines.”

▶ Watch at 1:01:25

“Hit me up on GitHub. I'm actually super active on GitHub.”

▶ Watch at 1:08:48

Full summary

Episode Overview

  • Emily Webber, a Principal Solutions Architect at AWS, shares her unconventional career path from public policy and Buddhism to specializing in custom AI hardware.
  • The discussion explores the critical shift in AI from a software-centric to a hardware-centric focus, driven by the demands of large-scale foundation models.
  • It provides a technical deep-dive into AWS's custom silicon (Trainium and Inferentia) and the Neuron SDK, the software layer designed to make this hardware accessible and performant.
  • The episode covers real-world applications with major customers like Anthropic, initiatives to support academic research, and future trends in AI models and hardware.

Key Concepts

  • Hardware as the Bottleneck: The rise of large foundation models has made underlying hardware infrastructure—the availability, size, and efficiency of accelerators—the "make or break" factor for AI performance.
  • Custom AI Accelerators: The conversation centers on AWS's custom chips, Trainium for training and Inferentia for inference, designed to offer better price-performance for machine learning workloads.
  • The Abstraction Layer (Neuron SDK): The AWS Neuron SDK is a comprehensive suite of tools, including the NeuronX Distributed (NXD) library, that bridges the gap between high-level ML frameworks (like PyTorch) and the low-level complexities of custom hardware, handling tasks like model compilation and sharding.
  • Performance Optimization: Achieving optimal performance requires tuning configurations like Tensor Parallelism (TP) degrees and leveraging hardware features like Trainium2's Logical Neuron Core (LNC) to logically resize accelerators for specific workloads.
  • Kernel and Compiler Fundamentals: At a low level, performance depends on optimizing algorithm "kernels"—user-defined functions that run directly on the chip—and the compilers that translate high-level code into efficient hardware instructions.
  • Industry Collaboration and Research: AWS is actively partnering with major AI companies like Anthropic on massive computing clusters ("Project Rainier") and fostering academic innovation through the "$110 million Build on Trainium" credit program.
  • Future of LLMs: The evolution of AI will involve not just scaling models but also improving how they integrate external knowledge (RAG) and perform complex tasks through agentic systems, all supported by next-generation hardware like the upcoming Trainium3.

Quotes

  • At 4:03 - "I was actually interested in Buddhism as well. So I lived at a retreat center for many years and studied, yeah, studied meditation and all sorts of things." - Emily Webber provides insight into her unconventional background before transitioning into a high-tech career in AI.
  • At 7:22 - "A Solutions Architect at AWS fundamentally, we work with customers... you get to be a part of the whole lifecycle." - Emily Webber defines the core function of her role as a Solutions Architect, highlighting its comprehensive and customer-centric nature.
  • At 9:57 - "I also saw increasingly how infrastructure was just the make or break... it came down to from a customer perspective, how many accelerators can I get? What is the size of those accelerators? How healthy are they, and how efficiently can I train and host my models on top of that?" - Emily Webber explains the key motivation behind her shift from a software to a hardware focus.
  • At 20:53 - "In PyTorch, it's crazy easy to do that. It's so easy to just define your tensor, define the operations you want to do, and call it." - Webber contrasts the simplicity of building a small model in a high-level framework with the difficulty of scaling and optimizing it.
  • At 21:50 - "The game is to try to optimize the data representation and optimize the program for the hardware, actually." - Webber summarizes the main goal of performance engineering in machine learning on custom silicon.
  • At 23:44 - "NXD is really the primary modeling library that's really useful for customers where when you want to go train a model and you want to go host a model on Trainium and Inferentia." - Webber highlights NeuronX Distributed (NXD) as the key tool for abstracting the complexities of training and hosting models.
  • At 45:15 - "That's why it's helpful to have this ability to easily test different TP degrees... also on TRN2 because you have this... LNC feature, logical neuron core feature that lets you actually change the size of the accelerator logically." - Webber explains a key performance tuning feature of the Trainium2 architecture.
  • At 48:47 - "Our flagship customer example of course is Anthropic... we are developing some big projects together. So I don't know if you heard about Project Rainier, but Rainier is a absolutely gigantic cluster that we are developing in collaboration with Anthropic." - Webber reveals a major partnership with AI leader Anthropic to build a massive supercomputing cluster.
  • At 51:24 - "Build on Trainium is a credit program that we are running which is 110 million dollars in credits that we are offering to academics who are working on the future of AI." - Webber introduces a significant AWS initiative to support academic research by providing substantial cloud computing resources.
  • At 58:17 - "Because I don't have an undergrad in computer science... I love teaching because I love taking things that were hard for me to understand... and then I love sharing that with other people because I know it simplifies their journey." - Webber shares her personal motivation for education, stemming from her non-traditional background.
  • At 61:25 - "I also care a lot about human intelligence... we need to continue to grow our own intelligence while we're obviously growing the intelligence of the machines." - Webber discusses the importance of balancing the development of artificial intelligence with the cultivation of human intelligence.
  • At 68:48 - "Hit me up on GitHub. I'm actually super active on GitHub." - When asked how to follow her work, Webber points listeners toward a technical and collaborative platform over traditional social media.

Takeaways

  • To achieve optimal price-performance in AI, it is now essential to consider the entire stack, from the ML model down to the custom hardware it runs on.
  • Leverage specialized software tools like the AWS Neuron SDK to harness the power of custom accelerators without needing to become a low-level hardware expert.
  • Treat performance tuning as an empirical science by systematically experimenting with hardware and software configurations to find the best setup for your specific model.
  • A non-traditional background can be a powerful asset in tech, enabling you to bridge knowledge gaps and make complex topics more accessible to others.
  • Seek out industry programs that provide access to cutting-edge hardware, as these can dramatically accelerate research and development efforts.
  • The future of AI lies in sophisticated model architectures like RAG and agentic systems, which will demand continuous innovation in underlying hardware.
  • Actively cultivate your own intelligence and wisdom as a necessary complement to the rapid advancement of artificial intelligence systems.

Watch the full episode 1 hr 14 min

Read along with the audio summary

Emily Webber noticed that in artificial intelligence, software is no longer the main hurdle. Instead, the underlying hardware infrastructure has become the make or break factor for AI performance. In this episode, which came out on April 21, 2025, Webber, a Principal Solutions Architect at Amazon Web Services, or AWS, shares her path from studying public policy and living at a Buddhist meditation retreat center to specializing in custom AI hardware. By the end, you will learn how custom silicon, specialized software tools, and systematic tuning combine to power large foundation models.

Why hardware has become the make or break bottleneck for AI.

Building a small model in a high level software framework is simple, yet scaling it up hits a physical wall. Customers need to know how many specialized chips, called accelerators, they can get, how large and healthy those accelerators are, and how efficiently they can train and host models on top of them.

This hardware bottleneck leads directly to how custom AI accelerators improve price and performance.

AWS designed custom silicon for machine learning workloads. They built one chip called Trainium for training models, and another called Inferentia for inference, which is running those models after they are trained.

Bridging the gap between easy code and complex chips without becoming a hardware expert.

Webber notes that defining operations in a high level machine learning framework like PyTorch is crazy easy, while optimizing a program for custom silicon is hard. The AWS Neuron SDK, which stands for software development kit, bridges that gap by handling complex tasks like model compilation and sharding. You can use specialized software tools like the AWS Neuron SDK to harness custom accelerators without needing to become a low level hardware expert.

How logically resizing your chip unlocks better AI performance.

Getting the best performance out of custom hardware requires tuning how work is divided across the silicon. A feature on the Trainium2 chip called the Logical Neuron Core lets engineers logically change the size of the accelerator to match specific workloads, much like moving a partition wall to resize a room for the crowd inside. When tuning performance, treat it as an empirical science by systematically experimenting with hardware and software configurations to find the best setup for your specific model.

The low level secret to making code run fast on silicon.

Underneath those configurations, performance depends on what happens directly on the chip. That relies on optimizing algorithm kernels, which are user defined functions that run directly on the chip, alongside the compilers that translate high level code into efficient hardware instructions.

How massive chip clusters and a 110 million dollar program are fueling AI research.

Access to this computing power is shaping both major industry projects and university labs. AWS is collaborating with the AI company Anthropic on Project Rainier, a gigantic computing cluster, and is also running the Build on Trainium program, which offers 110 million dollars in cloud computing credits to support academics.

What the next generation of large language models will demand from hardware.

The evolution of large language models will involve improving how they pull in external knowledge, a method known as retrieval augmented generation, or RAG, and how they perform complex tasks through agentic systems. Supporting these sophisticated architectures will require continuous hardware innovation, including the upcoming Trainium3 chip.

Getting the best price and performance in AI now requires looking at the entire stack, from the machine learning model all the way down to the custom hardware it runs on. Yet as Webber reflects on her own journey into tech, she reminds us that machines are only half the equation. "We need to continue to grow our own intelligence while we're obviously growing the intelligence of the machines."

More from Super Data Science: ML & AI Podcast with Jon Krohn

Related Episodes