While persistent memory (PMEM) is a promising technology, leveraging it with legacy applications is non-trivial. This is primarily because legacy applications assume all memory is volatile and there is no notion of crash-consistency or state recovery. As new types of persistent and intelligent memory emerge, propelled by the CXL standard, the problem of integration and adoption remains. In this paper we present PyMM, a framework for heterogeneous memory management in Python. It provides a means to abstract upon different memory types and their underlying traits (e.g., persistence, near/far). PyMM focuses on ease-of-use and employs an approach of sub-classing existing heavily-used types such as NumPy ndarray and PyTorch tensors. By doing so, PyMM allows new memory adoption with only minor modification to the application.
CITATION STYLE
Waddington, D., Hershcovitch, M., & Dickey, C. (2021). PyMM: Heterogeneous Memory Programming for Python Data Science. In PLOS 2021 - Proceedings of the 2021 11th Workshop on Programming Languages and Operating Systems (pp. 31–37). Association for Computing Machinery, Inc. https://doi.org/10.1145/3477113.3487266
Mendeley helps you to discover research relevant for your work.