LooseLeaf: Enabling Serverless GPUs for Computational Notebooks
Yusen Wu, Tingfeng Lan, Benjamin Carver, Haoliang Wang, Geoffrey Fox, Yue Cheng
Key points
From the paper's conclusion- Our analysis on 5,000 real-world notebooks shows that these closures are small, and user-cell editing leaves seconds to prepare them.
Abstract
Computational notebooks reserve a GPU for the whole session, yet the GPU computes only while a cell executes and sits idle otherwise. Serverless execution would release the GPU between cells, but reconstructing the accumulated notebook state on a fresh worker imposes substantial cost on every GPU cell. This paper presents LooseLeaf, a serverless GPU platform for interactive notebooks. LooseLeaf derives the state and import closures of each cell, the minimal variables and packages that the cell needs. Our analysis on 5,000 real-world notebooks shows that these closures are small, and user-cell editing leaves seconds to prepare them. LooseLeaf prepares a GPU worker with these closures while the user edits the cell. After execution, the worker saves the updated state within seconds, so the GPU is reclaimable after every cell. LooseLeaf starts 95-98% of GPU cells with no visible delay, matches the interactivity of a pinned session, and provisions 32-55% fewer GPU-hours than state-of-the-art notebook platforms.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ModelLess: A Serverless System for Multi-Tier LLM Inference on Shared GPUsarXiv · 2026
- gKSM: GPU Memory Deduplication at Driver Layer for Serverless LLM InferencearXiv · 2026
- Why Kubernetes Cannot Contain a Full Lazy-Pulling Cache: Two Impossibility Results and a Bounded, Honest Design for Model ServingarXiv · 2026
- BlitzScale: Fast and Live Large Model Autoscaling with O(1) Host CachingACM Transactions on Computer Systems · 2026
- A Reproducible Predictive Autoscaling Evaluation for Polyglot Kubernetes Microservices Using Residual Recurrent ForecastingConcurrency and Computation: Practice and Experience · 2026
- Notrix: Understanding Machine Learning Solutions Across Computational Notebooks at ScalearXiv · 2026