@zottelef Do you have the latest cuda installed?
Search Criteria
Package Details: mxnet 1.7.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/mxnet.git (read-only, click to copy) |
---|---|
Package Base: | mxnet |
Description: | Flexible and Efficient Library for Deep Learning |
Upstream URL: | https://mxnet.apache.org/ |
Keywords: | deep_learning deep_neural_networks distributed_systems machine_learning |
Licenses: | Apache |
Submitter: | Godisemo |
Maintainer: | None |
Last Packager: | petronny |
Votes: | 12 |
Popularity: | 0.000000 |
First Submitted: | 2017-02-11 00:12 (UTC) |
Last Updated: | 2020-12-12 11:17 (UTC) |
Dependencies (24)
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blis-gitAUR, blisAUR, openblas-lapackAUR, blas-mklAUR, aocl-blisAUR, blas-openblas)
- double-conversion (double-conversion-gitAUR)
- hdf5 (hdf5-gitAUR, hdf5-openmpi)
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, openblas-lapackAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- opencv (opencv-cuda)
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- python-requests
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blis-gitAUR, blisAUR, openblas-lapackAUR, blas-mklAUR, aocl-blisAUR, blas-openblas) (make)
- ccache (ccache-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (make)
- cudnn (make)
- cython (cython-gitAUR, cython0AUR) (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- intel-mkl (intel-oneapi-mkl) (make)
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, openblas-lapackAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas) (make)
- nccl (nccl-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- onednn (onednn-gitAUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- python-graphviz (optional)
Required by (7)
- python-d2l (optional)
- python-gluoncv
- python-gluonnlp
- python-mxboard
- python-onnx-tensorflow (optional)
- python-tensorly (optional)
- vapoursynth-plugin-vsmxnet-git
Sources (15)
- git+https://github.com/agauniyal/rang
- git+https://github.com/dmlc/dlpack
- git+https://github.com/dmlc/dmlc-core
- git+https://github.com/dmlc/ps-lite
- git+https://github.com/dmlc/tvm
- git+https://github.com/google/benchmark.git
- git+https://github.com/google/googletest
- git+https://github.com/llvm-mirror/openmp
- git+https://github.com/onnx/onnx
- git+https://github.com/onnx/onnx-tensorrt
- git+https://github.com/pybind/pybind11.git
- git+https://github.com/wjakob/clang-cindex-python3
- mkldnn
- mxnet
- nvidia_cub
petronny commented on 2019-06-18 05:08 (UTC)
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:
sl1pkn07 commented on 2018-04-22 21:17 (UTC) (edited on 2018-04-23 18:10 (UTC) by sl1pkn07)
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
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.