You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/05/05 01:41:55 UTC

[GitHub] rahul003 commented on issue #8671: Discussion and troubleshooting on PyPI (pip) installation

rahul003 commented on issue #8671: Discussion and troubleshooting on PyPI (pip) installation
URL: https://github.com/apache/incubator-mxnet/issues/8671#issuecomment-386770513
 
 
   @szha Can we turn on the USE_LIBJPEG_TURBO flag. I find that it helps improve the speed of IO pipeline significantly?
   
   Results for Resnet50 v1 Imagenet, 480px resized data, batch size 1920, float16, symbolic:
   Current: 3600samples/sec
   With libjpeg-turbo: 4600samples/sec
   
   As an example, Here's how I used LIBJPEG_TURBO on ubuntu.
   ```
   sudo apt-get install autoconf automake libtool nasm
   JPEG_TURBO_VERSION=1.5.2 && \
   wget -q -O - https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${JPEG_TURBO_VERSION}.tar.gz | tar -xzf - && \
   cd libjpeg-turbo-${JPEG_TURBO_VERSION} && \
   autoreconf -fiv && \
   ./configure --enable-shared --prefix=/usr 2>&1 >/dev/null && \
   sudo make -j"$(nproc)" install 2>&1 >/dev/null && \
   rm -rf libjpeg-turbo-${JPEG_TURBO_VERSION}
   ```
   Flags
   `USE_LIBJPEG_TURBO=1 USE_LIBJPEG_TURBO_PATH=/usr`
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services