# S10 Bonus: Serverless GPUs for Real-Time AI with Michael Louis of Cerebrium

Published: 2024-11-14
Duration: 1325s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/b97a6afc-7e33-4ad4-a3e9-0a62a1425143/stream.mp3

## Key Takeaways
- Born from Production Pain: Michael Louis found productionizing machine learning at his e-commerce company painful, yet it transformed operations. After Walmart acquired it in 2021, he and his lead engineer set out to make AI applications easier to build.
- Three GPU Problems to Solve: Cerebrium targets costly GPUs with serverless pay-for-use compute, avoids the year-long commitments cloud providers push, and speeds cloud iteration with caching that gets pushed code live in about nine seconds.
- Test Value, Not Integrations: The MVP, an e-commerce inventory forecasting tool built in under two months, used UI templates and manual work. Users sent Excel sheets and the team ran forecasts behind the scenes to learn whether the tool was valuable.
- Unit Economics at Scale: A client running 250 concurrent GPUs pushed the early platform and Amazon's quota limits. Louis learned infrastructure must also pay for itself, mixing spot, reserved and on-demand instances across cloud providers.
- The Feature Engine Trap: Chasing requests like WebSockets and batching pulled focus from cold starts, then about 12 seconds. As customers moved to production that wasn't good enough, and those who had asked for the features ended up churning.

Michael Louis grew up in South Africa, spending the first 25 years of his life there. From a young age, and being surrounded by an entrepreneurial family, he was always curious. He got into robotics and coding early, and stayed competitive and active as he grew up. Outside of tech, he loves to play squash, workout in CrossFit, run, and do anything where he has an opponent. Also, per South Africa culture, he enjoys spending time with friends at any social event involving drinking.

Michael built a successful eCommerce company, where you could order different items from stores and have them delivered. Because the margins in eCommerce are low, he and his team wanted to figure out how they could optimize their operation using machine learning. The tools out there weren't ideal, and the process was hard - but they did revolutionize their operation. Post exit, he decided to build a solution that made this optimization process easier.

This is the creation story of [Cerebrium](https://www.cerebrium.ai/).

Sponsors

- [Speakeasy](https://speakeasy.com/codestory)
- [QA Wolf](https://www.qawolf.com/)
- [SnapTrade](https://snaptrade.com/codestory)

Links

- [https://www.cerebrium.ai/](https://www.cerebrium.ai/)
- [https://www.linkedin.com/in/michael-louis-94104a113/](https://www.linkedin.com/in/michael-louis-94104a113/)

 

  

Timestamps

00:00 – Intro

06:03 – Building the Cerebrium MVP

07:00 – Early Decisions and Tradeoffs

08:25 – Maturing Product and Roadmap

10:03 – Building the Cerebrium Team

11:57 – Scaling the Infrastructure

13:24 – Proudest Moment

15:08 – A Mistake and Response

16:41 – The Future of Cerebrium

18:44 – Michael's Influences

20:02 – Advice for Young Entrepreneurs

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Michael Louis from Cerebrium: [https://www.codestory.co/episodes/s10-bonus-the-real-time-voice-and-video-boom-eradicating-gpu-cold-starts-and-serverless-latency-for-interactive-ai-with-michael-louis-co-founder-ceo-of-cerebrium/](https://www.codestory.co/episodes/s10-bonus-the-real-time-voice-and-video-boom-eradicating-gpu-cold-starts-and-serverless-latency-for-interactive-ai-with-michael-louis-co-founder-ceo-of-cerebrium/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our Stacklist! [https://stacks.codestory.co/](https://stacks.codestory.co/)

Check out our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart | Technical Founder & Startup Mentor.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 6:03 — Building the Cerebrium MVP
- 7:00 — Early Decisions and Tradeoffs
- 8:25 — Maturing Product and Roadmap
- 10:03 — Building the Cerebrium Team
- 11:57 — Scaling the Infrastructure
- 13:24 — Proudest Moment
- 15:08 — A Mistake and Response
- 16:41 — The Future of Cerebrium
- 18:44 — Michael's Influences
- 20:02 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What is Cerebrium and why was it built? — **A:** Cerebrium is a serverless infrastructure platform that helps businesses build, deploy and scale AI applications. Michael Louis was motivated by his struggle with machine learning at his previous e-commerce company, saying "it was honestly probably the worst experience I had in my entire software career" [03:26].
- **Q:** Why are cold starts such a hard problem for serverless GPU applications? — **A:** Michael Louis explains that AI models carry huge payloads: "We're talking gigabytes of dependencies, model weights." [05:01]. Serverless means customers pay only for the compute time they use, but loading those models extremely quickly is a tough engineering challenge that he says Cerebrium solved.
- **Q:** How did Cerebrium build its MVP? — **A:** The first version was an inventory forecasting application for e-commerce companies that took just under two months, using UI templates and a lot of manual work behind the scenes. Michael Louis said the real question being tested was "are they getting value from this tool?" [07:59].
- **Q:** What was a major mistake Cerebrium made as an early infrastructure startup? — **A:** Michael Louis says the team became a feature engine to onboard customers and stopped pushing on core strengths like cold start times. Six months later they saw that customers "who asked for those very features ended up churning just because our cold starts weren't" [16:28] improving.
- **Q:** How did Cerebrium handle scaling GPU infrastructure in the early days? — **A:** Michael Louis recalls one client running 250 concurrent GPUs before the platform was ready, which repeatedly hit Amazon's quota limits. He admits that "what we did in the early days is we just threw resources at the problem" [12:12], an approach he doesn't recommend, and the team has since worked on scalability and unit economics.
