Latent Space

Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal

Published 2026-10-22 · Duration 1:25:33

Summary

Erik Bernhardsson of Modal discusses the unique challenges of building AI infrastructure, arguing that traditional cloud models (like three-year GPU capacity commitments) are ill-suited for the bursty, highly variable nature of modern AI workloads. Modal addresses this by providing a serverless compute platform that aggregates global GPU capacity, enabling rapid scaling for inference, training, and agent sandboxes. The discussion highlights the shift from traditional compute paradigms to highly granular, ephemeral, and composable building blocks.

Download summary

Key takeaways

  1. The Compute Paradigm Shift

    AI workloads are not 'neat, three-year rectangles.' Modal's value proposition is aggregating global compute capacity to handle bursty, variable demand, which is a massive differentiator from traditional hyperscaler capacity models. (0:00, 5133)

  2. Sandboxes and Agent Workflows 1:08:41

    Modal Sandboxes are evolving from simple 'lift and shift' dev boxes to highly ephemeral, single-command environments. The ability to rapidly spin up, snapshot, and resume sandboxes is key to enabling complex, parallelized agentic workflows and improving CI/CD efficiency. (41:21, 10:00)

  3. Infrastructure Primitives 52:35

    The platform's strength lies in its primitives: Modal Functions (serverless compute for inference) and Sandboxes. The architecture is designed to manage capacity and isolation, allowing for high-density, multi-tenant usage across diverse workloads. (31:55, 10:00)

  4. Economic and Supply Constraints 22:01

    The GPU market faces supply constraints, leading to long-term, high-cost capacity deals. While the market is highly speculative, Modal's model of continuous, on-demand capacity aggregation mitigates the risk associated with these large, fixed-term commitments. (13:21, 19:45)

Technical details

  • Compute Architecture 0s

    Modal offers a compute and storage platform enabling AI applications through a software SDK. Core services include Modal Functions (serverless compute for inference) and Modal Sandboxes (isolated execution environments). The platform manages capacity and scaling for inference, training/fine-tuning, and batch jobs. (0:00, 31:55)

  • Scaling and Isolation 1000s

    The system is built on primitives like container runtime and file system management. Key features include GPU snapshotting and a custom autoscaler, allowing for extremely fast scaling and efficient resource utilization, which is critical for bursty workloads. (10:00, 41:21)

  • Agentic Workflows and CI/CD 4121s

    Sandboxes are ideal for agentic workflows, enabling the parallelization of tasks (e.g., running every test in a CI suite in its own sandbox). The ability to minimize the overhead of starting and stopping sandboxes is crucial for realizing this massive parallelization potential. (41:21, 52:51)

  • Security and Reliability 4648s

    Security is addressed through isolated sandboxes. The company is actively using agents internally to probe for vulnerabilities and is exploring making security restrictions more restrictive by default, moving toward a 'zero trust' model. (46:48, 57:45)

Mentioned resources

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.