arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.00619cs.LGcs.ARstat.ML
收藏

OpTorch:针对资源有限环境的优化深度学习架构

OpTorch: Optimized deep learning architectures for resource limited environments

National University of Computer and Emerging Sciences (NUCES-FAST)(国立计算机与新兴科学大学)

Salman Ahmed, Hammad Naveed

摘要:

深度学习算法已经取得了许多突破,在现实生活中有着各种各样的应用。随着深度学习流水线的数据和复杂性增加,计算资源成为瓶颈。在本文中,我们在训练的多个方面(包括时间和记忆)提出了优化的深度学习管道。OpTorch是一个机器学习库,旨在克服现有神经网络训练实现中的弱点。OpTorch提供了一些功能,可以用有限的计算资源来训练复杂的神经网络。OpTorch在Cifar-10和Cifar-100数据集上实现了与现有库相同的准确性,同时将内存使用量减少到约50%。我们还探索了权重对深度学习管道中总内存使用量的影响。在我们的实验中,并行编码-解码以及顺序检查点大大提高了内存和时间的使用,同时保持与现有管道相似的精度。OpTorch python软件包可在https://github.com/cbrl-nuces/optorch上获得

英文摘要:

Deep learning algorithms have made many breakthroughs and have various applications in real life. Computational resources become a bottleneck as the data and complexity of the deep learning pipeline increases. In this paper, we propose optimized deep learning pipelines in multiple aspects of training including time and memory. OpTorch is a machine learning library designed to overcome weaknesses in existing implementations of neural network training. OpTorch provides features to train complex neural networks with limited computational resources. OpTorch achieved the same accuracy as existing libraries on Cifar-10 and Cifar-100 datasets while reducing memory usage to approximately 50%. We also explore the effect of weights on total memory usage in deep learning pipelines. In our experiments, parallel encoding-decoding along with sequential checkpoints results in much improved memory and time usage while keeping the accuracy similar to existing pipelines. OpTorch python package is available at available at https://github.com/cbrl-nuces/optorch

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑