Skip to content
Lex Fridman PodcastLex Fridman Podcast

Rajat Monga: TensorFlow | Lex Fridman Podcast #22

Lex Fridman and Rajat Monga on rajat Monga on TensorFlow’s evolution, ecosystem, and open-source impact.

Lex FridmanhostRajat Mongaguest
Jun 3, 20191h 10mWatch on YouTube ↗

At a glance

WHAT IT’S REALLY ABOUT

Rajat Monga on TensorFlow’s evolution, ecosystem, and open-source impact

  1. Rajat Monga, engineering director at Google and co-founder of TensorFlow, discusses the origins of Google Brain, the motivation and risk behind open-sourcing TensorFlow, and how it rapidly became a global standard for deep learning. He explains key design decisions (graphs, production focus, eager execution), the integration of Keras, and the tension between research agility and enterprise stability. Monga outlines TensorFlow’s expanding ecosystem across cloud, mobile, browser, and specialized hardware, emphasizing modularity, usability, and community-driven growth. He also touches on team-building, hiring, and how competition from projects like PyTorch has shaped TensorFlow 2.0 and beyond.

IDEAS WORTH REMEMBERING

5 ideas

Open-sourcing TensorFlow catalyzed global adoption of deep learning.

Releasing a production-grade ML library from a major company signaled that open innovation is viable at scale, accelerating research, tooling, and industry uptake far beyond what internal use alone could achieve.

TensorFlow was designed from day one with production in mind.

The choice of a graph-based model and focus on deployment (data centers, mobile, TPUs) came from real Google product needs, which made it attractive to enterprises wanting reliability, scalability, and long-lived models.

TensorFlow 2.0 pivots toward simplicity and usability without abandoning power.

By making eager execution the default and standardizing on Keras APIs, TensorFlow lowers the barrier for beginners and typical developers while still allowing advanced users to drop into lower-level constructs and graphs when needed.

Pretrained models and curated datasets massively reduce the start-up cost for users.

Components like TensorFlow Hub and TensorFlow Datasets let users plug in proven architectures and standardized data quickly, enabling both hobbyists and enterprises to get value without deep ML expertise or pristine data infrastructure.

Maintaining backward compatibility is costly but crucial for trust and adoption.

Enterprises run models for years, so TensorFlow must preserve APIs and behavior where possible; Monga advocates designing new features as if from a clean slate, then carefully mapping them onto existing systems rather than constantly breaking users.

WORDS WORTH SAVING

5 quotes

We wanted to see if we could take what people were doing in research and scale it to what Google has in terms of compute power and data.

Rajat Monga

The decision to open source TensorFlow was one of the seminal moments in all of software engineering ever.

Lex Fridman

If you don’t have a graph, how do you deploy now? That’s what tipped the balance for us.

Rajat Monga

We had to pick one. Keras was clearly one that lots of people loved, so we settled on that.

Rajat Monga

Unless you design with a clean slate and not worry about [backwards compatibility], you’ll never get to a good place.

Rajat Monga

Early days of Google Brain and scaling deep learning at GoogleDecision to open-source TensorFlow and its industry impactMajor design choices: graphs, production focus, and TensorFlow 2.0Keras integration and simplifying APIs for beginners and enterprisesTensorFlow’s broader ecosystem (Lite, JS, TFX, TPUs, datasets, Hub)Balancing research innovation with production stability and backward compatibilityBuilding and managing a large open-source community and engineering team

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.

Add to Chrome