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: petronny
Last Packager: petronny
Votes: 9
Popularity: 0.008199
First Submitted: 2017-02-11 00:12
Last Updated: 2020-01-14 06:05

Packages (3)

Pinned Comments

petronny commented on 2019-06-21 08:00

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-21 07:58

@zottelef I'll try but since I never used R before, so I can't guarantee anything.

And I'm currently working on gcc8 so I'll start trying 2 weeks later.

zottelef commented on 2019-06-21 07:46

@petronny is it possible to include the compilation of the R package too? https://mxnet-tqchen.readthedocs.io/en/latest/how_to/build.html#r-package-installation

zottelef commented on 2019-06-18 13:23

@petronny it compiled perfectly. Thanks

petronny commented on 2019-06-18 08:12

@zottelef You are using gcc 9.1.0-1 in the testing repository. You have to install gcc 8.3.0-1 in the core repository or install gcc7 from AUR and manually set CC to gcc-7 and CXX to g++-7 in PKGBUILD.

zottelef commented on 2019-06-18 08:08

@petronny. Yes. I update cuda today (cuda 10.1.168-2, for example NVIDIA (R) CUDA Debugger is 10.1 release), tried to install mxnet right now but the error remains the same: gcc version 9.1.0 (GCC)

petronny commented on 2019-06-18 05:08

@zottelef Do you have the latest cuda installed?

zottelef commented on 2019-06-17 09:29

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

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

@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

@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?