Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368....
Transcript of Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368....
![Page 1: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/1.jpg)
Benchmark on Deep Learning Frameworks
김 형 준
![Page 2: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/2.jpg)
![Page 3: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/3.jpg)
![Page 4: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/4.jpg)
https://mli.github.io/cvpr17/gluon_part1.pdf
![Page 5: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/5.jpg)
https://mli.github.io/cvpr17/gluon_part1.pdf
![Page 6: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/6.jpg)
빨강 파랑 노랑
![Page 7: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/7.jpg)
파랑 노랑 빨강
![Page 8: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/8.jpg)
Framework Benchmarkhttps://github.com/tensorflow/benchmarks/tree/master/scripts/keras_benchmarks
https://github.com/awslabs/keras-apache-mxnet/tree/keras2_mxnet_backend/benchmark
Tensorflow CPU (FULL-CORE)
GPU(1-GPU)
DNN(MLP)
CNN
LSTM
RN
MXNET CPU (FULL-CORE)
GPU(1-GPU)
DNN(MLP)
CNN
LSTM
RN
keras-mxnet
![Page 9: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/9.jpg)
File System
[CPU]
ubuntu 16.04
tensorflow==1.8.0 mxnet==1.2.0 keras=2.2.0
kears-mxnet=2.2.0
[CPU]
ubuntu 16.04
tensorflow==1.8.0 mxnet-mkl==1.2.0
keras=2.2.0 kears-mxnet=2.2.0
[GPU]
ubuntu 16.04 (cuda9.0, cudnn7)
tensorflow-gpu==1.8.0 mxnet-cu90==1.2.0
keras=2.2.0 kears-mxnet=2.2.0
DNN(MLP) CNN LSTM
![Page 10: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/10.jpg)
Between Platform - CPU
DNN_TRAIN DNN_INFER(ms) (ms)
![Page 11: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/11.jpg)
Tensorflow - CPU
![Page 12: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/12.jpg)
mxnet-mkl - CPU
![Page 13: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/13.jpg)
mxnet-mkl - CPU
![Page 14: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/14.jpg)
CNN_TRAIN CNN_INFER
LSTM_TRAIN LSTM_INFER
![Page 15: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/15.jpg)
Between Platform - GPU
DNN_TRAIN DNN_INFER(ms) (ms)
![Page 16: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/16.jpg)
Between Platform - GPU
CNN_TRAIN CNN_INFER
LSTM_TRAIN LSTM_INFER
![Page 17: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/17.jpg)
Tensorflow - CPU
![Page 18: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/18.jpg)
Tensorflow - GPU
![Page 19: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/19.jpg)
mxnet - GPU
![Page 20: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/20.jpg)
nvprof
![Page 21: Benchmark on Deep Learning Frameworks€¦ · Line # Hits Per 8234. 1ø5ø4. 565. 6512. 5ø17. 368. 409. Time 94.7 Line Contents arofite def self, : x_train, y_train self. x_train,](https://reader034.fdocument.pub/reader034/viewer/2022042218/5ec45e70a278ab1da5430bac/html5/thumbnails/21.jpg)
Thank you