Skip to main navigation Skip to search Skip to main content

Lazy Python Dependency Management in Large-Scale Systems

  • The University of Chicago

Research output: Contribution to Book/Report types › Contribution to conference proceedings › peer-review

2 Citations (Scopus)

Abstract

Python has become the language of choice for managing many scientific applications. However, when distributing a Python application, it is necessary that all application dependencies be distributed and available in the target execution environment. A specific consequence is that Python workflows suffer from slow scale out due to the time required to import dependencies. We describe ProxyImports, a method to package and distribute Python dependencies in a lazy fashion while remaining transparent and easy to use. Using ProxyImports, Python packages are loaded only once (e.g., by a workflow head node) and are transferred asynchronously to compute nodes. We evaluate our implementation on the Perlmutter and Theta supercomputers and in an HPC cloud-bursting scenario. Our experiments show that ProxyImports significantly reduces the average time to import large modules across an HPC system and demonstrate that this method can be used easily to distribute user-packages to cloud resources. We conclude that ProxyImports improves application runtime, reduces contention on metadata servers and facilitates runtime portability of Python applications.

Original languageEnglish
Title of host publicationProceedings 2023 IEEE 19th International Conference on e-Science, e-Science 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350322231
DOIs
Publication statusPublished - 2023
Externally publishedYes
Event19th IEEE International Conference on e-Science, e-Science 2023 - Limassol, Cyprus
Duration: 9 Oct 2023 → 14 Oct 2023

Publication series

NameProceedings 2023 IEEE 19th International Conference on e-Science, e-Science 2023

Conference

Conference19th IEEE International Conference on e-Science, e-Science 2023
Country/TerritoryCyprus
CityLimassol
Period9/10/23 → 14/10/23

!!!Keywords

  • Distributed Computing
  • File System
  • High Performance Computing
  • Python
  • Scientific Workflows

Fingerprint

Dive into the research topics of 'Lazy Python Dependency Management in Large-Scale Systems'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this