arXiv:2609.03562cs.DCSep 2026

Manuscript Offprint

arXiv:2609.03562

JuPyLive: Seamless Migration of Jupyter Notebook Resources from Laptop to HPC

Sima Attar-Khorasani, Matthias Lieber, Siavash Ghiasvand

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sima Attar-Khorasani¹,²[0000-0002-7396-1983], Matthias Lieber¹,²[0000-0003-3137-0648], and Siavash Ghiasvand¹,³[0000-0001-6627-0159]

¹ Center for Interdisciplinary Digital Sciences (CIDS), TUD Dresden University of Technology, Dresden, Germany

² Center for Information Services and High Performance Computing (ZIH), TUD Dresden University of Technology, Dresden, Germany

³ Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI), Dresden/Leipzig, Germany

Abstract. This work introduces JuPyLive, a migration mechanism that enables seamless transition of Jupyter notebooks between local resources of user's workstation and remote resources of high-performance computing (HPC) environments, while preserving the user experience. JuPyLive eliminates the underlying complexities of migration process, enabling users to freely choose among available local and remote resources, directly within the familiar Jupyter notebook environment via a single click. JuPyLive leverages ElasticNotebook to manage in-memory state migration, it automates resource allocation on HPC cluster and orchestrates required remote communication channels between the source and destination to enable a bidirectional migration. Furthermore, HPC status monitor of JuPyLive provides a live overview of available remote resources, allowing users to make informed decisions on choosing the relevant resources before initiating a migration process. The proposed fully automatic mechanism requires no code changes or configurations by the end user, nor does it demand users to learn a new syntax, instead the migration process can be intuitively initiated and monitored using visual elements from within the Jupyter notebook. By bridging the gap between local workspace and remote resources, JuPyLive offers a seamless experience for scaling local resource-intensive workflows with minimal user intervention, thus further democratizing the usage of HPC clusters among the interdisciplinary researchers.

Keywords: Heterogeneous Live Migration · Jupyter Notebook · High performance Computing (HPC)

1 Introduction

New algorithms are often sophisticated combination of several multi-domain methodologies that employ multiple data processing layers, thus increases the need for higher computational resources. The new advancements in the field of machine learning and artificial intelligence, and the current shift towards data-driven analysis further increase this demand. Modern computational models also require more resources to provide higher accuracy and detail. Many modern machine learning frameworks hide complex computations behind simple interfaces, but the underlying processes remain resource intensive. These create a paradox in which interdisciplinary researchers can easily implement sophisticated computer programs without computer science background, however they often can run only on increasingly powerful hardware than their predecessors. Therefore, lowering the access barrier to high performance computing (HPC) resources is an essential step in enabling scientists from various domains to benefit from the potentials of recent advancements, particularly in the field of machine learning.

However, HPC resources are limited and in comparison to local less-powerful resources, significantly more expensive. Therefore, the access to HPC resources needs to be regulated and carefully considered in order to avoid unnecessary overheads.

In response to this limitation, a common practice in implementation cycle of computer programs (hereafter: code) is utilizing less powerful local resources for implementing and debugging the early prototypes, and later executing the more mature and tested versions of the code on high performance resources. However, often certain sections of even early prototypes, such as sections that rely on data-driven algorithms or machine learning frameworks, require more resources than those locally available (e.g., high-end GPUs). Which in turn requires continuous switching between different computational resources, even for development of early prototypes.

Although this switch between local and HPC resources is a common practice among experienced users, this is not convenient and for many users this migration of code and development environment, which usually requires manual configurations and adjustments, imposes significant overhead and can become a preventive barrier.

Furthermore, most research-oriented HPC clusters are using Slurm as the main job scheduler [3] beside other accounting tools to regulate the access to HPC resources. The batch nature of job schedulers on HPC clusters, in contrast to the common interactive paradigm of programming, imposes further challenge for a barrier-free access to HPC resources.

To addresses these challenges, this works proposes JuPyLive, a transparent migration mechanism which enables users to seamlessly switch between local and HPC resources on demand; emulating an elastic resource pool that adapts itself based on the users resource demands. The source code and a demonstration video is available on the code repository ⁴.

Considering that the focus of this work is on development environments, the popularity of Jupyter notebook among interdisciplinary researchers, the layers of abstraction and flexibility that it offers, and the cell-based execution context, JupyterHub has been chosen as the underlying development environments. Although the same mechanism can be implemented in several other development environments.

⁴ Source code: https://gitlab.hrz.tu-chemnitz.de/siat527e--tu-dresden.de/jupylive, Demo video: https://youtu.be/JnmCyRrKOEE

JuPyLive instances can be initiated on the user's computer or any favorable platform, and whenever user requires different computational resources, a single click performs all necessary adaptations and informs the user once the migration is finished and requested resources are available. The migration process can be performed as many time as necessary based on the users demand. It is worth emphasizing that JuPyLive enables on-demand access to all HPC resources such as GPUs within the same Jupyter notebook, even when such resources are not present in the local environment.

The rest of this document is structured as follows: section 2 discusses some related work, then in section 3 we will go through the implementation details, section 3.5 shows the limitation as well we the assumptions that we set, and finally in section 4 we'll see Conclusion and Future Direction.