arsdragonfly opened a new issue #15908: mxnet fails to compile: onnx_pb.h: No 
such file or directory
URL: https://github.com/apache/incubator-mxnet/issues/15908
 
 
   mxnet fails to compile: onnx_pb.h: No such file or directory
   
   I'm building within a dockerfile shown below:
   ```docker
   FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
   
   RUN apt-get update && apt-get install -y wget
   
   # download mxnet
   ARG MXNET_VERSION=1.5.0
   ARG MXNET_DIR=apache-mxnet-src-${MXNET_VERSION}-incubating
   RUN wget 
https://github.com/apache/incubator-mxnet/releases/download/${MXNET_VERSION}/${MXNET_DIR}.tar.gz
 && tar -xzf ${MXNET_DIR}.tar.gz
   
   # compile mxnet
   RUN apt-get install -y wget cmake libopenblas-dev liblapack-dev libnvinfer5 
libnvinfer-dev
   RUN cd /${MXNET_DIR} && make -j $(nproc) \
        USE_OPENCV=0 \
        USE_BLAS=openblas \
        USE_CUDA=1 \
        USE_CUDA_PATH=/usr/local/cuda \
        USE_CUDNN=1 \
        USE_TENSORRT=1
   
   ```

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


With regards,
Apache Git Services

Reply via email to