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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Ray, Jaideep
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910764145573888
author Ray, Jaideep
author_facet Ray, Jaideep
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_14701
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Taming the Memory Beast: Strategies for Reliable ML Training on Kubernetes
Ray, Jaideep
Distributed, Parallel, and Cluster Computing
Machine Learning
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.
title Taming the Memory Beast: Strategies for Reliable ML Training on Kubernetes
topic Distributed, Parallel, and Cluster Computing
Machine Learning
url https://arxiv.org/abs/2412.14701