Package Base Details: mxnet

Git Clone URL: https://aur.archlinux.org/mxnet.git (read-only, click to copy)
Keywords: deep_learning deep_neural_networks distributed_systems machine_learning
Submitter: Godisemo
Maintainer: None
Last Packager: petronny
Votes: 12
Popularity: 0.000009
First Submitted: 2017-02-11 00:12 (UTC)
Last Updated: 2020-12-12 11:17 (UTC)

Pinned Comments

petronny commented on 2019-06-21 08:00 (UTC) (edited on 2019-06-25 07:24 (UTC) by petronny)

And about this package, I've splitted it into mxnet{,-cuda,-mkl}. And it will take lots of time and space to compile.

The pre-built binaries of mxnet{,-cuda,-mkl} and their dependencies can be found in arch4edu.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

petronny commented on 2019-06-18 05:08 (UTC)

@zottelef Do you have the latest cuda installed?

zottelef commented on 2019-06-17 09:29 (UTC) (edited on 2019-06-17 11:32 (UTC) by zottelef)

Got this error trying to compile mxnet:

/opt/cuda/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -O3 -ccbin g++ -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/fabio/.cache/pikaur/build/mxnet/src/incubator-mxnet/3rdparty/mshadow/ -I/home/fabio/.cache/pikaur/build/mxnet/src/incubator-mxnet/3rdparty/dmlc-core/include -fPIC -I/home/fabio/.cache/pikaur/build/mxnet/src/incubator-mxnet/3rdparty/tvm/nnvm/include -I/home/fabio/.cache/pikaur/build/mxnet/src/incubator-mxnet/3rdparty/dlpack/include -I/home/fabio/.cache/pikaur/build/mxnet/src/incubator-mxnet/3rdparty/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -DMSHADOW_USE_F16C=0 -I/opt/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv4 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_LAPACK -DMSHADOW_USE_CUDNN=1 -I/home/fabio/.cache/pikaur/build/mxnet/src/incubator-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0" -M -MT build/src/operator/nn/cudnn/cudnn_batch_norm_gpu.o src/operator/nn/cudnn/cudnn_batch_norm.cu >build/src/operator/nn/cudnn/cudnn_batch_norm_gpu.d In file included from /opt/cuda/include/cuda_runtime.h:83, from <command-line>:

/opt/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported! 129 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!

vuvko commented on 2018-12-04 10:50 (UTC) (edited on 2018-12-04 10:59 (UTC) by vuvko)

As opencv4 renamed it's package name for pkg-config from opencv to opencv4 current version cannot be built.

Upd: seems changes in opencv API prevent mxnet from building. I'm getting errors about undefined constants:

tools/im2rec.cc: In function ‘int main(int, char**)’: tools/im2rec.cc:88:20: error: ‘CV_LOAD_IMAGE_COLOR’ was not declared in this scope int color_mode = CV_LOAD_IMAGE_COLOR; ^~~~~~~~~~~~~~~~~~~ tools/im2rec.cc:88:20: note: suggested alternative: ‘CV_HAL_DFT_STAGE_COLS’ int color_mode = CV_LOAD_IMAGE_COLOR; ^~~~~~~~~~~~~~~~~~~ CV_HAL_DFT_STAGE_COLS tools/im2rec.cc:90:22: error: ‘CV_INTER_LINEAR’ was not declared in this scope int inter_method = CV_INTER_LINEAR; ^~~~~~~~~~~~~~~ tools/im2rec.cc:90:22: note: suggested alternative: ‘CV_INLINE’ int inter_method = CV_INTER_LINEAR; ^~~~~~~~~~~~~~~ CV_INLINE tools/im2rec.cc:195:31: error: ‘CV_IMWRITE_PNG_COMPRESSION’ was not declared in this scope encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~ tools/im2rec.cc:199:31: error: ‘CV_IMWRITE_JPEG_QUALITY’ was not declared in this scope encode_params.push_back(CV_IMWRITE_JPEG_QUALITY); ^~~~~~~~~~~~~~~~~~~~~~~

nextAaron commented on 2018-11-14 19:20 (UTC)

@petronny

I had the same problem but my patch is different:

diff --git a/src/operator/nn/cudnn/cudnn_algoreg.cc b/src/operator/nn/cudnn/cudnn_algoreg.cc index 26b3484eb..1162c0a3f 100644 --- a/src/operator/nn/cudnn/cudnn_algoreg.cc +++ b/src/operator/nn/cudnn/cudnn_algoreg.cc @@ -23,9 +23,9 @@ * \brief * \author Junyuan Xie */ -#include "./cudnn_algoreg-inl.h" #include <mxnet/base.h> #include <mxnet/ndarray.h> +#include "./cudnn_algoreg-inl.h"

#include <sstream> #include <unordered_map>

petronny commented on 2018-11-14 04:00 (UTC) (edited on 2018-11-14 04:01 (UTC) by petronny)

@nextAaron When I'm building v1.3.0, it raises some errors around the CUDA_CALL stuff.
But the git master branch builds successfully.
And there is only one commit changed that file after v1.3.0.
So I extracted this patch from that commit and named it cuda_call.patch.

I agree that it's not a good choice for the patch's name...
Any suggestions?

nextAaron commented on 2018-11-14 01:33 (UTC)

What's cuda_call.patch for?

petronny commented on 2018-11-09 06:33 (UTC)

@vuvko Thanks for pointing it out. Fixed now.

vuvko commented on 2018-06-28 12:08 (UTC)

Why package version is not used when cloning repository? Or is package versioning different from mxnet?

sl1pkn07 commented on 2018-04-28 17:09 (UTC)

about python:

https://github.com/apache/incubator-mxnet/issues/8569

sl1pkn07 commented on 2018-04-22 21:17 (UTC) (edited on 2018-04-23 18:10 (UTC) by sl1pkn07)

https://pastebin.com/pmDm6AXZ

any help?

EDIT (https://github.com/apache/incubator-mxnet/issues/10558) ok, with USE_F16C=0 seems workground the error (or -DCOMPILER_SUPPORT_MF16C=OFF if use cmake)

and test the python part, same fail (coredump) like other users, tested with cmake or make