[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543469438 > You might want to head over to the discuss forum. 0.10.0 isn't supported anymore but maybe the use case you want can be done in a later version. > English: https://discuss.mxnet.io/ > Chinese: https://discuss.gluon.ai/ thank you , I will try later version again 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
[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543166819 > Quick question, but is there a specific reason you're using 0.10.0? We already released 1.5.1. I want to use FGFA(Flow Guided Feature Aggregation) which base mxnet 0.10.0. I pip install mxnet 1.5.1 l in another ubuntu server , but I can not use FGFA base on 1.5.1 . another reason is I don't konw how to do about next line from FGFA github. ` For advanced users, you may put your Python packge into ./external/mxnet/$(YOUR_MXNET_PACKAGE), and modify MXNET_VERSION in ./experiments/fgfa_rfcn/cfgs/*.yaml to $(YOUR_MXNET_PACKAGE). Thus you can switch among different versions of MXNet quickly.` 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
[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543093915 then , I set use_cudnn = 0 cd python python setup.py install then `import mxnet` then ` File "", line 1, in File "/home/lxr/anaconda3/envs/py37/lib/python3.7/site-packages/mxnet-0.10.0-py3.7.egg/mxnet/__init__.py", line 7, in from .base import MXNetError File "/home/lxr/anaconda3/envs/py37/lib/python3.7/site-packages/mxnet-0.10.0-py3.7.egg/mxnet/base.py", line 7, in import ctypes File "/home/lxr/anaconda3/envs/py37/lib/python3.7/ctypes/__init__.py", line 7, in from _ctypes import Union, Structure, Array ImportError: cannot import name 'Union' from '_ctypes' (/home/lxr/testing/Feature/incubator-mxnet/python/mxnet/_ctypes/__init__.py)` 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
[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543070162 > `make -j8 > build.log 2>&1` > > then > > `src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnRNNDescriptor_t" is incompatible with parameter of type "cudnnHandle_t" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: argument of type "uint32_t" is incompatible with parameter of type "cudnnRNNDescriptor_t" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnDropoutDescriptor_t" is incompatible with parameter of type "int" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnRNNInputMode_t" is incompatible with parameter of type "cudnnDropoutDescriptor_t" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnDirectionMode_t" is incompatible with parameter of type "cudnnRNNInputMode_t" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnRNNMode_t" is incompatible with parameter of type "cudnnDirectionMode_t" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnDataType_t" is incompatible with parameter of type "cudnnRNNMode_t" > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here > > src/operator/./cudnn_rnn-inl.h(435): error: too few arguments in function call > detected during: > instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector &, const std::vector &, const std::vector &, const std::vector &) [with DType=float]" > (54): here > instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" > src/operator/rnn.cu(20): here` `8 errors detected in the compilation of "/tmp/tmpxft_a3de_-11_rnn.compute_50.cpp1.ii". Makefile:211: recipe for target 'build/src/operator/rnn_gpu.o' failed make: *** [build/src/operator/rnn_gpu.o] Error 2 make: *** 正在等待未完成的任务` 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
[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543068059 > > `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 > build.log 2>&1` > > then : > > `/incubator-mxnet/mshadow/mshadow/././half.h(19): error: class "__half" has no member "x"` > > `Makefile:211: recipe for target 'build/src/operator/tensor/elemwise_binary_op_extended_gpu.o' failed` > > `make: *** [build/src/operator/tensor/sample_op_gpu.o] Error 1` > > ` errors detected in the compilation of "/tmp/tmpxft_5ec6_-8_elemwise_binary_scalar_op_extended.compute_50.cpp1.ii". Makefile:211: recipe for target 'build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o' failed make: *** [build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o] Error 1` > > my cuda 10.1 > > I try cuda 8 again , wait I shift to cuda-8.0 ,then make `src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnRNNDescriptor_t" is incompatible with parameter of type "cudnnHandle_t" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: argument of type "uint32_t" is incompatible with parameter of type "cudnnRNNDescriptor_t" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnDropoutDescriptor_t" is incompatible with parameter of type "int" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnRNNInputMode_t" is incompatible with parameter of type "cudnnDropoutDescriptor_t" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnDirectionMode_t" is incompatible with parameter of type "cudnnRNNInputMode_t" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnRNNMode_t" is incompatible with parameter of type "cudnnDirectionMode_t" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: argument of type "cudnnDataType_t" is incompatible with parameter of type "cudnnRNNMode_t" detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(const mxnet::OpContext &, const std::vector> &, const std::vector> &, const std::vector> &, const std::vector> &) [with DType=float]" (54): here instantiation of "mxnet::op::CuDNNRNNOp::CuDNNRNNOp(mxnet::op::RNNParam) [with DType=float]" src/operator/rnn.cu(20): here src/operator/./cudnn_rnn-inl.h(435): error: too few arguments in function call detected during: instantiation of "void mxnet::op::CuDNNRNNOp::Forward(
[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543021580 > `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 > build.log 2>&1` > > then : > > `/incubator-mxnet/mshadow/mshadow/././half.h(19): error: class "__half" has no member "x"` > `Makefile:211: recipe for target 'build/src/operator/tensor/elemwise_binary_op_extended_gpu.o' failed` > `make: *** [build/src/operator/tensor/sample_op_gpu.o] Error 1` > > ` errors detected in the compilation of "/tmp/tmpxft_5ec6_-8_elemwise_binary_scalar_op_extended.compute_50.cpp1.ii". Makefile:211: recipe for target 'build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o' failed make: *** [build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o] Error 1` > > my cuda 10.1 I try cuda 8 again , wait 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
[GitHub] [incubator-mxnet] tianlanli commented on issue #16516: mxnet 0.10.0 compile fail
tianlanli commented on issue #16516: mxnet 0.10.0 compile fail URL: https://github.com/apache/incubator-mxnet/issues/16516#issuecomment-543016458 > `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 > build.log 2>&1` > > then : > > `/incubator-mxnet/mshadow/mshadow/././half.h(19): error: class "__half" has no member "x"` > `Makefile:211: recipe for target 'build/src/operator/tensor/elemwise_binary_op_extended_gpu.o' failed` > `make: *** [build/src/operator/tensor/sample_op_gpu.o] Error 1` > > ` errors detected in the compilation of "/tmp/tmpxft_5ec6_-8_elemwise_binary_scalar_op_extended.compute_50.cpp1.ii". Makefile:211: recipe for target 'build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o' failed make: *** [build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o] Error 1` > > my cuda 10.1 `make -j8 USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=0 USE_CUDNN=0 > build.log 2>&1` then `/usr/bin/ld: 找不到 -lopenblas` but in config.mk `ADD_LDFLAGS = -I/home/ll/software2/OpenBLAS/lib` `ADD_CFLAGS = -I/home/ll/software2/OpenBLAS/include` in my .bashrc `export PATH="/home/ll/software2/OpenBLAS/:$PATH" export PKG_CONFIG_PATH="/home/ll/software2/OpenBLAS/lib/pkgconfig:$PKG_CONFIG_PATH" export LD_LIBRARY_PATH="/home/ll/software2/OpenBLAD/lib:$LD_LIBRARY_PATH"` 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