Taming the Memory Beast: Strategies for Reliable ML Training on Kubernetes

Jaideep Ray
12/19/2024
cs.DCcs.LG

No confident code implementation found for this paper.

Abstract

Kubernetes offers a powerful orchestration platform for machine learning training, but memory management can be challenging due to specialized needs and resource constraints. This paper outlines how Kubernetes handles memory requests, limits, Quality of Service classes, and eviction policies for ML workloads, with special focus on GPU memory and ephemeral storage. Common pitfalls such as overcommitment, memory leaks, and ephemeral volume exhaustion are examined. We then provide best practices for stable, scalable memory utilization to help ML practitioners prevent out-of-memory events and ensure high-performance ML training pipelines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ray2024taming,
  title  = {Taming the Memory Beast: Strategies for Reliable ML Training on Kubernetes},
  author = {Jaideep Ray},
  year   = {2024},
  eprint = {2412.14701},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14701v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14701.svg)](https://codeofpaper.com/paper/2412.14701)

Discussion