mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-mxnet] stu1130 opened a new issue #16687: [Performance Regression] Scala/Java SSD inference
Date Fri, 01 Nov 2019 01:59:31 GMT
stu1130 opened a new issue #16687: [Performance Regression] Scala/Java SSD inference
   ## Description
   After #16602 merge, java/scala SSD GPU inference latency increased by 20x (from 70ms to
   ### Steps to reproduce
   (Paste the commands you ran that produced the error.)
   1. lanuch a ec2 instance (Deep Learning Base AMI (Ubuntu 16.04) Version 20.0) with at least
one gpu 
   2. ssh into the instance
   3. git clone --recursive
   4. git clone
   # dd4eaf5 is the first commit that introduces the regression
   # you can compare this &  bde443e which is the last commit without regression
   5. cd incubator-mxnet && git reset --hard dd4eaf5
   # build mxnet from source
   6. make -j$(nproc) USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 USE_OPENMP=1 USE_MKLDNN=1
   7. cd scala-package
   8. sudo apt install maven
   # this will build & deploy all the artifacts into local repository
   9. mvn deploy -Drepo_url=file://$HOME/.m2/repository
   10. cd ~/deeplearning-benchmark/scala-mxnet/java-bm
   11. make change to pom.xml in current directory
   replace this section
         <id>Apache Snapshot</id>
          <id>Apache Snapshot</id>
   It then will use the local repo instead of our public maven repo
   12. make change to bin/
   replace MXNET_VERSION="[1.5.0-SNAPSHOT,)"
   with MXNET_VERSION="[1.6.0-SNAPSHOT,)"
   # run the benchmark script in current directory (......./java-bm)
   13. bash bin/ && export SCALA_TEST_ON_GPU=1 &&
bash bin/ gpu /tmp/resnet50_ssd/resnet50_ssd_model /tmp/resnet50_ssd/images/dog.jpg
4 500
   @PatricZhao @ZhennanQin
   Thanks in advance & Happy Halloween!

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message