Optimal Workload Placement on Multi-Instance GPUs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Turkkan, Bekir, Murali, Pavankumar, Harsha, Pavithra, Arora, Rohan, Vanloo, Gerard, Narayanaswami, Chandra
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929494847127552
author Turkkan, Bekir
Murali, Pavankumar
Harsha, Pavithra
Arora, Rohan
Vanloo, Gerard
Narayanaswami, Chandra
author_facet Turkkan, Bekir
Murali, Pavankumar
Harsha, Pavithra
Arora, Rohan
Vanloo, Gerard
Narayanaswami, Chandra
contents There is an urgent and pressing need to optimize usage of Graphical Processing Units (GPUs), which have arguably become one of the most expensive and sought after IT resources. To help with this goal, several of the current generation of GPUs support a partitioning feature, called Multi-Instance GPU (MIG) to allow multiple workloads to share a GPU, albeit with some constraints. In this paper we investigate how to optimize the placement of Large Language Model (LLM)-based AI Inferencing workloads on GPUs. We first identify and present several use cases that are encountered in practice that require workloads to be efficiently placed or migrated to other GPUs to make room for incoming workloads. The overarching goal is to use as few GPUs as possible and to further minimize memory and compute wastage on GPUs that are utilized. We have developed two approaches to address this problem: an optimization method and a heuristic method. We benchmark these with two workload scheduling heuristics for multiple use cases. Our results show up to 2.85x improvement in the number of GPUs used and up to 70% reduction in GPU wastage over baseline heuristics. We plan to enable the SRE community to leverage our proposed method in production environments.
format Preprint
id arxiv_https___arxiv_org_abs_2409_06646
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Optimal Workload Placement on Multi-Instance GPUs
Turkkan, Bekir
Murali, Pavankumar
Harsha, Pavithra
Arora, Rohan
Vanloo, Gerard
Narayanaswami, Chandra
Distributed, Parallel, and Cluster Computing
There is an urgent and pressing need to optimize usage of Graphical Processing Units (GPUs), which have arguably become one of the most expensive and sought after IT resources. To help with this goal, several of the current generation of GPUs support a partitioning feature, called Multi-Instance GPU (MIG) to allow multiple workloads to share a GPU, albeit with some constraints. In this paper we investigate how to optimize the placement of Large Language Model (LLM)-based AI Inferencing workloads on GPUs. We first identify and present several use cases that are encountered in practice that require workloads to be efficiently placed or migrated to other GPUs to make room for incoming workloads. The overarching goal is to use as few GPUs as possible and to further minimize memory and compute wastage on GPUs that are utilized. We have developed two approaches to address this problem: an optimization method and a heuristic method. We benchmark these with two workload scheduling heuristics for multiple use cases. Our results show up to 2.85x improvement in the number of GPUs used and up to 70% reduction in GPU wastage over baseline heuristics. We plan to enable the SRE community to leverage our proposed method in production environments.
title Optimal Workload Placement on Multi-Instance GPUs
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2409.06646