ModTrans: Translating Real-world Models for Distributed Training Simulator
Organizations: University of Wisconsin-Madison Madison, WI, USA
Abstract
Large-scale distributed training has been a research hot spot in machine learning systems for industry and academia in recent years. However, conducting experiments without physical machines and corresponding resources is difficult. One solution is to leverage distributed training simulators, but current ones like ASTRA-sim do not support importing real-world developed models, which poses challenges for ML researchers seeking to use them. Based on this challenge, we developed ModTrans, a translator supporting format translation from any real-world model to the ASTRA-sim simulator's input, removing the barrier between machine learning experts and machine learning system researchers. The experiment results show that ModTrans's cost is negligible.
Figures & tables
| Layer Name | Variables | Data Type | Model Size |
| vgg16-conv0-weight | 1728 | FLOAT | 6912 |
| vgg16-conv1-weight | 36864 | FLOAT | 147456 |
| vgg16-conv2-weight | 73728 | FLOAT | 294912 |
| vgg16-conv3-weight | 147456 | FLOAT | 589824 |
| vgg16-conv4-weight | 294912 | FLOAT | 1179648 |
| vgg16-conv5-weight | 589824 | FLOAT | 2359296 |
| Layer Name | Variables | Data Type | Model Size |
| vgg19-conv0-weight | 1728 | FLOAT | 6912 |
| vgg19-conv1-weight | 36864 | FLOAT | 147456 |
| vgg19-conv2-weight | 73728 | FLOAT | 294912 |
| vgg19-conv3-weight | 147456 | FLOAT | 589824 |
| vgg19-conv4-weight | 294912 | FLOAT | 1179648 |
| vgg19-conv5-weight | 589824 | FLOAT | 2359296 |
| Layer Name | Extracted Model | ASTRA-SIM Model |
| resnet-conv0 | 37632 | 37632 |
| resnet-stage1-conv0 | 16384 | 16384 |
| resnet-stage1-conv1 | 147456 | 147456 |
| resnet-stage1-conv2 | 65536 | 65536 |
| resnet-stage1-conv3 | 65536 | 65536 |
| resnet-stage1-conv4 | 65536 | 65536 |
Distributed Training
Distributed training coordinates computation across multiple devices or machines to train models that exceed single-device limits.
See all 129 papers