Open StatML opened 6 years ago
@StatML - Thanks for submitting the issue. On which OS are you trying to build? Did you follow instructions for building MXNet from source here - http://mxnet.incubator.apache.org/install/index.html?platform=Linux&language=Python&processor=GPU
I tried on mac and ubuntu and it works.
Also, just to make sure you cloned recursively right?
git clone --recursive https://github.com/apache/incubator-mxnet
Hi @sandeep-krishnamurthy Thank you for your response. I am using Ubuntu 16.04 and I did follow the building instructions you pasted. :(
I am seeing the same issue, is there any update or known fix for this ?
The build without NNPACK is fine, but with USE_NNPACK = 1
this error appears.
I followed the NNPACK installation guidelines from https://mxnet.incubator.apache.org/faq/nnpack.html
I am seeing the same issue too!
I followed the NNPACK installation guidelines from https://mxnet.incubator.apache.org/faq/nnpack.html too! is there any update or known fix for this ?
I just tried on Ubuntu 18.04.1, this issue is still not fixed... :(
meet the same error
Linux distro and version:
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
Release: 7.4.1708
Codename: Core
@MartinRenaudin do you have resolved this, i've met the same error, could you give some help? I found that in nnpack_fully_connected-inl.h the op inherit from fullyconnectedop but it cannot be recognized since it cannot find in fully_connected-inl.h. But i still have not method to resolve it.
got the same error here, still no solutions so far? this is the build script for MXNet 1.7 on docker:
# Install MAXNET
WORKDIR /
RUN git clone --recursive https://github.com/apache/incubator-mxnet mxnet && \
cd mxnet && \
git checkout tags/1.7.0 -b 1.7.0 && \
git submodule update --init --recursive || true
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/NNPACK/lib
WORKDIR /mxnet
RUN cp make/staticbuild/linux_cpu.mk config.mk && \
echo "ADD_LDFLAGS = -L/NNPACK/lib/ -lnnpack -lpthreadpool" >> config.mk && \
echo "ADD_CFLAGS = -I/NNPACK/include/ -I/NNPACK/third-party/pthreadpool/include/ -I/opt/intel/mkl/include" >> config.mk && \
echo "USE_NNPACK=1" >> config.mk && \
echo "USE_BLAS=mkl" >> config.mk
# echo "USE_OPENCV=1" >> make/config.mk
RUN make DMLCCORE
RUN make $PWD/3rdparty/tvm/nnvm/lib/libnnvm.a
RUN make PSLITE
RUN make mkldnn
WORKDIR /mxnet
# RUN rm -rf build && \
# mkdir -p build && \
# cd build && \
# cmake -D USE_CUDA=OFF .. && \
# cmake --build . --parallel ${nproc}
RUN make
Would like to build mxnet v1.6.x for raspberry pi 4 ubuntu (arm64), fails with the same error. Is NNPACK still supported? There are other unresolved issues with this package in the issue ticker...
Also cross compiling with docker fails... but I have to modify the build commands, to get it working until it fails at compile time...
Description
C++ Syntax Error occurs when building from source
Environment info (Required)
Package used (Python/R/Scala/Julia): Python
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio): gcc 5.4
MXNet commit hash: 74d669293f68cf7e9325dcedc569164f3d7cfa90
Build config:
Error Message:
(Paste the complete error message, including stack trace.)
nnpack_fully_connected-inl.h:45:55: error: expected template-name before ‘<’ token
Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?