~/talk

Problems and Solutions with AI Model Deployments in k8s

TalkinUkrainianat DevOps fwdays'23 · 2023-03-16..03-21· [machine-learning, kubernetes]
links:none on file
slides:none on file

Compares three Kubernetes deployment patterns for AI models: baking models into container images, storing models in Git LFS, and downloading models at startup from Google Cloud Storage (GCS), plus using image streaming via GKE/Artifact Registry. Measures build and cold-start times (baked images ~5m42s builds and slow pulls; Git LFS hits 2–5 GB file limits and billing issues; GCS downloads ~1.5 min cold starts with faster builds), and reports that enabling image streaming makes cold starts near-instant. Describes using Docker cache, Triton for inference, GPU nodes, and the practical operational limits discovered.

AI-written summary · about

  1. 0:00AI model deployment intro
  2. 1:07AI dev problems in k8s
  3. 2:35Training vs deployment
  4. 5:58Deployment approaches
  5. 7:32Download models from bucket
  6. 9:06Bucket download drawbacks
  7. 12:01Models in Docker image
  8. 13:52Git LFS storage issues
  9. 16:07Optimize Git LFS costs
  10. 18:11Models in GCS bucket
  11. 20:27Bucket storage speed issues
  12. 21:31Google Cloud Image Streaming
  13. 23:44Demo: three approaches
  14. 29:37Image build speed test
  15. 30:46App startup time test
  16. 33:52Conclusion
  17. 35:00Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.