Open apeforest opened 5 years ago
Hey, this is the MXNet Label Bot. Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it. Here are my recommended labels: Performance
There seems to be a regression on resnet-18 model inference time (When running on GPU) post this PR, this was caught in MMS. nightly runs, the changes in this PR seem to be causing this issue.
Setup
We use MMS docker images to run load tests, we can start a local container using the following command.
for building MXNet opencv 3.2 and CUDA 9.2 were used.
Load testing was done using locust, to install locust
Download Test image
The locust script for load testing
Running Load test
Registering and loading model
Start a single worker and run latency test
To change mxnet version/build in docker image,
NOTE By default recent pip version is pulled.
Results
on mxnet-cu92==1.3.0post0
On mxnet-cu92 with commit https://github.com/apache/incubator-mxnet/commit/f9f74169bb05f85d85dec5991aa5fc9050dec9f6
This regression thus carries over to 1.3.1
There is a 30% increase in latency/inference time for resnet-18 based on the above results.