zheng-da commented on issue #10317: [MXNET-264] Improve performance of MKLDNN in small batch sizes. URL: https://github.com/apache/incubator-mxnet/pull/10317#issuecomment-378440323 Here is the performance before and after the optimizations. The performance is measured with `python example/image-classification/benchmark_score.py`. model | batch size | before | after -- | -- | -- | -- AlexNet | 1 | 268.63 | 378.96 | 2 | 431.88 | 585.72 | 4 | 580.75 | 701.16 | 8 | 683.26 | 922.76 | 16 | 932.89 | 1009.10 | 32 | 866.39 | 1268.36 Inception-BN | 1 | 102.64 | 124.97 | 2 | 154.96 | 204.07 | 4 | 255.78 | 300.68 | 8 | 342.59 | 353.10 | 16 | 380.03 | 423.39 | 32 | 468.13 | 479.96 Inception-V3 | 1 | 54.73 | 57.70 | 2 | 85.17 | 93.16 | 4 | 120.25 | 127.48 | 8 | 149.29 | 153.57 | 16 | 162.59 | 170.97 | 32 | 178.43 | 175.42 Resnet-50 | 1 | 72.79 | 77.32 | 2 | 112.25 | 106.14 | 4 | 141.65 | 145.12 | 8 | 161.16 | 165.45 | 16 | 173.28 | 177.18 | 32 | 195.73 | 195.85
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services