Guanhua Wang, Olatunji Ruwase, Bing Xie, Yuxiong He
{"title":"FastPersist: Accelerating Model Checkpointing in Deep Learning","authors":"Guanhua Wang, Olatunji Ruwase, Bing Xie, Yuxiong He","doi":"arxiv-2406.13768","DOIUrl":null,"url":null,"abstract":"Model checkpoints are critical Deep Learning (DL) artifacts that enable fault\ntolerance for training and downstream applications, such as inference. However,\nwriting checkpoints to persistent storage, and other I/O aspects of DL\ntraining, are mostly ignored by compute-focused optimization efforts for faster\ntraining of rapidly growing models and datasets. Towards addressing this\nimbalance, we propose FastPersist to accelerate checkpoint creation in DL\ntraining. FastPersist combines three novel techniques: (i) NVMe optimizations\nfor faster checkpoint writes to SSDs, (ii) efficient write parallelism using\nthe available SSDs in training environments, and (iii) overlapping\ncheckpointing with independent training computations. Our evaluation using real\nworld dense and sparse DL models shows that FastPersist creates checkpoints in\npersistent storage up to 116x faster than baseline, and enables per-iteration\ncheckpointing with negligible overhead.","PeriodicalId":501291,"journal":{"name":"arXiv - CS - Performance","volume":"62 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Performance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.13768","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Model checkpoints are critical Deep Learning (DL) artifacts that enable fault
tolerance for training and downstream applications, such as inference. However,
writing checkpoints to persistent storage, and other I/O aspects of DL
training, are mostly ignored by compute-focused optimization efforts for faster
training of rapidly growing models and datasets. Towards addressing this
imbalance, we propose FastPersist to accelerate checkpoint creation in DL
training. FastPersist combines three novel techniques: (i) NVMe optimizations
for faster checkpoint writes to SSDs, (ii) efficient write parallelism using
the available SSDs in training environments, and (iii) overlapping
checkpointing with independent training computations. Our evaluation using real
world dense and sparse DL models shows that FastPersist creates checkpoints in
persistent storage up to 116x faster than baseline, and enables per-iteration
checkpointing with negligible overhead.