Journal of Computer Science · 2019 · 15 citations · 12 references
ComputingComputer EngineeringComputer ScienceArtificial IntelligenceHeterogeneous ComputingMachine LearningDeep LearningGraphics Processing Unit ArchitectureGraphics Processing Unit ComputingHardware AccelerationOptimization For Machine LearningPerformance Bottleneck AnalysisConvolutional Neural NetworksDeep Learning On GpusExecution Time AnalysisExperimental StudiesGpu Performance ProfilingHardware ResourcesSoftware LibrariesStatistical Testing
Through the increase in deep learning study and use, in the last years there was a development of specific libraries for Deep Neural Network (DNN). Each one of these libraries has different performance results and applies different techniques to optimize the implementation of algorithms. Therefore, even though implementing the same algorithm and using different libraries, the performance of their executions may have a considerable variation. For this reason, developers and scientists that work with deep learning need scientific experimental studies that examine the performance of those libraries. Therefore, this paper has the aim of evaluating and comparing these two libraries: TensorFlow and PyTorch. We have used three parameters: Hardware utilization, hardware temperature and execution time in a context of heterogeneous platforms with CPU and GPU. We used the MNIST database for training and testing the LeNet Convolutional Neural Network (CNN). We performed a scientific experiment following the Goal Question Metrics (GQM) methodology, data were validated through statistical tests. After data analysis, we show that PyTorch library presented a better performance, even though the TensorFlow library presented a greater GPU utilization rate.
12
Gradient-based learning applied to document recognition
Yann LeCun, Léon Bottou, Yoshua Bengio et al. · Proceedings of the IEEE · 1998 · 58.2K citations · Full text
Automatic differentiation in PyTorch
Adam Paszke, Sam Gross, Soumith Chintala et al. · 2017 · 11.1K citations
The Goal Question Metric Approach
Victor R. Basili, Gianluigi Caldiera, H. Dieter Rombach · 1994 · 1.6K citations
Benchmarking State-of-the-Art Deep Learning Software Tools
Shaohuai Shi, Qiang Wang, Pengfei Xu et al. · 2016 · 303 citations