Black Friday Sale: Get 40% off all our Training Bundles! View Bundles →
Building and Running AI, ML, and Data Science Workloads in Containers

Building and Running AI, ML, and Data Science Workloads in Containers

Sep 10th, 2025

12:00PM - 1:00PM EDT

Remote

Want to containerize your AI/ML models? Join us to learn how to build smaller, faster container images for your data science workloads.

Price: Free

Enroll Now

When: Wednesday, September 10th, 2025 | 12pm - 1pm EDT

Schedule: 1-Hour Free Webinar

Where: Online - Live Training


If we want to run AI, ML, or Data Science workloads in containers (for local development or production on Kubernetes), we need to build container images. Doing that with a Dockerfile is fairly straightforward, but is it the best method?

In this talk, we’ll take a well-known speech-to-text model (Whisper) and show how to install its code and dependencies in a container. We’ll test various methods and compare the outcomes in terms of image size and build time. We’ll also show how to switch versions DRY-style (without maintaining multiple Dockerfiles!), how to leverage newer techniques like BuildKit cache mounts, and we’ll discuss other issues like the use of Alpine with Python, progressive image loading, and model loading.

Our specific example will focus on a Python app using packages like PyTorch, but the techniques that we will show can be generalized to other packages and even to other languages.


About Jérôme Petazzoni:

Ardan Labs Lead Kubernetes & Docker Instructor

Jérôme was part of the team that built, scaled, and operated the dotCloud PAAS, before that company became Docker. He loves to share what he knows, which led him to give hundreds of talks and demos on containers, Docker, and Kubernetes.

Why Engineers & Teams Trust Ardan Labs

Cisco Logo

Extremely well organized and high value

"The course is extremely well organized and the pace is also very conducive to the learning process. The exercises are very well organized. Delivered very high value."

- Cisco
Kelsey Hightower's Photo

Best training in the Go community

"You should reach out to the team over at @ardanlabs. They have been training the Go community since the beginning and I've yet to see anyone do it better."

- Kelsey Hightower
Jessica Greene's Photo

Go features that made work better

"Feeling so happy with myself: yesterday at work I refactored some code to use @golang 1.16 built-in, embed I learned about it at @ardanlabs service class."

- Jessica Greene
Zip Recruiter Logo

Well-structured and useful advice

"Excellent class. The instructor is a hacker speaking to hackers, so we got very useful information and advice. Well-structured and paced. 10/10 would gopher it again."

- Zip Recruiter
Adeniyi Oluwatola's Photo

Best ever—learned to build great services

"I finished Ultimate Service from @ardanlabs. I'm telling you this was the best ever. Talking from project structures to metrics. Now I can write good services in Go."

- Adeniyi Oluwatola
Steve Francia's Photo

Improved productivity with Go

"Thanks @ardanlabs for a great Ultimate Go class! Bill is a great teacher and I'm definitely more productive in Go now."

- Steve Francia
Matt Holt's Photo

Complex topics explained clearly

"Highly recommend Ultimate Go by @goinggodotnet & @ardanlabs. I appreciate how Bill explains complex topics simply and clearly. The labs were incredibly helpful too."

- Matt Holt
Cole Calistra's Photo

Well documented and well structured

"Their quality is astounding. They went above and beyond what we asked, working in line with best practices. Everything had test cases, was well documented and well structured, and ran smoothly.”

- Cole Calistra
See What's New

From the Lab

Where ideas get tested and shared. From the Lab is your inside look at the tools, thinking, and tech powering our work in Go, Rust, and Kubernetes. Discover our technical blogs, engineering insights, and YouTube videos created to support the developer community.

Explore our content: