BFTrainer: Low-Cost Training of Neural Networks on Unfillable Supercomputer Nodes

Zhengchun Liu, Rajkumar Kettimuthu, Michael E. Papka, Ian Foster
6/22/2021
4 citations
cs.DCcs.LG

Official code: lzhengchun/BFTrainer-Log-Replayer (1 star, Python, last commit 2022-04-01).

Abstract

Supercomputer FCFS-based scheduling policies result in many transient idle nodes, a phenomenon that is only partially alleviated by backfill scheduling methods that promote small jobs to run before large jobs. Here we describe how to realize a novel use for these otherwise wasted resources, namely, deep neural network (DNN) training.

Show full abstract

This important workload is easily organized as many small fragments that can be configured dynamically to fit essentially any node*time hole in a supercomputer's schedule. We describe how the task of rescaling suitable DNN training tasks to fit dynamically changing holes can be formulated as a deterministic mixed integer linear programming (MILP)-based resource allocation algorithm, and show that this MILP problem can be solved efficiently at run time. We show further how this MILP problem can be adapted to optimize for administrator- or user-defined metrics. We validate our method with supercomputer scheduler logs and different DNN training scenarios, and demonstrate efficiencies of up to 93% compared with running the same training tasks on dedicated nodes. Our method thus enables substantial supercomputer resources to be allocated to DNN training with no impact on other applications.

View on arXivView PDF

Code Implementations(1)

10PythonApr 8, 20224 years ago

Similar Papers

Cite this paper

@article{liu2021bftrainer,
  title  = {BFTrainer: Low-Cost Training of Neural Networks on Unfillable Supercomputer Nodes},
  author = {Zhengchun Liu and Rajkumar Kettimuthu and Michael E. Papka and Ian Foster},
  year   = {2021},
  eprint = {2106.12091},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.12091}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.12091.svg)](https://codeofpaper.com/paper/2106.12091)

Discussion