Tenplex : Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collections

dc.contributorAalto-yliopistofi
dc.contributorAalto Universityen
dc.contributor.authorWagenländer, Marcel
dc.contributor.authorLi, Guo
dc.contributor.authorZhao, Bo
dc.contributor.authorMai, Luo
dc.contributor.authorPietzuch, Peter
dc.contributor.departmentDepartment of Computer Scienceen
dc.contributor.groupauthorComputer Science Professorsen
dc.contributor.groupauthorComputer Science - Computing Systems (ComputingSystems) - Research areaen
dc.contributor.groupauthorComputer Science - Large-scale Computing and Data Analysis (LSCA) - Research areaen
dc.contributor.groupauthorComputer Science - Artificial Intelligence and Machine Learning (AIML) - Research areaen
dc.contributor.groupauthorProfessorship Zhao Boen
dc.contributor.organizationImperial College London
dc.contributor.organizationUniversity of Edinburgh
dc.date.accessioned2025-01-29T08:14:47Z
dc.date.available2025-01-29T08:14:47Z
dc.date.issued2024-11-15
dc.descriptionPublisher Copyright: © 2024 Copyright held by the owner/author(s).
dc.description.abstractDeep learning (DL) jobs use multi-dimensional parallelism, i.e., combining data, model, and pipeline parallelism, to use large GPU clusters efficiently. Long-running jobs may experience changes to their GPU allocation: (i) resource elasticity during training adds or removes GPUs; (ii) hardware maintenance may require redeployment on different GPUs; and (iii) GPU failures force jobs to run with fewer devices. Current DL frameworks tie jobs to a set of GPUs and thus lack support for these scenarios. In particular, they cannot change the multi-dimensional parallelism of an already-running job in an efficient and model-independent way.We describe Tenplex, a state management library for DL systems that enables jobs to change their parallelism dynamically after the GPU allocation is updated at runtime. Tenplex achieves this through a new abstraction, a parallelizable tensor collection (PTC), that externalizes the job state during training. After a GPU change, Tenplex uses the PTC to transform the job state: the PTC repartitions the dataset state under data parallelism and exposes it to GPU workers through a virtual file system; and the PTC obtains the model state as partitioned checkpoints and transforms them to reflect the new parallelization configuration. For efficiency, Tenplex executes PTC transformations in parallel with minimum data movement between GPU workers. Our experiments show that Tenplex enables DL jobs to support dynamic parallelization with low overhead.en
dc.description.versionPeer revieweden
dc.format.extent16
dc.format.mimetypeapplication/pdf
dc.identifier.citationWagenländer, M, Li, G, Zhao, B, Mai, L & Pietzuch, P 2024, Tenplex : Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collections. in SOSP 2024 - Proceedings of the 2024 ACM SIGOPS 30th Symposium on Operating Systems Principles. ACM, pp. 195-210, ACM Symposium on Operating Systems Principles, Austin, Texas, United States, 04/11/2024. https://doi.org/10.1145/3694715.3695975en
dc.identifier.doi10.1145/3694715.3695975
dc.identifier.isbn979-8-4007-1251-7
dc.identifier.otherPURE UUID: 5ceeac03-bdfa-4ca2-8e58-435775f36890
dc.identifier.otherPURE ITEMURL: https://research.aalto.fi/en/publications/5ceeac03-bdfa-4ca2-8e58-435775f36890
dc.identifier.otherPURE FILEURL: https://research.aalto.fi/files/171914673/Tenplex_-_Dynamic_Parallelism_for_Deep_Learning_using_Parallelizable_Tensor_Collections.pdf
dc.identifier.urihttps://aaltodoc.aalto.fi/handle/123456789/133870
dc.identifier.urnURN:NBN:fi:aalto-202501292153
dc.language.isoenen
dc.relation.ispartofACM Symposium on Operating Systems Principlesen
dc.relation.ispartofseriesSOSP 2024 - Proceedings of the 2024 ACM SIGOPS 30th Symposium on Operating Systems Principlesen
dc.relation.ispartofseriespp. 195-210en
dc.rightsopenAccessen
dc.rightsCC BY
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subject.keyworddistributed machine learning
dc.subject.keywordresource changes
dc.titleTenplex : Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collectionsen
dc.typeA4 Artikkeli konferenssijulkaisussafi
dc.type.versionpublishedVersion

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Tenplex_-_Dynamic_Parallelism_for_Deep_Learning_using_Parallelizable_Tensor_Collections.pdf
Size:
1.58 MB
Format:
Adobe Portable Document Format