NotebookOS: A Replicated Notebook Platform for Interactive Training with On-Demand GPUs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Carver, Benjamin, Zhang, Jingyuan, Wang, Haoliang, Mahadik, Kanak, Cheng, Yue
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918152763342848
author Carver, Benjamin
Zhang, Jingyuan
Wang, Haoliang
Mahadik, Kanak
Cheng, Yue
author_facet Carver, Benjamin
Zhang, Jingyuan
Wang, Haoliang
Mahadik, Kanak
Cheng, Yue
contents Interactive notebook programming is universal in modern ML and AI workflows, with interactive deep learning training (IDLT) emerging as a dominant use case. To ensure responsiveness, platforms like Jupyter and Colab reserve GPUs for long-running notebook sessions, despite their intermittent and sporadic GPU usage, leading to extremely low GPU utilization and prohibitively high costs. In this paper, we introduce NotebookOS, a GPU-efficient notebook platform tailored for the unique requirements of IDLT. NotebookOS employs replicated notebook kernels with Raft-synchronized replicas distributed across GPU servers. To optimize GPU utilization, NotebookOS oversubscribes server resources, leveraging high interarrival times in IDLT workloads, and allocates GPUs only during active cell execution. It also supports replica migration and automatic cluster scaling under high load. Altogether, this design enables interactive training with minimal delay. In evaluation on production workloads, NotebookOS saved over 1,187 GPU hours in 17.5 hours of real-world IDLT, while significantly improving interactivity.
format Preprint
id arxiv_https___arxiv_org_abs_2503_20591
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle NotebookOS: A Replicated Notebook Platform for Interactive Training with On-Demand GPUs
Carver, Benjamin
Zhang, Jingyuan
Wang, Haoliang
Mahadik, Kanak
Cheng, Yue
Distributed, Parallel, and Cluster Computing
C.2.4
Interactive notebook programming is universal in modern ML and AI workflows, with interactive deep learning training (IDLT) emerging as a dominant use case. To ensure responsiveness, platforms like Jupyter and Colab reserve GPUs for long-running notebook sessions, despite their intermittent and sporadic GPU usage, leading to extremely low GPU utilization and prohibitively high costs. In this paper, we introduce NotebookOS, a GPU-efficient notebook platform tailored for the unique requirements of IDLT. NotebookOS employs replicated notebook kernels with Raft-synchronized replicas distributed across GPU servers. To optimize GPU utilization, NotebookOS oversubscribes server resources, leveraging high interarrival times in IDLT workloads, and allocates GPUs only during active cell execution. It also supports replica migration and automatic cluster scaling under high load. Altogether, this design enables interactive training with minimal delay. In evaluation on production workloads, NotebookOS saved over 1,187 GPU hours in 17.5 hours of real-world IDLT, while significantly improving interactivity.
title NotebookOS: A Replicated Notebook Platform for Interactive Training with On-Demand GPUs
topic Distributed, Parallel, and Cluster Computing
C.2.4
url https://arxiv.org/abs/2503.20591