Back to All Episodes
S10 Bonus: Serverless GPUs for Real-Time AI with Michael Louis of Cerebrium
Nov 14, 2024 22:05

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

Bonus
0:00 / 22:05

About this episode

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.

Sponsors

Links

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/



Current Sponsors:

Checkout our Stacklist! https://stacks.codestory.co/

Check out our Patreon!

Hosted by Noah Labhart | Technical Founder & Startup Mentor.



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

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

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.

Frequently Asked Questions

What is Cerebrium and why was it built?

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].

Why are cold starts such a hard problem for serverless GPU applications?

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.

How did Cerebrium build its MVP?

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].

What was a major mistake Cerebrium made as an early infrastructure startup?

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.

How did Cerebrium handle scaling GPU infrastructure in the early days?

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.

Media List 5000, Podcasts, Fall 2026